State |
StateService.getCurrentState(com.atlassian.confluence.core.ContentEntityObject content) |
Returns the current content's state
Retrieves the
|
State |
StateService.getPublishedState(com.atlassian.confluence.core.ContentEntityObject content) |
Retrieves the most recent published state of the content.
|
State |
StateService.setState(com.atlassian.confluence.core.ContentEntityObject content,
java.lang.String stateName,
java.lang.String comment) |
Changes the state of the content.
|
State |
StateService.setState(com.atlassian.confluence.core.ContentEntityObject content,
java.lang.String stateName,
java.lang.String comment,
boolean validate) |
Changes the state of pages.
|
State |
StateService.updateExpiryDate(com.atlassian.confluence.core.ContentEntityObject content,
java.util.Date newExpiryDate) |
Change the expiry date for the current state on the page.
|
State |
StateService.updateExpiryDate(com.atlassian.confluence.core.ContentEntityObject content,
java.util.Date newExpiryDate,
boolean validateChangeDueDate) |
Change the expiry date for the current state on the page.
|