getStatus
public String getStatus()
DRAFT_STATUS: Indicates a draft which has never been published before, i.e. latestVersionId will be null,
and contentStatus will be 'DRAFT'.
UNPUBLISHED_CHANGES: A published version of the page exists. The current user has started making additional
changes to the draft of the page, but has not published their changes. For this to be true the contentStatus
should be 'DRAFT' since the current user has contributed to the shared draft, latestVersionId must be non-null
because it needs to point to the published page version, and relationid is non-null to indicate that a
contribution is present on the draft content.
CURRENT: The content has been published before and there are no unpublished contributions by the user on the
draft, i.e. the latest version of content has a contentStatus of 'CURRENT'.
- Returns:
- one of
DRAFT_STATUS
, CURRENT_STATUS
, UNPUBLISHED_CHANGES_STATUS
,
UNKNOWN_STATUS
- See Also:
for a detailed explanation of
the query.