Class IdentityOperationResult
- java.lang.Object
-
- org.camunda.bpm.engine.impl.identity.IdentityOperationResult
-
public class IdentityOperationResult extends 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 Summary
Fields Modifier and Type Field Description protected String
operation
static String
OPERATION_CREATE
static String
OPERATION_DELETE
static String
OPERATION_NONE
static String
OPERATION_UNLOCK
static String
OPERATION_UPDATE
protected Serializable
value
-
Constructor Summary
Constructors Constructor Description IdentityOperationResult(Serializable value, String operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOperation()
Serializable
getValue()
void
setOperation(String operation)
void
setValue(Serializable value)
-
-
-
Field Detail
-
OPERATION_CREATE
public static final String OPERATION_CREATE
- See Also:
- Constant Field Values
-
OPERATION_UPDATE
public static final String OPERATION_UPDATE
- See Also:
- Constant Field Values
-
OPERATION_DELETE
public static final String OPERATION_DELETE
- See Also:
- Constant Field Values
-
OPERATION_UNLOCK
public static final String OPERATION_UNLOCK
- See Also:
- Constant Field Values
-
OPERATION_NONE
public static final String OPERATION_NONE
- See Also:
- Constant Field Values
-
value
protected Serializable value
-
operation
protected String operation
-
-
Constructor Detail
-
IdentityOperationResult
public IdentityOperationResult(Serializable value, String operation)
-
-
Method Detail
-
getValue
public Serializable getValue()
-
setValue
public void setValue(Serializable value)
-
getOperation
public String getOperation()
-
setOperation
public void setOperation(String operation)
-
-