Enum Class Crud

java.lang.Object
java.lang.Enum<Crud>
org.synchronoss.cpo.core.enums.Crud
All Implemented Interfaces:
Serializable, Comparable<Crud>, Constable

public enum Crud extends Enum<Crud>
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 Constants
    Enum Constant
    Description
    Identifies 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
    Modifier and Type
    Field
    Description
    final String
    The string operation in this enum
  • Method Summary

    Modifier and Type
    Method
    Description
    static Crud
    Returns the enum constant of this class with the specified name.
    static Crud[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CREATE

      public static final Crud 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

      public static final Crud UPDATE
      Identifies the operation to be processed by CPO. UPDATE signifies that the CPO will try to update the object in the datasource.
    • DELETE

      public static final Crud DELETE
      Identifies the operation to be processed by CPO. DELETE signifies that the CPO will try to delete the object in the datasource.
    • RETRIEVE

      public static final Crud 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

      public static final Crud 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

      public static final Crud 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

      public static final Crud 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

      public static final Crud 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

      public final String operation
      The string operation in this enum
  • Method Details

    • values

      public static Crud[] 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

      public static Crud valueOf(String name)
      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