Class Publication
- java.lang.Object
-
- com.priint.pubserver.plannerapi.resource.PlannerApiResource
-
- com.priint.pubserver.plannerapi.resource.Publication
-
- All Implemented Interfaces:
java.io.Serializable
public class Publication extends PlannerApiResource implements java.io.Serializable
Class representing a publication in Planner REST Service.- See Also:
PlannerApiResource, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Publication()Publication(java.lang.String id, java.lang.String label, java.lang.String description, int sort, java.lang.String publicationid, java.lang.String foreignsystemkey, java.lang.String publicationtypeid, java.lang.String placeholderhistory, java.lang.String createdby, java.util.Date createdon, java.lang.String updatedby, java.util.Date updatedon, boolean active, boolean deleted, java.lang.String statusId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCreatedby()person who created the Publicationjava.util.DategetCreatedon()date of creation of the Publicationjava.lang.StringgetDescription()description of the Publicationjava.lang.StringgetForeignsystemkey()foreign key if publication comes from outer systemjava.lang.StringgetId()publication IDjava.lang.StringgetLabel()label of the Publicationjava.util.List<Link>getLinks()links of the Publicationjava.lang.StringgetPlaceholderHistory()1 placeholder history supported, 2 - no supportedjava.lang.StringgetPublicationId()ID of parent publication, 0 for root publicationjava.lang.StringgetPublicationtypeId()ID of publication typeintgetSort()sort order of the Publicationjava.lang.StringgetStatusId()ID of statusjava.lang.StringgetUpdatedby()last person who updated the Publicationjava.util.DategetUpdatedon()date of last update of the PublicationbooleanisActive()flag determining whether Publication is activebooleanisDeleted()if false publication is ignoredvoidsetActive(boolean active)voidsetCreatedby(java.lang.String createdby)voidsetCreatedon(java.util.Date createdon)voidsetDeleted(boolean deleted)voidsetDescription(java.lang.String description)voidsetForeignsystemkey(java.lang.String foreignsystemkey)voidsetId(java.lang.String id)voidsetLabel(java.lang.String label)voidsetPlaceholderHistory(java.lang.String placeholderhistory)voidsetPublicationId(java.lang.String publicationid)voidsetPublicationtypeId(java.lang.String publicationtypeid)voidsetSort(int sort)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
-
Publication
public Publication()
-
Publication
public Publication(java.lang.String id, java.lang.String label, java.lang.String description, int sort, java.lang.String publicationid, java.lang.String foreignsystemkey, java.lang.String publicationtypeid, java.lang.String placeholderhistory, java.lang.String createdby, java.util.Date createdon, java.lang.String updatedby, java.util.Date updatedon, boolean active, boolean deleted, java.lang.String statusId)
-
-
Method Detail
-
getId
public java.lang.String getId()
publication ID
-
setId
public void setId(java.lang.String id)
-
getLabel
public java.lang.String getLabel()
label of the Publication
-
setLabel
public void setLabel(java.lang.String label)
-
getDescription
public java.lang.String getDescription()
description of the Publication
-
setDescription
public void setDescription(java.lang.String description)
-
getSort
public int getSort()
sort order of the Publication
-
setSort
public void setSort(int sort)
-
getPublicationId
public java.lang.String getPublicationId()
ID of parent publication, 0 for root publication
-
setPublicationId
public void setPublicationId(java.lang.String publicationid)
-
getForeignsystemkey
public java.lang.String getForeignsystemkey()
foreign key if publication comes from outer system
-
setForeignsystemkey
public void setForeignsystemkey(java.lang.String foreignsystemkey)
-
getPublicationtypeId
public java.lang.String getPublicationtypeId()
ID of publication type
-
setPublicationtypeId
public void setPublicationtypeId(java.lang.String publicationtypeid)
-
getPlaceholderHistory
public java.lang.String getPlaceholderHistory()
1 placeholder history supported, 2 - no supported
-
setPlaceholderHistory
public void setPlaceholderHistory(java.lang.String placeholderhistory)
-
isActive
public boolean isActive()
flag determining whether Publication is active
-
setActive
public void setActive(boolean active)
-
isDeleted
public boolean isDeleted()
if false publication is ignored
-
setDeleted
public void setDeleted(boolean deleted)
-
getStatusId
public java.lang.String getStatusId()
ID of status
-
setStatusId
public void setStatusId(java.lang.String statusId)
-
getCreatedby
public java.lang.String getCreatedby()
person who created the Publication
-
setCreatedby
public void setCreatedby(java.lang.String createdby)
-
getCreatedon
public java.util.Date getCreatedon()
date of creation of the Publication
-
setCreatedon
public void setCreatedon(java.util.Date createdon)
-
getUpdatedby
public java.lang.String getUpdatedby()
last person who updated the Publication
-
setUpdatedby
public void setUpdatedby(java.lang.String updatedby)
-
getUpdatedon
public java.util.Date getUpdatedon()
date of last update of the Publication
-
setUpdatedon
public void setUpdatedon(java.util.Date updatedon)
-
getLinks
public java.util.List<Link> getLinks()
links of the Publication
-
-