Class Document
- java.lang.Object
-
- com.priint.pubserver.plannerapi.resource.PlannerApiResource
-
- com.priint.pubserver.plannerapi.resource.Document
-
- All Implemented Interfaces:
java.io.Serializable
public class Document extends PlannerApiResource implements java.io.Serializable
Class representing a document in Planner REST Service.- See Also:
PlannerApiResource, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Document()Document(java.lang.String id, java.lang.String label, java.lang.String label2, java.lang.String handlingkey, java.lang.String description, java.lang.String foreignsystemkey, java.lang.String createdby, java.util.Date createdon, java.lang.String updatedby, java.util.Date updatedon, java.lang.String publicationid, int sort, boolean active, java.lang.String containerId, boolean deleted, boolean masterDocument, java.lang.String sourceDocumentID, java.lang.String masterpage)Document(java.lang.String id, java.lang.String label, java.lang.String label2, java.lang.String handlingkey, java.lang.String description, java.lang.String foreignsystemkey, java.lang.String createdby, java.util.Date createdon, java.lang.String updatedby, java.util.Date updatedon, java.lang.String publicationid, int sort, boolean active, java.lang.String containerId, boolean deleted, boolean masterDocument, java.lang.String sourceDocumentID, java.lang.String masterpage, java.lang.String statusId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContainerId()container ID of the Documentjava.lang.StringgetCreatedby()user who created the Documentjava.util.DategetCreatedon()date of creation of the Documentjava.lang.StringgetDescription()description of the DocumentDocumentStagegetDocumentStage()java.lang.StringgetForeignsystemkey()foreignsystemkey of the Documentjava.lang.StringgetHandlingkey()handlingkey of the Documentjava.lang.StringgetId()id of the Documentjava.lang.StringgetLabel()label of the Documentjava.lang.StringgetLabel2()label2 of the Documentjava.util.List<Link>getLinks()links of the Documentjava.lang.StringgetMasterpage()master page of the Documentjava.lang.StringgetPublicationid()publication (ID) which contains the DocumentintgetSort()sort order of the Documentjava.lang.StringgetSourcedocumentid()source document (ID) of the Documentjava.lang.StringgetStatusId()status ID of the Documentjava.lang.StringgetUpdatedby()last person who updated the Documentjava.util.DategetUpdatedon()date of last update of the DocumentbooleanisActive()flag determining if Document is activebooleanisDeleted()flag determining whether Document is deletedbooleanisMasterDocument()flag determining whether the Document is a master documentvoidsetActive(boolean active)voidsetContainerId(java.lang.String containerId)voidsetCreatedby(java.lang.String createdby)voidsetCreatedon(java.util.Date createdon)voidsetDeleted(boolean deleted)voidsetDescription(java.lang.String description)voidsetDocumentStage(DocumentStage documentStage)voidsetForeignsystemkey(java.lang.String foreignsystemkey)voidsetHandlingkey(java.lang.String handlingkey)voidsetId(java.lang.String id)voidsetLabel(java.lang.String label)voidsetLabel2(java.lang.String label2)voidsetMasterDocument(boolean masterDocument)voidsetMasterpage(java.lang.String masterpage)voidsetPublicationid(java.lang.String publicationid)voidsetSort(int sort)voidsetSourcedocumentid(java.lang.String sourcedocumentid)voidsetStatusId(java.lang.String statusId)voidsetUpdatedby(java.lang.String updatedby)voidsetUpdatedon(java.util.Date updatedon)-
Methods inherited from class com.priint.pubserver.plannerapi.resource.PlannerApiResource
getStatuscode, getStatusmessage, setStatuscode, setStatusmessage
-
-
-
-
Constructor Detail
-
Document
public Document()
-
Document
public Document(java.lang.String id, java.lang.String label, java.lang.String label2, java.lang.String handlingkey, java.lang.String description, java.lang.String foreignsystemkey, java.lang.String createdby, java.util.Date createdon, java.lang.String updatedby, java.util.Date updatedon, java.lang.String publicationid, int sort, boolean active, java.lang.String containerId, boolean deleted, boolean masterDocument, java.lang.String sourceDocumentID, java.lang.String masterpage, java.lang.String statusId)
-
Document
public Document(java.lang.String id, java.lang.String label, java.lang.String label2, java.lang.String handlingkey, java.lang.String description, java.lang.String foreignsystemkey, java.lang.String createdby, java.util.Date createdon, java.lang.String updatedby, java.util.Date updatedon, java.lang.String publicationid, int sort, boolean active, java.lang.String containerId, boolean deleted, boolean masterDocument, java.lang.String sourceDocumentID, java.lang.String masterpage)
-
-
Method Detail
-
getSourcedocumentid
public java.lang.String getSourcedocumentid()
source document (ID) of the Document
-
setSourcedocumentid
public void setSourcedocumentid(java.lang.String sourcedocumentid)
-
getMasterpage
public java.lang.String getMasterpage()
master page of the Document
-
setMasterpage
public void setMasterpage(java.lang.String masterpage)
-
getLabel2
public java.lang.String getLabel2()
label2 of the Document
-
setLabel2
public void setLabel2(java.lang.String label2)
-
getPublicationid
public java.lang.String getPublicationid()
publication (ID) which contains the Document
-
setPublicationid
public void setPublicationid(java.lang.String publicationid)
-
getId
public java.lang.String getId()
id of the Document
-
setId
public void setId(java.lang.String id)
-
getLabel
public java.lang.String getLabel()
label of the Document
-
setLabel
public void setLabel(java.lang.String label)
-
getHandlingkey
public java.lang.String getHandlingkey()
handlingkey of the Document
-
setHandlingkey
public void setHandlingkey(java.lang.String handlingkey)
-
getDescription
public java.lang.String getDescription()
description of the Document
-
setDescription
public void setDescription(java.lang.String description)
-
getForeignsystemkey
public java.lang.String getForeignsystemkey()
foreignsystemkey of the Document
-
setForeignsystemkey
public void setForeignsystemkey(java.lang.String foreignsystemkey)
-
getCreatedby
public java.lang.String getCreatedby()
user who created the Document
-
setCreatedby
public void setCreatedby(java.lang.String createdby)
-
getCreatedon
public java.util.Date getCreatedon()
date of creation of the Document
-
setCreatedon
public void setCreatedon(java.util.Date createdon)
-
getUpdatedby
public java.lang.String getUpdatedby()
last person who updated the Document
-
setUpdatedby
public void setUpdatedby(java.lang.String updatedby)
-
getUpdatedon
public java.util.Date getUpdatedon()
date of last update of the Document
-
setUpdatedon
public void setUpdatedon(java.util.Date updatedon)
-
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
public java.lang.String getContainerId()
container ID of the Document
-
setContainerId
public void setContainerId(java.lang.String containerId)
-
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
public java.util.List<Link> getLinks()
links of the Document
-
getStatusId
public java.lang.String getStatusId()
status ID of the Document
-
setStatusId
public void setStatusId(java.lang.String statusId)
-
getDocumentStage
public DocumentStage getDocumentStage()
-
setDocumentStage
public void setDocumentStage(DocumentStage documentStage)
-
-