Class Publication

java.lang.Object
com.priint.pubserver.plannerapi.resource.PlannerApiResource
com.priint.pubserver.plannerapi.resource.Publication
All Implemented Interfaces:
Serializable

public class Publication extends PlannerApiResource implements Serializable
Class representing a publication in Planner REST Service.
See Also:
  • Constructor Details

    • Publication

      public Publication()
    • Publication

      public Publication(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 Details

    • getId

      public String getId()
      publication ID
    • setId

      public void setId(String id)
    • getLabel

      public String getLabel()
      label of the Publication
    • setLabel

      public void setLabel(String label)
    • getDescription

      public String getDescription()
      description of the Publication
    • setDescription

      public void setDescription(String description)
    • getSort

      public int getSort()
      sort order of the Publication
    • setSort

      public void setSort(int sort)
    • getPublicationId

      public String getPublicationId()
      ID of parent publication, 0 for root publication
    • setPublicationId

      public void setPublicationId(String publicationid)
    • getForeignsystemkey

      public String getForeignsystemkey()
      foreign key if publication comes from outer system
    • setForeignsystemkey

      public void setForeignsystemkey(String foreignsystemkey)
    • getPublicationtypeId

      public String getPublicationtypeId()
      ID of publication type
    • setPublicationtypeId

      public void setPublicationtypeId(String publicationtypeid)
    • getPlaceholderHistory

      public String getPlaceholderHistory()
      1 placeholder history supported, 2 - no supported
    • setPlaceholderHistory

      public void setPlaceholderHistory(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 String getStatusId()
      ID of status
    • setStatusId

      public void setStatusId(String statusId)
    • getCreatedby

      public String getCreatedby()
      person who created the Publication
    • setCreatedby

      public void setCreatedby(String createdby)
    • getCreatedon

      public Date getCreatedon()
      date of creation of the Publication
    • setCreatedon

      public void setCreatedon(Date createdon)
    • getUpdatedby

      public String getUpdatedby()
      last person who updated the Publication
    • setUpdatedby

      public void setUpdatedby(String updatedby)
    • getUpdatedon

      public Date getUpdatedon()
      date of last update of the Publication
    • setUpdatedon

      public void setUpdatedon(Date updatedon)
    • getLinks

      public List<Link> getLinks()
      links of the Publication