Interface | osid.resource.demographic.DemographicEnablerLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods | ||
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 | canLookupDemographicEnablers | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeDemographicEnablerView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryDemographicEnablerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedBinView | ||
Description |
Federates the view for methods in this session. A federated view will include demographic enablers in bins which are children of this bin in the bin hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedBinView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this bin only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveDemographicEnablerView | ||
Description |
Only active demographic enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusDemographicEnablerView | ||
Description |
All active and inactive demographic enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getDemographicEnabler | ||
Description |
Gets the In active mode, authorization enablers are returned that are currently active. In any status mode, active and inactive authorization enablers are returned. | ||
Parameters | osid.id.Id | demographicEnablerId | Id of the DemographicEnabler |
Return | osid.resource.demographic.DemographicEnabler | the demographic enabler | |
Errors | NOT_FOUND | demographicEnablerId not found | |
NULL_ARGUMENT | demographicEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getDemographicEnablersByIds | ||
Description |
Gets a In active mode, authorization enablers are returned that are currently active. In any status mode, active and inactive authorization enablers are returned. | ||
Parameters | osid.id.IdList | demographicEnablerIds | the list of Ids to retrieve |
Return | osid.resource.demographic.DemographicEnablerList | the returned DemographicEnabler list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | demographicEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getDemographicEnablersByGenusType | ||
Description |
Gets a In active mode, authorization enablers are returned that are currently active. In any status mode, active and inactive authorization enablers are returned. | ||
Parameters | osid.type.Type | demographicEnablerGenusType | a demographic enabler genus type |
Return | osid.resource.demographic.DemographicEnablerList | the returned DemographicEnabler list | |
Errors | NULL_ARGUMENT | demographicEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getDemographicEnablersByParentGenusType | ||
Description |
Gets a In active mode, authorization enablers are returned that are currently active. In any status mode, active and inactive authorization enablers are returned. | ||
Parameters | osid.type.Type | demographicEnablerGenusType | a demographic enabler genus type |
Return | osid.resource.demographic.DemographicEnablerList | the returned DemographicEnabler list | |
Errors | NULL_ARGUMENT | demographicEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getDemographicEnablersByRecordType | ||
Description |
Gets a In active mode, authorization enablers are returned that are currently active. In any status mode, active and inactive authorization enablers are returned. | ||
Parameters | osid.type.Type | demographicEnablerRecordType | a demographic enabler record type |
Return | osid.resource.demographic.DemographicEnablerList | the returned DemographicEnabler list | |
Errors | NULL_ARGUMENT | demographicEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getDemographicEnablersOnDate | ||
Description |
Gets a In active mode, demographic enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive demographic enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.resource.demographic.DemographicEnablerList | the returned DemographicEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getDemographicEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, demographic enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive demographic enablers are returned. | ||
Parameters | osid.id.Id | agentId | an agent Id |
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
Return | osid.resource.demographic.DemographicEnablerList | the returned DemographicEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | agentId, from, or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getDemographicEnablers | ||
Description |
Gets all In plenary mode, the returned list contains all known demographic enablers or an error results. Otherwise, the returned list may contain only those demographic enablers that are accessible through this session. In active mode, authorization enablers are returned that are currently active. In any status mode, active and inactive authorization enablers are returned. | ||
Return | osid.resource.demographic.DemographicEnablerList | the returned DemographicEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |