|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusinessTransaction
A handle interface that can be used to inspect and operate on running business transactions.
Method Summary | |
---|---|
void |
cancel() Cancels the business transaction. |
boolean |
forward() Forwards or finishes this business transaction. |
ConstraintViolation[] |
getConstraintViolations() Gets any outstanding constraint violations from a business transaction. |
Operation |
getOperation(java.lang.String operationId) Gets an operation by identifier. |
java.util.Map<java.lang.String,java.lang.Object> |
getReturnArguments() Returns any outputs produced as past of the invocation of the operation. |
long |
getTransactionId() Gets the transaction ID as a long . |
boolean |
quickValidate() Runs lightweight validation tests. |
Methods inherited from interface oracle.iam.rm.client.Interactable |
---|
getOperation, getOperations |
Method Detail |
---|
long getTransactionId()
long
.long
representing the transaction ID.boolean forward() throws ServerException
true
if the business transaction has finished after this method returns, otherwise false
.ServerException
- if a failure occurs during the forwarding process.void cancel() throws ServerException
ServerException
- if a failure occurs during the cancellation process.ConstraintViolation[] getConstraintViolations() throws ServerException
ConstraintViolation
array of ConstraintViolations
or an empty array if there no violations.ServerException
- if a failure occurs retrieving the constraint violations.java.util.Map<java.lang.String,java.lang.Object> getReturnArguments()
Operation getOperation(java.lang.String operationId) throws ServerException
operationId
- the business operationOperation
identified by the passed String
.ServerException
- if an error occurs during operation retrieval.boolean quickValidate() throws ServerException
getConstraintViolations()
method.ServerException
- if an error occurs during validation.
|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |