Class TimeManagement

java.lang.Object
com.gentics.contentnode.rest.model.TimeManagement
All Implemented Interfaces:
Serializable

public class TimeManagement extends Object implements Serializable
Time Management of pages
See Also:
  • Field Details

    • futurePublisher

      public User futurePublisher
      the future publisher (i.e.: the user that planned to publish something)
    • futureUnpublisher

      public User futureUnpublisher
      the future unpublisher (i.e.: the user that planned to unpublish something)
  • Constructor Details

    • TimeManagement

      public TimeManagement()
  • Method Details

    • getAt

      public Integer getAt()
      Get the timestamp at which the page will be published
      Returns:
      publish timestamp
    • setAt

      public TimeManagement setAt(Integer at)
      Set the at timestamp
      Parameters:
      at - timestamp
      Returns:
      fluent API
    • getVersion

      public PageVersion getVersion()
      Page Version that will be published at the timestamp
      Returns:
      page version
    • setVersion

      public TimeManagement setVersion(PageVersion version)
      Set the version to be published
      Parameters:
      version - page version
      Returns:
      fluent API
    • getOfflineAt

      public Integer getOfflineAt()
      Time at which the page will be taken offline
      Returns:
      timestamp to take offline
    • setOfflineAt

      public TimeManagement setOfflineAt(Integer offlineAt)
      Set timestamp for taking offline
      Parameters:
      offlineAt - timestamp
      Returns:
      fluent API
    • getQueuedPublish

      public QueuedTimeManagement getQueuedPublish()
      Queued time management for publishing the page
      Returns:
      queued time management
    • setQueuedPublish

      public TimeManagement setQueuedPublish(QueuedTimeManagement queuedPublish)
      Set queued time management
      Parameters:
      queuedPublish - queued time management
      Returns:
      fluent API
    • getQueuedOffline

      public QueuedTimeManagement getQueuedOffline()
      Queued time management for taking the page offline
      Returns:
      queued time management
    • setQueuedOffline

      public TimeManagement setQueuedOffline(QueuedTimeManagement queuedOffline)
      Set queued time management
      Parameters:
      queuedOffline - queued time management
      Returns:
      fluent API
    • getFuturePublisher

      public User getFuturePublisher()
      Gets user that planned to publish something
      Returns:
      the future publisher
    • setFuturePublisher

      public TimeManagement setFuturePublisher(User futurePublisher)
      Sets the future publisher (i.e.: the user that planned to publish something)
      Parameters:
      futurePublisher -
      Returns:
      fluent API
    • getFutureUnpublisher

      public User getFutureUnpublisher()
      Gets user that planned to upublish something
      Returns:
      the future upublisher
    • setFutureUnpublisher

      public TimeManagement setFutureUnpublisher(User futureUnpublisher)
      Sets the future unpublisher (i.e.: the user that planned to unpublish something)
      Parameters:
      futureUnpublisher -
      Returns:
      fluent API