Package com.logicaldoc.audit
Class Subscription
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.audit.Subscription
- All Implemented Interfaces:
Serializable
This class represents subscriptions. Each subscription can be associated to a
document or to a folder.
- Since:
- 5.0
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
-
Field Summary
FieldsFields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()intgetIcon()The icon for the document associated to the subscriptiongetName()longgetType()longvoidvoidsetCreation(Date creation) voidsetDescription(String description) voidvoidsetFileType(String fileType) voidsetFolderOption(int folderOption) voidvoidsetObjectId(long objectId) voidvoidsetUserId(long userId) voidsetUsername(String username) Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Field Details
-
TYPE_DOCUMENT
-
TYPE_FOLDER
-
OPTION_FOLDER_FOLDERONLY
public static int OPTION_FOLDER_FOLDERONLY -
OPTION_FOLDER_WITHSUBFOLDERS
public static int OPTION_FOLDER_WITHSUBFOLDERS
-
-
Constructor Details
-
Subscription
public Subscription()
-
-
Method Details
-
getName
-
setName
-
getDescription
-
setDescription
-
getCreation
-
setCreation
-
getUserId
public long getUserId() -
setUserId
public void setUserId(long userId) -
getUsername
-
setUsername
-
getType
-
setType
-
getFolderOption
public int getFolderOption() -
setFolderOption
public void setFolderOption(int folderOption) -
getObjectId
public long getObjectId() -
setObjectId
public void setObjectId(long objectId) -
getFileType
-
setFileType
-
getIcon
The icon for the document associated to the subscription- Returns:
- filename of the icon
-
getEvents
-
setEvents
-
getColor
-
setColor
-