| Interface | osid.resource.batch.ResourceBatchForm | ||
|---|---|---|---|
| Implements | osid.resource.ResourceForm | ||
| Description |
This is the form for creating and updating resources in
bulk. | ||
| Method | getResourceId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the resource Id | |
| Errors | ILLEGAL_STATE | isForUpdate() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgentsMetadata | ||
| Description |
Gets the metadata for a list of agents for this resource. | ||
| Return | osid.Metadata | metadata for the agents | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setAgents | ||
| Description |
Sets the mapped agents. | ||
| Parameters | osid.id.IdList | agentsIds | a list of agent Ids |
| Errors | INVALID_ARGUMENT | agentIds is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAgents | ||
| Description |
Clears the agents for this resource. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |