Class PublicationItem
java.lang.Object
com.priint.pubserverapi.publication.PublicationItem
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getLabel()getType()booleanvoidsetDeleted(boolean deleted) voidvoidvoidsetParentId(String parentId) voidsetType(PublicationItemType type)
-
Constructor Details
-
PublicationItem
public PublicationItem()
-
-
Method Details
-
getId
-
setId
-
getType
-
setType
-
getLabel
-
setLabel
-
getParentId
- Returns:
- id of the publication or folder that contains the item, "0" for a publication at the top level
-
setParentId
-
isDeleted
public boolean isDeleted()- Returns:
- true when the item is in the trash
-
setDeleted
public void setDeleted(boolean deleted)
-