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'.
Modifier and Type | Field and 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 and Description |
---|
IdentityOperationResult(Serializable value,
String operation) |
Modifier and Type | Method and Description |
---|---|
String |
getOperation() |
Serializable |
getValue() |
void |
setOperation(String operation) |
void |
setValue(Serializable value) |
public static final String OPERATION_CREATE
public static final String OPERATION_UPDATE
public static final String OPERATION_DELETE
public static final String OPERATION_UNLOCK
public static final String OPERATION_NONE
protected Serializable value
protected String operation
public IdentityOperationResult(Serializable value, String operation)
public Serializable getValue()
public void setValue(Serializable value)
public String getOperation()
public void setOperation(String operation)
Copyright © 2022. All rights reserved.