Copyright© 2008-2022 Sitevision AB, all rights reserved.
public final class OnParentVersionAction extends Object
onParentVersion
attribute
in a property definition within a node type definition.
This interface defines the following actions:
COPY
VERSION
INITIALIZE
COMPUTE
IGNORE
ABORT
Every item (node or property) in the repository has a status indicator that
governs what happens to that item when its parent node is versioned. This
status is defined by the onParentVersion
attribute in the
PropertyDefinition
or NodeDefinition
that applies
to the item in question.
Sitevision note: Unsupported operation
Modifier and Type | Field and Description |
---|---|
static int |
ABORT |
static String |
ACTIONNAME_ABORT |
static String |
ACTIONNAME_COMPUTE |
static String |
ACTIONNAME_COPY
The names of the defined on-version actions, as used in serialization.
|
static String |
ACTIONNAME_IGNORE |
static String |
ACTIONNAME_INITIALIZE |
static String |
ACTIONNAME_VERSION |
static int |
COMPUTE |
static int |
COPY
The action constants.
|
static int |
IGNORE |
static int |
INITIALIZE |
static int |
VERSION |
Modifier and Type | Method and Description |
---|---|
static String |
nameFromValue(int action)
Returns the name of the specified
action , as used in
serialization. |
static int |
valueFromName(String name)
Returns the numeric constant value of the on-version action with the
specified name.
|
public static final int COPY
public static final int VERSION
public static final int INITIALIZE
public static final int COMPUTE
public static final int IGNORE
public static final int ABORT
public static final String ACTIONNAME_COPY
public static final String ACTIONNAME_VERSION
public static final String ACTIONNAME_INITIALIZE
public static final String ACTIONNAME_COMPUTE
public static final String ACTIONNAME_IGNORE
public static final String ACTIONNAME_ABORT
public static String nameFromValue(int action)
action
, as used in
serialization.action
- the on-version actionaction
IllegalArgumentException
- if action
is not a valid
on-version action.public static int valueFromName(String name)
name
- the name of the on-version actionIllegalArgumentException
- if name
is not a valid
on-version action name.Sitevision - 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-2022 Sitevision AB, all rights reserved.