Interface | osid.resource.demographic.DemographicEnablerRuleApplicationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to apply | ||
Method | getBinId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Bin Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getBin | ||
Description |
Gets the | ||
Return | osid.resource.Bin | the bin | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canAssignDemographicEnablers | ||
Description |
Tests if this user can alter demographic
enabler/demographic mappings. A return of true does not
guarantee successful authorization. A return of false
indicates that it is known mapping methods in this session
will result in a | ||
Return | boolean | false if mapping is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | assignDemographicEnablerToDemographic | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | demographicEnablerId | the Id of the DemographicEnabler |
osid.id.Id | demographicId | the Id of the Demographic | |
Errors | ALREADY_EXISTS | demographicEnablerId is already assigned to
demographicId | |
NOT_FOUND | demographicEnablerId or demographicId not
found | ||
NULL_ARGUMENT | demographicEnablerId or demographicId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignDemographicEnablerFromDemographic | ||
Description |
Removes a | ||
Parameters | osid.id.Id | demographicEnablerId | the Id of the DemographicEnabler |
osid.id.Id | demographicId | the Id of the Demographic | |
Errors | NOT_FOUND | demographicEnablerId or demographicId not
found or not mapped | |
NULL_ARGUMENT | demographicEnablerId or demographicId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |