Enum Constant Summary
Enum Constants
Client requests to delete a hst:mount node, but it contains children node(s) of type hst:mount
When trying to lock a node that has in the mean time been locked, changed and published by someone else, this
error can be used to return.
Represents a situation where a client tries to mutate an item that has already been locked by another user
Represents a situation where a client tries to mutate an item that has been changed by another user
Client requests to create a new item with the given Id that already exists
Represents a situation where a client tries to add an item that already exist outside of the workspace with the
same name.
Represents a situation where a client tries to add a child node to a parent that does not allow same name
siblings.
Represents a situation where a client tries to add a child node to a parent that does not allow same name
siblings, where the parent represents the root of a certain node hierarchy.
Represents a situation where a client tries to add an item that has no name (title in case of menu)
Method Summary
All Methods Static Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
ITEM_NAME_NOT_UNIQUE
Represents a situation where a client tries to add a child node to a parent that does not allow same name
siblings.
ITEM_NAME_NOT_UNIQUE_IN_ROOT
public static final ClientError ITEM_NAME_NOT_UNIQUE_IN_ROOT
Represents a situation where a client tries to add a child node to a parent that does not allow same name
siblings, where the parent represents the root of a certain node hierarchy.
ITEM_ALREADY_LOCKED
Represents a situation where a client tries to mutate an item that has already been locked by another user
ITEM_CHANGED
Represents a situation where a client tries to mutate an item that has been changed by another user
ITEM_EXISTS_OUTSIDE_WORKSPACE
public static final ClientError ITEM_EXISTS_OUTSIDE_WORKSPACE
Represents a situation where a client tries to add an item that already exist outside of the workspace with the
same name.
ITEM_NO_NAME
Represents a situation where a client tries to add an item that has no name (title in case of menu)
NO_PREVIEW_CONFIGURATION
public static final ClientError NO_PREVIEW_CONFIGURATION
ITEM_NOT_CORRECT_LOCATION
public static final ClientError ITEM_NOT_CORRECT_LOCATION
ITEM_NOT_CHILD_OF_PARENT
public static final ClientError ITEM_NOT_CHILD_OF_PARENT
INVALID_MOVE_TO_SELF_OR_DESCENDANT
public static final ClientError INVALID_MOVE_TO_SELF_OR_DESCENDANT
INVALID_VERSION_STAMP
When trying to lock a node that has in the mean time been locked, changed and published by someone else, this
error can be used to return.
DOCUMENT_CREATION_FAILED
public static final ClientError DOCUMENT_CREATION_FAILED
ITEM_EXISTS
Client requests to create a new item with the given Id that already exists
CHILD_MOUNT_EXISTS
Client requests to delete a hst:mount node, but it contains children node(s) of type hst:mount
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum class has no constant with the specified name
NullPointerException
- if the argument is null