Copyright© 2008-2024 Sitevision AB, all rights reserved.
@Requireable(value="PublishStatus") public enum PublishStatus extends Enum<PublishStatus>
Different statuses for nodes that can be published.
PublishingUtil.getPublishStatus(javax.jcr.Node)
Enum Constant and Description |
---|
BELONGS_TO_PUBLISHING_PROJECT
The node has been added to a publishing project.
|
LOCKED
The node has been locked, meaning that there may be someone else currently working with the node in question.
|
NOT_PUBLISHED
The node has not been published.
|
PUBLISHED
Denotes that the node has been successfully published.
|
SCHEDULED_PUBLISH
The node is scheduled for future publication at a specific date and time.
|
SCHEDULED_PUBLISH_BY_PUBLISHING_PROJECT
The node is scheduled for publication by a publishing project.
|
SCHEDULED_UNPUBLISH
The node is scheduled to be unpublished at a specific date and time.
|
WORKFLOW_STARTED
The node's publishing process is in progress as part of a workflow.
|
Modifier and Type | Method and Description |
---|---|
static PublishStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublishStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Requireable(value="PublishStatus.NOT_PUBLISHED") public static final PublishStatus NOT_PUBLISHED
The node has not been published. Nodes with this status can be published.
@Requireable(value="PublishStatus.PUBLISHED") public static final PublishStatus PUBLISHED
Denotes that the node has been successfully published. Nodes with this status can be published and unpublished.
@Requireable(value="PublishStatus.WORKFLOW_STARTED") public static final PublishStatus WORKFLOW_STARTED
The node's publishing process is in progress as part of a workflow. Nodes with this status can not be published and unpublished.
@Requireable(value="PublishStatus.SCHEDULED_PUBLISH") public static final PublishStatus SCHEDULED_PUBLISH
The node is scheduled for future publication at a specific date and time. Nodes with this status can not be published or unpublished.
@Requireable(value="PublishStatus.SCHEDULED_UNPUBLISH") public static final PublishStatus SCHEDULED_UNPUBLISH
The node is scheduled to be unpublished at a specific date and time. Nodes with this status can not be published or unpublished.
@Requireable(value="PublishStatus.SCHEDULED_PUBLISH_BY_PUBLISHING_PROJECT") public static final PublishStatus SCHEDULED_PUBLISH_BY_PUBLISHING_PROJECT
The node is scheduled for publication by a publishing project. Nodes with this status can not be published or unpublished.
@Requireable(value="PublishStatus.BELONGS_TO_PUBLISHING_PROJECT") public static final PublishStatus BELONGS_TO_PUBLISHING_PROJECT
The node has been added to a publishing project. Nodes with this status can not be published or unpublished.
@Requireable(value="PublishStatus.LOCKED") public static final PublishStatus LOCKED
The node has been locked, meaning that there may be someone else currently working with the node in question. Nodes with this status can not be published or unpublished.
public static PublishStatus[] values()
for (PublishStatus c : PublishStatus.values()) System.out.println(c);
public static PublishStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullSitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2024 Sitevision AB, all rights reserved.