Interface | osid.sequencing.AntimatroidAdminSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create an For updates, The delete operations delete This session includes an | ||
Method | canCreateAntimatroids | ||
Description |
Tests if this user can create | ||
Return | boolean | false if Antimatroid creation is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canCreateAntimatroidWithRecordTypes | ||
Description |
Tests if this user can create a single | ||
Parameters | osid.type.Type[] | antimatroidRecordTypes | array of antimatroid record types |
Return | boolean | true if Antimatroid creation using the
specified record Types is supported, false
otherwise | |
Errors | NULL_ARGUMENT | antimatroidRecordTypes is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getAntimatroidFormForCreate | ||
Description |
Gets the antimatroid form for creating new antimatroids. A new form should be requested for each create transinput. | ||
Parameters | osid.type.Type[] | antimatroidRecordTypes | array of antimatroid record types |
Return | osid.sequencing.AntimatroidForm | the antimatroid form | |
Errors | NULL_ARGUMENT | antimatroidRecordTypes is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | unable to get form for requested record types | ||
Compliance | mandatory | This method must be implemented. | |
Method | createAntimatroid | ||
Description |
Creates a new | ||
Parameters | osid.sequencing.AntimatroidForm | antimatroidForm | the form for this Antimatroid |
Return | osid.sequencing.Antimatroid | the new Antimatroid | |
Errors | ILLEGAL_STATE | antimatroidForm already used in a create transinput | |
INVALID_ARGUMENT | one or more of the form elements is invalid | ||
NULL_ARGUMENT | antimatroidForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | antimatroidForm did not originate from
getAntimatroidFormForCreate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canUpdateAntimatroids | ||
Description |
Tests if this user can update | ||
Return | boolean | false if Antimatroid modification is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getAntimatroidFormForUpdate | ||
Description |
Gets the antimatroid form for updating an existing antimatroid. A new antimatroid form should be requested for each update transinput. | ||
Parameters | osid.id.Id | antimatroidId | the Id of the Antimatroid |
Return | osid.sequencing.AntimatroidForm | the antimatroid form | |
Errors | NOT_FOUND | antimatroidId is not found | |
NULL_ARGUMENT | antimatroidId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateAntimatroid | ||
Description |
Updates an existing antimatroid | ||
Parameters | osid.sequencing.AntimatroidForm | antimatroidForm | the form containing the elements to be updated |
Errors | ILLEGAL_STATE | antimatroidForm already used in an update transinput | |
INVALID_ARGUMENT | the form contains an invalid value | ||
NULL_ARGUMENT | antimatroidForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | antimatroidForm did not originate from
getAntimatroidFormForUpdate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canDeleteAntimatroids | ||
Description |
Tests if this user can delete | ||
Return | boolean | false if Antimatroid deletion is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | deleteAntimatroid | ||
Description |
Deletes an | ||
Parameters | osid.id.Id | antimatroidId | the Id of the Antimatroid to remove |
Errors | NOT_FOUND | antimatroidId not found | |
NULL_ARGUMENT | antimatroidId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageAntimatroidAliases | ||
Description |
Tests if this user can manage | ||
Return | boolean | false if Antimatroid aliasing is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | aliasAntimatroid | ||
Description |
Adds an | ||
Parameters | osid.id.Id | antimatroidId | the Id of an Antimatroid |
osid.id.Id | aliasId | the alias Id | |
Errors | ALREADY_EXISTS | aliasId is already assigned | |
NOT_FOUND | antimatroidId not found | ||
NULL_ARGUMENT | antimatroidId or aliasId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |