Package org.synchronoss.cpo.core.enums
Enum Class Crud
- All Implemented Interfaces:
Serializable,Comparable<Crud>,Constable
The kinds of operation a CPO function group can perform against a datasource.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIdentifies the operation to be processed by the CPO.Identifies the operation to be processed by CPO.Identifies the operation to be processed by the CPO.Identifies the operation to be processed by CPO.Identifies the operation to be processed by CPO.Identifies the operation to be processed by CPO.Identifies the operation to be processed by CPO.Identifies the operation to be processed by CPO. -
Field Summary
Fields -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CREATE
Identifies the operation to be processed by the CPO. CREATE signifies that the CPO will try to add the object to the datasource. -
UPDATE
Identifies the operation to be processed by CPO. UPDATE signifies that the CPO will try to update the object in the datasource. -
DELETE
Identifies the operation to be processed by CPO. DELETE signifies that the CPO will try to delete the object in the datasource. -
RETRIEVE
Identifies the operation to be processed by CPO. RETRIEVE signifies that the CPO will try to retrieve a single object from the datasource. -
LIST
Identifies the operation to be processed by CPO. LIST signifies that the CPO will try to retrieve one or more objects from the datasource. -
UPSERT
Identifies the operation to be processed by CPO. UPSERT signifies that the CPO will try to add or update the object in the datasource. -
EXIST
Identifies the operation to be processed by CPO. EXIST signifies that the CPO will check to see if the object exists in the datasource. -
EXECUTE
Identifies the operation to be processed by the CPO. EXECUTE signifies that the CPO will try to execute a function or procedure in the datasource.
-
-
Field Details
-
operation
The string operation in this enum
-
-
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 nameNullPointerException- if the argument is null
-