Class FormTimeManagement
java.lang.Object
com.gentics.contentnode.rest.model.FormTimeManagement
- All Implemented Interfaces:
Serializable
Time Management of forms
- 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 form will be publishedGets user that planned to publish somethingGets user that planned to upublish somethingTime at which the form will be taken offlineForm 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 offlinesetVersion
(ItemVersion 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
-
FormTimeManagement
public FormTimeManagement()
-
-
Method Details
-
getAt
Get the timestamp at which the form will be published- Returns:
- publish timestamp
-
setAt
Set the at timestamp- Parameters:
at
- timestamp- Returns:
- fluent API
-
getVersion
Form Version that will be published at the timestamp- Returns:
- form version
-
setVersion
Set the version to be published- Parameters:
version
- form version- Returns:
- fluent API
-
getOfflineAt
Time at which the form will be taken offline- Returns:
- timestamp to take offline
-
setOfflineAt
Set timestamp for taking offline- Parameters:
offlineAt
- timestamp- 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
-