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 int
OPTION_FOLDER_FOLDERONLY
static int
OPTION_FOLDER_WITHSUBFOLDERS
static String
TYPE_DOCUMENT
static String
TYPE_FOLDER
-
Constructor Summary
Constructors Constructor Description Subscription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreation()
String
getDescription()
String
getEvents()
String
getFileType()
int
getFolderOption()
String
getIcon()
The icon for the document associated to the subscriptionString
getName()
long
getObjectId()
String
getType()
long
getUserId()
String
getUsername()
void
setCreation(Date creation)
void
setDescription(String description)
void
setEvents(String events)
void
setFileType(String fileType)
void
setFolderOption(int folderOption)
void
setName(String name)
void
setObjectId(long objectId)
void
setType(String type)
void
setUserId(long userId)
void
setUsername(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)
-
-