Interface | osid.tracking.FrontOfficeAdminSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create a For updates, The delete operations delete This session includes an | ||
Method | canCreateFrontOffices | ||
Description |
Tests if this user can create | ||
Return | boolean | false if FrontOffice creation is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canCreateFrontOfficeWithRecordTypes | ||
Description |
Tests if this user can create a single | ||
Parameters | osid.type.Type[] | frontOfficeRecordTypes | array of front office record types |
Return | boolean | true if FrontOffice creation using the
specified record Types is supported, false
otherwise | |
Errors | NULL_ARGUMENT | frontOfficeRecordTypes is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getFrontOfficeFormForCreate | ||
Description |
Gets the front office form for creating new frontOffices. A new form should be requested for each create transaction. | ||
Parameters | osid.type.Type[] | frontOfficeRecordTypes | array of front office record types |
Return | osid.tracking.FrontOfficeForm | the front office form | |
Errors | NULL_ARGUMENT | frontOfficeRecordTypes 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 | createFrontOffice | ||
Description |
Creates a new | ||
Parameters | osid.tracking.FrontOfficeForm | frontOfficeForm | the form for this FrontOffice |
Return | osid.tracking.FrontOffice | the new FrontOffice | |
Errors | ILLEGAL_STATE | frontOfficeForm already use din a create transaction | |
INVALID_ARGUMENT | one or more of the form elements is invalid | ||
NULL_ARGUMENT | frontOfficeForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | frontOfficeForm did not originate from
getFrontOfficeFormForCreate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canUpdateFrontOffices | ||
Description |
Tests if this user can update | ||
Return | boolean | false if FrontOffice modification is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getFrontOfficeFormForUpdate | ||
Description |
Gets the front office form for updating an existing front office. A new front office form should be requested for each update transaction. | ||
Parameters | osid.id.Id | frontOfficeId | the Id of the FrontOffice |
Return | osid.tracking.FrontOfficeForm | the front office form | |
Errors | NOT_FOUND | frontOfficeId is not found | |
NULL_ARGUMENT | frontOfficeId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateFrontOffice | ||
Description |
Updates an existing front office | ||
Parameters | osid.tracking.FrontOfficeForm | frontOfficeForm | the form containing the elements to be updated |
Errors | ILLEGAL_STATE | frontOfficeForm already use din an update transaction | |
INVALID_ARGUMENT | the form contains an invalid value | ||
NULL_ARGUMENT | frontOfficeId or frontOfficeForm is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | frontOfficeForm did not originate from
getFrontOfficeFormForUpdate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canDeleteFrontOffices | ||
Description |
Tests if this user can delete | ||
Return | boolean | false if FrontOffice deletion is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | deleteFrontOffice | ||
Description |
Deletes a | ||
Parameters | osid.id.Id | frontOfficeId | the Id of the FrontOffice to remove |
Errors | NOT_FOUND | frontOfficeId not found | |
NULL_ARGUMENT | frontOfficeId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageFrontOfficeAliases | ||
Description |
Tests if this user can manage | ||
Return | boolean | false if FrontOffice aliasing is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | aliasFrontOffice | ||
Description |
Adds an | ||
Parameters | osid.id.Id | frontOfficeId | the Id of a FrontOffice |
osid.id.Id | aliasId | the alias Id | |
Errors | ALREADY_EXISTS | aliasId is already assigned | |
NOT_FOUND | frontOfficeId not found | ||
NULL_ARGUMENT | frontOfficeId or aliasId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |