public static enum ArticleTransaction.Transition extends Enum<ArticleTransaction.Transition>
Enum Constant and Description |
---|
DELETE
Sets the state of the published variant to
delete and reverts the staged variant. |
PUBLISH
Publishes the staged version of the article.
|
REVERT_STAGE
Deletes the staged variant of the article.
|
STAGE
Stages the article.
|
UNPUBLISH_AND_KEEP_PUBLISHED
Sets the state of the published variant to
approved and reverts the staged variant. |
UNPUBLISH_AND_KEEP_STAGED
Sets the state of the staged version to
approved and stores the changes. |
Modifier and Type | Method and Description |
---|---|
static ArticleTransaction.Transition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArticleTransaction.Transition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArticleTransaction.Transition STAGE
public static final ArticleTransaction.Transition PUBLISH
published
before the staged version is published.public static final ArticleTransaction.Transition UNPUBLISH_AND_KEEP_STAGED
approved
and stores the changes. All published variants
of the article will be deletedpublic static final ArticleTransaction.Transition UNPUBLISH_AND_KEEP_PUBLISHED
approved
and reverts the staged variant. All changes
done to the staged article and all changes done to the transaction itself will be lost.public static final ArticleTransaction.Transition REVERT_STAGE
public static final ArticleTransaction.Transition DELETE
delete
and reverts the staged variant. All changes done
to the staged article and all changes done to the transaction itself will be lost.public static ArticleTransaction.Transition[] values()
for (ArticleTransaction.Transition c : ArticleTransaction.Transition.values()) System.out.println(c);
public static ArticleTransaction.Transition 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 null© 1998- 2018 Stibo DX