Interface | osid.mapping.path.SignalAdminSession | ||
---|---|---|---|
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 | getMapId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Map Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getMap | ||
Description |
Gets the | ||
Return | osid.mapping.Map | the map | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canCreateSignals | ||
Description |
Tests if this user can create | ||
Return | boolean | false if Signal creation is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canCreateSignalWithRecordTypes | ||
Description |
Tests if this user can create a single | ||
Parameters | osid.type.Type[] | signalRecordTypes | array of signal record types |
Return | boolean | true if Signal creation using the specified
record Types is supported, false otherwise | |
Errors | NULL_ARGUMENT | signalRecordTypes is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getSignalFormForCreate | ||
Description |
Gets the signal form for creating new signals. A new form should be requested for each create transaction. | ||
Parameters | osid.id.Id | pathId | Id of the path |
osid.type.Type[] | signalRecordTypes | array of signal record types | |
Return | osid.mapping.path.SignalForm | the signal form | |
Errors | NOT_FOUND | pathId is not found | |
NULL_ARGUMENT | pathId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | unable to get form with given record types | ||
Compliance | mandatory | This method must be implemented. | |
Method | createSignal | ||
Description |
Creates a new | ||
Parameters | osid.mapping.path.SignalForm | signalForm | the form for this Signal |
Return | osid.mapping.path.Signal | the new Signal | |
Errors | ILLEGAL_STATE | signalForm already used in a create transaction | |
INVALID_ARGUMENT | one or more of the form elements is invalid | ||
NULL_ARGUMENT | signalForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | signalForm did not originate from
getSignalFormForCreate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canUpdateSignals | ||
Description |
Tests if this user can update | ||
Return | boolean | false if Signal modification is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getSignalFormForUpdate | ||
Description |
Gets the signal form for updating an existing signal. A new signal form should be requested for each update transaction. | ||
Parameters | osid.id.Id | signalId | the Id of the Signal |
Return | osid.mapping.path.SignalForm | the signal form | |
Errors | NOT_FOUND | signalId is not found | |
NULL_ARGUMENT | signalId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateSignal | ||
Description |
Updates an existing signal. | ||
Parameters | osid.mapping.path.SignalForm | signalForm | the form containing the elements to be updated |
Errors | ILLEGAL_STATE | signalForm already used in an update transaction | |
INVALID_ARGUMENT | the form contains an invalid value | ||
NULL_ARGUMENT | signalId or signalForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | signalForm did not originate from
getSignalFormForUpdate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canDeleteSignals | ||
Description |
Tests if this user can delete | ||
Return | boolean | false if Signal deletion is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | deleteSignal | ||
Description |
Deletes a | ||
Parameters | osid.id.Id | signalId | the Id of the Signal to remove |
Errors | NOT_FOUND | signalId not found | |
NULL_ARGUMENT | signalId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageSignalAliases | ||
Description |
Tests if this user can manage | ||
Return | boolean | false if Signal aliasing is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | aliasSignal | ||
Description |
Adds an | ||
Parameters | osid.id.Id | signalId | the Id of a Signal |
osid.id.Id | aliasId | the alias Id | |
Errors | ALREADY_EXISTS | aliasId is already assigned | |
NOT_FOUND | signalId not found | ||
NULL_ARGUMENT | signalId or aliasId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |