Class TimeManagement
java.lang.Object
com.gentics.contentnode.rest.model.TimeManagement
- All Implemented Interfaces:
Serializable
Time Management of pages
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionthe future publisher (i.e.: the user that planned to publish something)the future unpublisher (i.e.: the user that planned to unpublish something) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAt()
Get the timestamp at which the page will be publishedGets user that planned to publish somethingGets user that planned to upublish somethingTime at which the page will be taken offlineQueued time management for taking the page offlineQueued time management for publishing the pagePage Version that will be published at the timestampSet the at timestampsetFuturePublisher
(User futurePublisher) Sets the future publisher (i.e.: the user that planned to publish something)setFutureUnpublisher
(User futureUnpublisher) Sets the future unpublisher (i.e.: the user that planned to unpublish something)setOfflineAt
(Integer offlineAt) Set timestamp for taking offlinesetQueuedOffline
(QueuedTimeManagement queuedOffline) Set queued time managementsetQueuedPublish
(QueuedTimeManagement queuedPublish) Set queued time managementsetVersion
(PageVersion version) Set the version to be published
-
Field Details
-
futurePublisher
the future publisher (i.e.: the user that planned to publish something) -
futureUnpublisher
the future unpublisher (i.e.: the user that planned to unpublish something)
-
-
Constructor Details
-
TimeManagement
public TimeManagement()
-
-
Method Details
-
getAt
Get the timestamp at which the page will be published- Returns:
- publish timestamp
-
setAt
Set the at timestamp- Parameters:
at
- timestamp- Returns:
- fluent API
-
getVersion
Page Version that will be published at the timestamp- Returns:
- page version
-
setVersion
Set the version to be published- Parameters:
version
- page version- Returns:
- fluent API
-
getOfflineAt
Time at which the page will be taken offline- Returns:
- timestamp to take offline
-
setOfflineAt
Set timestamp for taking offline- Parameters:
offlineAt
- timestamp- Returns:
- fluent API
-
getQueuedPublish
Queued time management for publishing the page- Returns:
- queued time management
-
setQueuedPublish
Set queued time management- Parameters:
queuedPublish
- queued time management- Returns:
- fluent API
-
getQueuedOffline
Queued time management for taking the page offline- Returns:
- queued time management
-
setQueuedOffline
Set queued time management- Parameters:
queuedOffline
- queued time management- Returns:
- fluent API
-
getFuturePublisher
Gets user that planned to publish something- Returns:
- the future publisher
-
setFuturePublisher
Sets the future publisher (i.e.: the user that planned to publish something)- Parameters:
futurePublisher
-- Returns:
- fluent API
-
getFutureUnpublisher
Gets user that planned to upublish something- Returns:
- the future upublisher
-
setFutureUnpublisher
Sets the future unpublisher (i.e.: the user that planned to unpublish something)- Parameters:
futureUnpublisher
-- Returns:
- fluent API
-