Class PublicationItem

java.lang.Object
com.priint.pubserverapi.publication.PublicationItem

public class PublicationItem extends Object
A publication, folder or document as it appears in the publication tree, read with a PublicationItemQuery.

The label is the one users see: for a document that is its display name, not the name of its file.

  • Constructor Details

    • PublicationItem

      public PublicationItem()
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getType

      public PublicationItemType getType()
    • setType

      public void setType(PublicationItemType type)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getParentId

      public String getParentId()
      Returns:
      id of the publication or folder that contains the item, "0" for a publication at the top level
    • setParentId

      public void setParentId(String parentId)
    • isDeleted

      public boolean isDeleted()
      Returns:
      true when the item is in the trash
    • setDeleted

      public void setDeleted(boolean deleted)