| Interface | osid.inventory.batch.InventoryBatchForm | ||
|---|---|---|---|
| Implements | osid.inventory.InventoryForm | ||
| Description |
This is the form for creating and updating inventories in
bulk. | ||
| Method | getInventoryId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the inventory Id | |
| Errors | ILLEGAL_STATE | isForUpdate() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getParentsMetadata | ||
| Description |
Gets the metadata for setting the hierarchical parents of this inventory. | ||
| Return | osid.Metadata | metadata for the parents | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setParents | ||
| Description |
Sets the hierarchical parents. | ||
| Parameters | osid.id.Id[] | parents | the new parents |
| Errors | INVALID_ARGUMENT | parents is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | parents is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearParents | ||
| Description |
Removes the hierarchical parents. | ||
| Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |