Class GUIFolder
- java.lang.Object
-
- com.logicaldoc.gui.common.client.beans.GUIExtensibleObject
-
- com.logicaldoc.gui.common.client.beans.GUIFolder
-
- All Implemented Interfaces:
Serializable
public class GUIFolder extends GUIExtensibleObject implements Serializable
Represents a folder from the GUI view- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_ALIAS
static int
TYPE_DEFAULT
static int
TYPE_WORKSPACE
-
Method Summary
-
Methods inherited from class com.logicaldoc.gui.common.client.beans.GUIExtensibleObject
addAttribute, addAttributeValue, getAttribute, getAttributes, getTemplate, getTemplateId, getValue, getValues, putAttributeAfter, removeAttribute, setAttributes, setTemplate, setTemplateId, setValue, shiftValue, sortAttributes
-
-
-
-
Field Detail
-
TYPE_ALIAS
public static final int TYPE_ALIAS
- See Also:
- Constant Field Values
-
TYPE_WORKSPACE
public static final int TYPE_WORKSPACE
- See Also:
- Constant Field Values
-
TYPE_DEFAULT
public static final int TYPE_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isWorkspace
public boolean isWorkspace()
-
isDefaultWorkspace
public boolean isDefaultWorkspace()
-
getId
public long getId()
-
setId
public void setId(long id)
-
getPermissions
public String[] getPermissions()
-
setPermissions
public void setPermissions(String[] permissions)
-
isWrite
public boolean isWrite()
-
isDownload
public boolean isDownload()
-
isMove
public boolean isMove()
-
isDelete
public boolean isDelete()
-
isRename
public boolean isRename()
-
hasPermission
public boolean hasPermission(String permission)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getPathExtended
public String getPathExtended()
-
setPathExtended
public void setPathExtended(String pathExtended)
-
getRights
public GUIRight[] getRights()
-
setRights
public void setRights(GUIRight[] rights)
-
getParentId
public long getParentId()
-
setParentId
public void setParentId(long parentId)
-
getPath
public GUIFolder[] getPath()
-
setPath
public void setPath(GUIFolder[] path)
-
getParent
public GUIFolder getParent()
-
getCreator
public String getCreator()
-
setCreator
public void setCreator(String creator)
-
getCreatorId
public Long getCreatorId()
-
setCreatorId
public void setCreatorId(Long creatorId)
-
getCreation
public Date getCreation()
-
setCreation
public void setCreation(Date creation)
-
getDocumentCount
public int getDocumentCount()
-
setDocumentCount
public void setDocumentCount(int documentCount)
-
getSubfolderCount
public int getSubfolderCount()
-
setSubfolderCount
public void setSubfolderCount(int subfolderCount)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getTemplateLocked
public int getTemplateLocked()
-
setTemplateLocked
public void setTemplateLocked(int templateLocked)
-
getSecurityRef
public GUIFolder getSecurityRef()
-
setSecurityRef
public void setSecurityRef(GUIFolder securityRef)
-
getPosition
public int getPosition()
-
setPosition
public void setPosition(int position)
-
getQuotaDocs
public Long getQuotaDocs()
-
setQuotaDocs
public void setQuotaDocs(Long quotaDocs)
-
getQuotaSize
public Long getQuotaSize()
-
setQuotaSize
public void setQuotaSize(Long quotaSize)
-
getDocumentsTotal
public long getDocumentsTotal()
-
setDocumentsTotal
public void setDocumentsTotal(long documentsTotal)
-
getSizeTotal
public long getSizeTotal()
-
setSizeTotal
public void setSizeTotal(long sizeTotal)
-
getFoldRef
public Long getFoldRef()
-
setFoldRef
public void setFoldRef(Long foldRef)
-
getStorage
public Integer getStorage()
-
setStorage
public void setStorage(Integer storage)
-
getMaxVersions
public Integer getMaxVersions()
-
setMaxVersions
public void setMaxVersions(Integer maxVersions)
-
getColor
public String getColor()
-
setColor
public void setColor(String color)
-
getTags
public String[] getTags()
-
setTags
public void setTags(String[] tags)
-
addTag
public void addTag(String tag)
-
removeTag
public void removeTag(String tag)
-
getTagsString
public String getTagsString()
-
setTagsString
public void setTagsString(String tagsString)
-
getQuotaThreshold
public Integer getQuotaThreshold()
-
setQuotaThreshold
public void setQuotaThreshold(Integer quotaThreshold)
-
getQuotaAlertRecipients
public String[] getQuotaAlertRecipients()
-
getQuotaAlertRecipientsAsString
public String getQuotaAlertRecipientsAsString()
-
setQuotaAlertRecipients
public void setQuotaAlertRecipients(String[] quotaAlertRecipients)
-
clearQuotaAlertRecipients
public void clearQuotaAlertRecipients()
-
addQuotaAlertRecipient
public void addQuotaAlertRecipient(String recipient)
-
removeQuotaAlertRecipient
public void removeQuotaAlertRecipient(String recipient)
-
-