public enum WebCmsDataImportAction extends Enum<WebCmsDataImportAction>
WebCmsDataEntry.
Can be present in a data collection as the wcm:action key.| Enum Constant and Description |
|---|
CREATE
Only create the entities if they do not yet exist.
|
CREATE_OR_REPLACE
Replace the entities if they exist, create them if they do not.
|
CREATE_OR_UPDATE
Create the entities if they do not yet exist, or update any existing entities.
|
DELETE
Delete the entities.
|
REPLACE
Replace the entities if they exist.
|
UPDATE
Only update the entities, do nothing if they do not yet exist.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static WebCmsDataImportAction |
fromAttributeValue(String attributeValue)
Retrieve the action represented by an attribute value.
|
static WebCmsDataImportAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebCmsDataImportAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebCmsDataImportAction CREATE
public static final WebCmsDataImportAction CREATE_OR_UPDATE
public static final WebCmsDataImportAction UPDATE
public static final WebCmsDataImportAction DELETE
public static final WebCmsDataImportAction REPLACE
public static final WebCmsDataImportAction CREATE_OR_REPLACE
public static final String ATTRIBUTE_NAME
public static WebCmsDataImportAction[] values()
for (WebCmsDataImportAction c : WebCmsDataImportAction.values()) System.out.println(c);
public static WebCmsDataImportAction 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 nullpublic static WebCmsDataImportAction fromAttributeValue(String attributeValue)
attributeValue - that represents the actionCopyright © 2020. All rights reserved.