Package com.logicaldoc.audit
Class Subscription
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.audit.Subscription
-
- All Implemented Interfaces:
Serializable
public class Subscription extends com.logicaldoc.core.PersistentObject implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intOPTION_FOLDER_FOLDERONLYstatic intOPTION_FOLDER_WITHSUBFOLDERSstatic StringTYPE_DOCUMENTstatic StringTYPE_FOLDER
-
Constructor Summary
Constructors Constructor Description Subscription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColor()DategetCreation()StringgetDescription()StringgetEvents()StringgetFileType()intgetFolderOption()StringgetIcon()The icon for the document associated to the subscriptionStringgetName()longgetObjectId()StringgetType()longgetUserId()StringgetUsername()voidsetColor(String color)voidsetCreation(Date creation)voidsetDescription(String description)voidsetEvents(String events)voidsetFileType(String fileType)voidsetFolderOption(int folderOption)voidsetName(String name)voidsetObjectId(long objectId)voidsetType(String type)voidsetUserId(long userId)voidsetUsername(String username)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getCreation
public Date getCreation()
-
setCreation
public void setCreation(Date creation)
-
getUserId
public long getUserId()
-
setUserId
public void setUserId(long userId)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getFolderOption
public int getFolderOption()
-
setFolderOption
public void setFolderOption(int folderOption)
-
getObjectId
public long getObjectId()
-
setObjectId
public void setObjectId(long objectId)
-
getFileType
public String getFileType()
-
setFileType
public void setFileType(String fileType)
-
getIcon
public String getIcon()
The icon for the document associated to the subscription- Returns:
- filename of the icon
-
getEvents
public String getEvents()
-
setEvents
public void setEvents(String events)
-
getColor
public String getColor()
-
setColor
public void setColor(String color)
-
-