OSID Logo
OSID Specifications
authorization batch package
Version 3.1.0
Interfaceosid.authorization.batch.AuthorizationBatchForm
Implementsosid.authorization.AuthorizationForm
Used Byosid.authorization.batch.AuthorizationBatchFormList
Description

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.

MethodhasAgent
Description

Tests if this batch form was requested by specifying an agent if this is a create transaction.

Returnboolean true if an agent exists, false otherwise
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetAgentId
Description

Gets the Agent Id of the authorization if this is a create transaction.

Returnosid.id.Id the agent Id
ErrorsILLEGAL_STATE isForUpdate() is true or hasAgent() is false
Compliancemandatory This method must be implemented.
MethodhasResource
Description

Tests if this batch form was requested by specifying a resource if this is a create transaction.

Returnboolean true if a resource exists, false otherwise
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetResourceId
Description

Gets the Resource Id of the authorization if this is a create transaction.

Returnosid.id.Id the resource Id
ErrorsILLEGAL_STATE isForUpdate() is true or hasResource() is false
Compliancemandatory This method must be implemented.
MethodhasTrust
Description

Tests if this batch form was requested by specifying a trust if this is a create transaction.

Returnboolean true if a trust exists, false otherwise
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetTrustId
Description

Gets the Trust Id of the authorization if this is a create transaction.

Returnosid.id.Id the trust Id
ErrorsILLEGAL_STATE isForUpdate() is true or hasTrust() is false
Compliancemandatory This method must be implemented.
MethodgetQualifierId
Description

Gets the qualifier Id of the authorization if this is a create transaction.

Returnosid.id.Id the qualifier Id
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetAuthorizationId
Description

Gets the Id of the authorization to be updated if this is an update transaction.

Returnosid.id.Id the authorization Id
ErrorsILLEGAL_STATE isForUpdate() is false
Compliancemandatory This method must be implemented.