Class Bookmark

java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.document.Bookmark
All Implemented Interfaces:
Serializable

public class Bookmark extends PersistentObject
A bookmark over a document
Since:
5.2
Author:
Matteo Caruso - LogicalDOC
See Also:
  • Field Details

  • Constructor Details

    • Bookmark

      public Bookmark()
  • Method Details

    • getUserId

      public long getUserId()
    • setUserId

      public void setUserId(long userId)
    • getTargetId

      public long getTargetId()
    • setTargetId

      public void setTargetId(long targetId)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getPosition

      public int getPosition()
    • setPosition

      public void setPosition(int position)
    • getFileType

      public String getFileType()
    • setFileType

      public void setFileType(String fileType)
    • getIcon

      public String getIcon()
      The icon for the document associated to the subscription
      Returns:
      name of the icon file
    • getPath

      public String getPath()
      The path of the document associated to the bookmark.
      Returns:
      full path to the document
    • getType

      public int getType()
    • setType

      public void setType(int type)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PersistentObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PersistentObject