Class IdentityOperationResult


  • public class IdentityOperationResult
    extends java.lang.Object

    Holds the result of an IdentityService operation including the operation that was executed and optionally a resulting value.

    This metadata can be used to distinguish between the different resulting actions of a logical operation, e.g. if the 'save' operation lead to an 'update' or an 'insert'.

    Author:
    Tobias Metzke
    • Field Detail

      • OPERATION_CREATE

        public static final java.lang.String OPERATION_CREATE
        See Also:
        Constant Field Values
      • OPERATION_UPDATE

        public static final java.lang.String OPERATION_UPDATE
        See Also:
        Constant Field Values
      • OPERATION_DELETE

        public static final java.lang.String OPERATION_DELETE
        See Also:
        Constant Field Values
      • OPERATION_UNLOCK

        public static final java.lang.String OPERATION_UNLOCK
        See Also:
        Constant Field Values
      • value

        protected java.io.Serializable value
      • operation

        protected java.lang.String operation
    • Constructor Detail

      • IdentityOperationResult

        public IdentityOperationResult​(java.io.Serializable value,
                                       java.lang.String operation)
    • Method Detail

      • getValue

        public java.io.Serializable getValue()
      • setValue

        public void setValue​(java.io.Serializable value)
      • getOperation

        public java.lang.String getOperation()
      • setOperation

        public void setOperation​(java.lang.String operation)