Interface | osid.recognition.ConvocationAdminSession | ||
---|---|---|---|
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 | getAcademyId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Academy Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getAcademy | ||
Description |
Gets the | ||
Return | osid.recognition.Academy | the academy | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canCreateConvocations | ||
Description |
Tests if this user can create convocations. A return of
true does not guarantee successful authorization. A return
of false indicates that it is known creating a | ||
Return | boolean | false if Convocation creation is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canCreateConvocationWithRecordTypes | ||
Description |
Tests if this user can create a single | ||
Parameters | osid.type.Type[] | convocationRecordTypes | array of convocation record types |
Return | boolean | true if Convocation creation using the
specified record Types is supported, false
otherwise | |
Errors | NULL_ARGUMENT | convocationRecordTypes is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getConvocationFormForCreate | ||
Description |
Gets the convocation form for creating new convocations. A new form should be requested for each create transaction. | ||
Parameters | osid.type.Type[] | convocationRecordTypes | array of convocation record types |
Return | osid.recognition.ConvocationForm | the convocation form | |
Errors | NULL_ARGUMENT | convocationRecordTypes 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 | createConvocation | ||
Description |
Creates a new | ||
Parameters | osid.recognition.ConvocationForm | convocationForm | the form for this Convocation |
Return | osid.recognition.Convocation | the new Convocation | |
Errors | ILLEGAL_STATE | convocationForm already used in a create transaction | |
INVALID_ARGUMENT | one or more of the form elements is invalid | ||
NULL_ARGUMENT | convocationForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | convocationForm did not originate from
getConvocationFormForCreate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canUpdateConvocations | ||
Description |
Tests if this user can update convocations. A return of
true does not guarantee successful authorization. A return
of false indicates that it is known updating a | ||
Return | boolean | false if Convocation modification is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getConvocationFormForUpdate | ||
Description |
Gets the convocation form for updating an existing convocation. A new convocation form should be requested for each update transaction. | ||
Parameters | osid.id.Id | convocationId | the Id of the Convocation |
Return | osid.recognition.ConvocationForm | the convocation form | |
Errors | NOT_FOUND | convocationId is not found | |
NULL_ARGUMENT | convocationId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateConvocation | ||
Description |
Updates an existing convocation. | ||
Parameters | osid.recognition.ConvocationForm | convocationForm | the form containing the elements to be updated |
Errors | ILLEGAL_STATE | the form contains an invalid value | |
INVALID_ARGUMENT | convocationForm already used in an update transaction | ||
NULL_ARGUMENT | convocationForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | convocationForm did not originate from
getConvocationFormForUpdate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canDeleteConvocations | ||
Description |
Tests if this user can delete convocations. A return of
true does not guarantee successful authorization. A return
of false indicates that it is known deleting an | ||
Return | boolean | false if Convocation deletion is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | deleteConvocation | ||
Description |
Deletes a | ||
Parameters | osid.id.Id | convocationId | the Id of the Convocation to remove |
Errors | NOT_FOUND | convocationId not found | |
NULL_ARGUMENT | convocationId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageConvocationAliases | ||
Description |
Tests if this user can manage | ||
Return | boolean | false if Convocation aliasing is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | aliasConvocation | ||
Description |
Adds an | ||
Parameters | osid.id.Id | convocationId | the Id of a Convocation |
osid.id.Id | aliasId | the alias Id | |
Errors | ALREADY_EXISTS | aliasId is already assigned | |
NOT_FOUND | convocationId not found | ||
NULL_ARGUMENT | convocationId or aliasId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageConvocations | ||
Description |
Tests if this user can manage convocations. A return of
true does not guarantee successful authorization. A return
of false indicates that it is known changing an alias will
result in a | ||
Return | boolean | false if Convocation management is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | addAward | ||
Description |
Adds an award to a convocation. | ||
Parameters | osid.id.Id | awardId | the Id of an Award |
osid.id.Id | convocationId | the Id of a Convocation | |
Errors | ALREADY_EXISTS | awardId is already part of convocationId | |
NOT_FOUND | awardId or convocationId not found | ||
NULL_ARGUMENT | awardid or convocationId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | removeAward | ||
Description |
removes an award from a convocation. | ||
Parameters | osid.id.Id | awardId | the Id of an Award |
osid.id.Id | convocationId | the Id of a Convocation | |
Errors | NOT_FOUND | awardId or convocationId not found or
awardid not part of convocationId | |
NULL_ARGUMENT | awardid or convocationId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |