Class Publication
java.lang.Object
com.priint.pubserver.plannerapi.resource.PlannerApiResource
com.priint.pubserver.plannerapi.resource.Publication
- All Implemented Interfaces:
Serializable
Class representing a publication in Planner REST Service.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPublication(String id, String label, String description, int sort, String publicationid, String foreignsystemkey, String publicationtypeid, String placeholderhistory, String createdby, Date createdon, String updatedby, Date updatedon, boolean active, boolean deleted, String statusId) -
Method Summary
Modifier and TypeMethodDescriptionperson who created the Publicationdate of creation of the Publicationdescription of the Publicationforeign key if publication comes from outer systemgetId()publication IDgetLabel()label of the PublicationgetLinks()links of the Publication1 placeholder history supported, 2 - no supportedID of parent publication, 0 for root publicationID of publication typeintgetSort()sort order of the PublicationID of statuslast person who updated the Publicationdate of last update of the PublicationbooleanisActive()flag determining whether Publication is activebooleanif false publication is ignoredvoidsetActive(boolean active) voidsetCreatedby(String createdby) voidsetCreatedon(Date createdon) voidsetDeleted(boolean deleted) voidsetDescription(String description) voidsetForeignsystemkey(String foreignsystemkey) voidvoidvoidsetPlaceholderHistory(String placeholderhistory) voidsetPublicationId(String publicationid) voidsetPublicationtypeId(String publicationtypeid) voidsetSort(int sort) 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
-
Publication
public Publication() -
Publication
-
-
Method Details
-
getId
publication ID -
setId
-
getLabel
label of the Publication -
setLabel
-
getDescription
description of the Publication -
setDescription
-
getSort
public int getSort()sort order of the Publication -
setSort
public void setSort(int sort) -
getPublicationId
ID of parent publication, 0 for root publication -
setPublicationId
-
getForeignsystemkey
foreign key if publication comes from outer system -
setForeignsystemkey
-
getPublicationtypeId
ID of publication type -
setPublicationtypeId
-
getPlaceholderHistory
1 placeholder history supported, 2 - no supported -
setPlaceholderHistory
-
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
ID of status -
setStatusId
-
getCreatedby
person who created the Publication -
setCreatedby
-
getCreatedon
date of creation of the Publication -
setCreatedon
-
getUpdatedby
last person who updated the Publication -
setUpdatedby
-
getUpdatedon
date of last update of the Publication -
setUpdatedon
-
getLinks
links of the Publication
-