| Interface | osid.authorization.batch.AuthorizationBatchForm | ||
|---|---|---|---|
| Implements | osid.authorization.AuthorizationForm | ||
| Description | 
                 This is the form for creating and updating authorizations 
                in bulk.   | ||
| Method | hasAgent | ||
| Description | 
                     Tests if this batch form was requested by specifying an agent if this is a create transaction.  | ||
| Return | boolean |  true  if an agent exists,  false  otherwise  | |
| Errors | ILLEGAL_STATE |  isForUpdate()  is  true   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgentId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the agent  Id   | |
| Errors | ILLEGAL_STATE |  isForUpdate()  is  true  or  hasAgent() 
 is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | hasResource | ||
| Description | 
                     Tests if this batch form was requested by specifying a resource if this is a create transaction.  | ||
| Return | boolean |  true  if a resource exists,  false  otherwise  | |
| Errors | ILLEGAL_STATE |  isForUpdate()  is  true   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourceId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the resource  Id   | |
| Errors | ILLEGAL_STATE |  isForUpdate()  is  true  or  hasResource() 
 is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | hasTrust | ||
| Description | 
                     Tests if this batch form was requested by specifying a trust if this is a create transaction.  | ||
| Return | boolean |  true  if a trust exists,  false  otherwise  | |
| Errors | ILLEGAL_STATE |  isForUpdate()  is  true   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTrustId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the trust  Id   | |
| Errors | ILLEGAL_STATE |  isForUpdate()  is  true  or  hasTrust() 
 is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getQualifierId | ||
| Description | 
                     Gets the qualifier   | ||
| Return | osid.id.Id | the qualifier  Id   | |
| Errors | ILLEGAL_STATE |  isForUpdate()  is  true   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAuthorizationId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the authorization  Id   | |
| Errors | ILLEGAL_STATE |  isForUpdate()  is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |