Class Document
java.lang.Object
com.priint.pubserver.plannerapi.resource.PlannerApiResource
com.priint.pubserver.plannerapi.resource.Document
- All Implemented Interfaces:
Serializable
Class representing a document in Planner REST Service.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDocument()Document(String id, String label, String label2, String handlingkey, String description, String foreignsystemkey, String createdby, Date createdon, String updatedby, Date updatedon, String publicationid, int sort, boolean active, String containerId, boolean deleted, boolean masterDocument, String sourceDocumentID, String masterpage) Document(String id, String label, String label2, String handlingkey, String description, String foreignsystemkey, String createdby, Date createdon, String updatedby, Date updatedon, String publicationid, int sort, boolean active, String containerId, boolean deleted, boolean masterDocument, String sourceDocumentID, String masterpage, String statusId) -
Method Summary
Modifier and TypeMethodDescriptioncontainer ID of the Documentuser who created the Documentdate of creation of the Documentdescription of the Documentforeignsystemkey of the Documenthandlingkey of the DocumentgetId()id of the DocumentgetLabel()label of the Documentlabel2 of the DocumentgetLinks()links of the Documentmaster page of the Documentpublication (ID) which contains the DocumentintgetSort()sort order of the Documentsource document (ID) of the Documentstatus ID of the Documentlast person who updated the Documentdate of last update of the DocumentbooleanisActive()flag determining if Document is activebooleanflag determining whether Document is deletedbooleanflag determining whether the Document is a master documentvoidsetActive(boolean active) voidsetContainerId(String containerId) voidsetCreatedby(String createdby) voidsetCreatedon(Date createdon) voidsetDeleted(boolean deleted) voidsetDescription(String description) voidsetDocumentStage(DocumentStage documentStage) voidsetForeignsystemkey(String foreignsystemkey) voidsetHandlingkey(String handlingkey) voidvoidvoidvoidsetMasterDocument(boolean masterDocument) voidsetMasterpage(String masterpage) voidsetPublicationid(String publicationid) voidsetSort(int sort) voidsetSourcedocumentid(String sourcedocumentid) voidsetStatusId(String statusId) voidsetUpdatedby(String updatedby) voidsetUpdatedon(Date updatedon) Methods inherited from class com.priint.pubserver.plannerapi.resource.PlannerApiResource
getStatuscode, getStatusmessage, setStatuscode, setStatusmessage
-
Constructor Details
-
Document
public Document() -
Document
public Document(String id, String label, String label2, String handlingkey, String description, String foreignsystemkey, String createdby, Date createdon, String updatedby, Date updatedon, String publicationid, int sort, boolean active, String containerId, boolean deleted, boolean masterDocument, String sourceDocumentID, String masterpage, String statusId) -
Document
public Document(String id, String label, String label2, String handlingkey, String description, String foreignsystemkey, String createdby, Date createdon, String updatedby, Date updatedon, String publicationid, int sort, boolean active, String containerId, boolean deleted, boolean masterDocument, String sourceDocumentID, String masterpage)
-
-
Method Details
-
getSourcedocumentid
source document (ID) of the Document -
setSourcedocumentid
-
getMasterpage
master page of the Document -
setMasterpage
-
getLabel2
label2 of the Document -
setLabel2
-
getPublicationid
publication (ID) which contains the Document -
setPublicationid
-
getId
id of the Document -
setId
-
getLabel
label of the Document -
setLabel
-
getHandlingkey
handlingkey of the Document -
setHandlingkey
-
getDescription
description of the Document -
setDescription
-
getForeignsystemkey
foreignsystemkey of the Document -
setForeignsystemkey
-
getCreatedby
user who created the Document -
setCreatedby
-
getCreatedon
date of creation of the Document -
setCreatedon
-
getUpdatedby
last person who updated the Document -
setUpdatedby
-
getUpdatedon
date of last update of the Document -
setUpdatedon
-
getSort
public int getSort()sort order of the Document -
setSort
public void setSort(int sort) -
isActive
public boolean isActive()flag determining if Document is active -
setActive
public void setActive(boolean active) -
getContainerId
container ID of the Document -
setContainerId
-
isDeleted
public boolean isDeleted()flag determining whether Document is deleted -
setDeleted
public void setDeleted(boolean deleted) -
isMasterDocument
public boolean isMasterDocument()flag determining whether the Document is a master document -
setMasterDocument
public void setMasterDocument(boolean masterDocument) -
getLinks
links of the Document -
getStatusId
status ID of the Document -
setStatusId
-
getDocumentStage
-
setDocumentStage
-