public interface AuthorizationBatchForm extends AuthorizationForm
This is the form for creating and updating authorizations in bulk.
Like all OsidForm
objects, various data
elements may be set here for use in the create and update methods in the
AuthorizationBatchAdminSession.
For each data element that
may be set, metadata may be examined to provide display hints or data
constraints.
Modifier and Type | Method and Description |
---|---|
Id |
getAgentId()
Gets the
Agent Id of the authorization
if this is a create transaction. |
Id |
getAuthorizationId()
Gets the
Id of the authorization to be updated if this
is an update transaction. |
Id |
getQualifierId()
Gets the qualifier
Id of the authorization if this is a
create transaction. |
Id |
getResourceId()
Gets the
Resource Id of the
authorization if this is a create transaction. |
Id |
getTrustId()
Gets the
Trust Id of the authorization
if this is a create transaction. |
boolean |
hasAgent()
Tests if this batch form was requested by specifying an agent if this
is a create transaction.
|
boolean |
hasResource()
Tests if this batch form was requested by specifying a resource if
this is a create transaction.
|
boolean |
hasTrust()
Tests if this batch form was requested by specifying a trust if this
is a create transaction.
|
getAuthorizationFormRecord
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
boolean hasAgent()
true
if an agent exists, false
otherwiseIllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getAgentId()
Agent
Id
of the authorization
if this is a create transaction. Id
IllegalStateException
- isForUpdate()
is
true
or hasAgent()
is
false
mandatory
- This method must be implemented. boolean hasResource()
true
if a resource exists, false
otherwiseIllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getResourceId()
Resource
Id
of the
authorization if this is a create transaction. Id
IllegalStateException
- isForUpdate()
is
true
or hasResource()
is
false
mandatory
- This method must be implemented. boolean hasTrust()
true
if a trust exists, false
otherwiseIllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getTrustId()
Trust
Id
of the authorization
if this is a create transaction. Id
IllegalStateException
- isForUpdate()
is
true
or hasTrust()
is
false
mandatory
- This method must be implemented. Id getQualifierId()
Id
of the authorization if this is a
create transaction. Id
IllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getAuthorizationId()
Id
of the authorization to be updated if this
is an update transaction. Id
IllegalStateException
- isForUpdate()
is
false
mandatory
- This method must be implemented.