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:
  • Field Details

  • Constructor Details

    • Subscription

      public Subscription()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • 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)