public interface AliasResponse extends OsidCapsule
AliasResponses
are returned from bulk alias operations.
Batch-oriented methods are executed on a best effort basis unless wrapped
in Transaction
that supports an atomic commit().
Batch methods may be invoked outside of a Transaction
where some of the items supplied may fail.
Bulk alias operations accept a list of AliasRequests.
There is one AliasResponse
returned for every
AliasRequest
but not necessarily in the same order. The created
Id
in the response is the newly created Id
is the create item was successful.
Modifier and Type | Method and Description |
---|---|
Id |
getAliasId()
Gets the alias
Id. |
DisplayText |
getErrorMessage()
Gets the error message for an unsuccessful item within the create
operation.
|
Id |
getReferenceId()
Gets the reference
Id. |
boolean |
isSuccessful()
Tests if this item within the create operation was successful.
|
Id getReferenceId()
Id.
Id
mandatory
- This method must be implemented. Id getAliasId()
Id.
Id
mandatory
- This method must be implemented. boolean isSuccessful()
true
if the alias operation was successful,
false
if it was not successfulmandatory
- This method must be implemented. DisplayText getErrorMessage()
IllegalStateException
- isSuccessful()
is true
mandatory
- This method must be implemented.