Class PublishableContentItem

java.lang.Object
com.gentics.contentnode.rest.model.ContentNodeItem
com.gentics.contentnode.rest.model.PublishableContentItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Page

public abstract class PublishableContentItem extends ContentNodeItem implements Serializable
Base class for publishable objects
See Also:
  • Constructor Details

    • PublishableContentItem

      public PublishableContentItem()
    • PublishableContentItem

      public PublishableContentItem(ContentNodeItem.ItemType itemType)
  • Method Details

    • getPublisher

      public User getPublisher()
      Publisher
      Returns:
      the publisher
    • setPublisher

      public void setPublisher(User publisher)
      Parameters:
      publisher - the publisher to set
    • getFuturePublisher

      public User getFuturePublisher()
      Future Publisher
      Returns:
      the future publisher
    • setFuturePublisher

      public void setFuturePublisher(User futurePublisher)
      Parameters:
      futurePublisher - the future publisher to set
    • getPdate

      public int getPdate()
      Publish Date
      Returns:
      the pdate
    • setPdate

      public void setPdate(int pdate)
      Parameters:
      pdate - the pdate to set
    • getUnpublishedDate

      public Integer getUnpublishedDate()
      Gets the unpublished date.
      Returns:
      the unpublished date as an Integer
    • setUnpublishedDate

      public void setUnpublishedDate(Integer unpublishedDate)
      Sets the unpublished date.
      Parameters:
      unpublishedDate - the unpublished date to set
    • getUnpublisher

      public User getUnpublisher()
      Gets the unpublisher.
      Returns:
      the unpublisher
    • setUnpublisher

      public void setUnpublisher(User unpublisher)
      Sets the unpublisher.
      Parameters:
      unpublisher - the unpublisher to set
    • getFutureUnpublisher

      public User getFutureUnpublisher()
      Gets the user that set the unpublish action.
      Returns:
      the future unpublisher
    • setFutureUnpublisher

      public void setFutureUnpublisher(User futureUnpublisher)
      Set the future unpublisher