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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final String
static final String
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
int
getIcon()
The icon for the document associated to the subscriptiongetName()
long
getType()
long
void
void
setCreation
(Date creation) void
setDescription
(String description) void
void
setFileType
(String fileType) void
setFolderOption
(int folderOption) void
void
setObjectId
(long objectId) void
void
setUserId
(long userId) void
setUsername
(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
- See Also:
-
TYPE_FOLDER
- See Also:
-
OPTION_FOLDER_FOLDERONLY
public static final int OPTION_FOLDER_FOLDERONLY- See Also:
-
OPTION_FOLDER_WITHSUBFOLDERS
public static final int OPTION_FOLDER_WITHSUBFOLDERS- See Also:
-
-
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
-