OSID Logo
OSID Specifications
resource demographic package
Version 3.1.0
Interfaceosid.resource.demographic.ResourceDemographicManager
Implementsosid.OsidManager
osid.resource.demographic.ResourceDemographicProfile
Used Byosid.resource.ResourceManager
Description

The resource demographic manager provides access to resource demographic sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • DemographicLookupSession: a session to retrieve demographic
  • DemographicQuerySession: a session to query for demographic
  • DemographicSearchSession: a session to search for demographic
  • DemographicAdminSession: a session to create and delete demographic
  • DemographicBuilderSession: a session to build demographics from searches
  • DemographicNotificationSession: a session to receive notifications pertaining to demographic changes
  • DemographicBinSession: a session to look up demographic bin mappings
  • DemographicBinAssignmentSession: a session to manage demographic to bin mappings
  • DemographicSmartBinSession: a session to manage dynamic bins of demographic
  • DemographicEnablerLookupSession: a session to retrieve demographic enablers
  • DemographicEnablerQuerySession: a session to query for demographic enablers
  • DemographicEnablerSearchSession: a session to search for demographic enablers
  • DemographicEnablerAdminSession: a session to create and delete demographic enablers
  • DemographicEnablerNotificationSession: a session to receive notifications pertaining to demographic enabler changes
  • DemographicEnablerBinSession: a session to look up demographic enabler bin mappings
  • DemographicEnablerBinAssignmentSession: a session to manage demographic enabler to bin mappings
  • DemographicEnablerSmartBinSession: a session to manage dynamic bins of demographic enablers
  • DemographicEnablerRuleLookupSession: a session to look up demographic enabler mappings
  • DemographicEnablerRuleApplicationSession : a session to apply demographic enablers
MethodgetDemographicLookupSession
Description

Gets the OsidSession associated with the demographic lookup service.

Returnosid.resource.demographic.DemographicLookupSession a DemographicLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicLookup() is false
Complianceoptional This method must be implemented if supportsDemographicLookup() is true.
MethodgetDemographicLookupSessionForBin
Description

Gets the OsidSession associated with the demographic lookup service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicLookupSession a DemographicLookupSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicLookup() and supportsVisibleFederation() are true.
MethodgetDemographicQuerySession
Description

Gets the OsidSession associated with the demographic query service.

Returnosid.resource.demographic.DemographicQuerySession a DemographicQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicQuery() is false
Complianceoptional This method must be implemented if supportsDemographicQuery() is true.
MethodgetDemographicQuerySessionForBin
Description

Gets the OsidSession associated with the demographic query service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicQuerySession a DemographicQuerySession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicQuery() and supportsVisibleFederation() are true.
MethodgetDemographicSearchSession
Description

Gets the OsidSession associated with the demographic search service.

Returnosid.resource.demographic.DemographicSearchSession a DemographicSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicSearch() is false
Complianceoptional This method must be implemented if supportsDemographicSearch() is true.
MethodgetDemographicSearchSessionForBin
Description

Gets the OsidSession associated with the demographic earch service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicSearchSession a DemographicSearchSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicSearch() and supportsVisibleFederation() are true.
MethodgetDemographicAdminSession
Description

Gets the OsidSession associated with the demographic administration service.

Returnosid.resource.demographic.DemographicAdminSession a DemographicAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicAdmin() is false
Complianceoptional This method must be implemented if supportsDemographicAdmin() is true.
MethodgetDemographicAdminSessionForBin
Description

Gets the OsidSession associated with the demographic administration service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicAdminSession a DemographicAdminSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicAdmin() and supportsVisibleFederation() are true.
MethodgetDemographicBuilderSession
Description

Gets the OsidSession associated with the demographic builder service.

Returnosid.resource.demographic.DemographicBuilderSession a DemographicBuilderSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicBuilder() is false
Complianceoptional This method must be implemented if supportsDemographicBuilder() is true.
MethodgetDemographicBuilderSessionForBin
Description

Gets the OsidSession associated with the demographic builder service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicBuilderSession a DemographicBuilderSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicBuilder() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicBuilder() and supportsVisibleFederation() are true.
MethodgetDemographicNotificationSession
Description

Gets the OsidSession associated with the demographic notification service.

Parametersosid.resource.demographic.DemographicReceiverdemographicReceiver the notification callback
Returnosid.resource.demographic.DemographicNotificationSession a DemographicNotificationSession
ErrorsNULL_ARGUMENT demographicReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicNotification() is false
Complianceoptional This method must be implemented if supportsDemographicNotification() is true.
MethodgetDemographicNotificationSessionForBin
Description

Gets the OsidSession associated with the demographic notification service for the given bin.

Parametersosid.resource.demographic.DemographicReceiverdemographicReceiver the notification callback
osid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicNotificationSession a DemographicNotificationSession
ErrorsNOT_FOUND no bin found by the given Id
NULL_ARGUMENT demographicReceiver or binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicNotification() and supportsVisibleFederation() are true.
MethodgetDemographicBinSession
Description

Gets the OsidSession to lookup demographic/bin mappings for demographics.

Returnosid.resource.demographic.DemographicBinSession a DemographicBinSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicBin() is false
Complianceoptional This method must be implemented if supportsDemographicBin() is true.
MethodgetDemographicBinAssignmentSession
Description

Gets the OsidSession associated with assigning demographic to bins.

Returnosid.resource.demographic.DemographicBinAssignmentSession a DemographicBinAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicBinAssignment() is false
Complianceoptional This method must be implemented if supportsDemographicBinAssignment() is true.
MethodgetDemographicSmartBinSession
Description

Gets the OsidSession to manage demographic smart bins.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicSmartBinSession a DemographicSmartBinSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicSmartBin() is false
Complianceoptional This method must be implemented if supportsDemographicSmartBin() is true.
MethodgetDemographicEnablerLookupSession
Description

Gets the OsidSession associated with the demographic enabler lookup service.

Returnosid.resource.demographic.DemographicEnablerLookupSession a DemographicEnablerLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerLookup() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerLookup() is true.
MethodgetDemographicEnablerLookupSessionForBin
Description

Gets the OsidSession associated with the demographic enabler lookup service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicEnablerLookupSession a DemographicEnablerLookupSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerLookup() and supportsVisibleFederation() are true.
MethodgetDemographicEnablerQuerySession
Description

Gets the OsidSession associated with the demographic enabler query service.

Returnosid.resource.demographic.DemographicEnablerQuerySession a DemographicEnablerQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerQuery() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerQuery() is true.
MethodgetDemographicEnablerQuerySessionForBin
Description

Gets the OsidSession associated with the demographic enabler query service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicEnablerQuerySession a DemographicEnablerQuerySession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerQuery() and supportsVisibleFederation() are true.
MethodgetDemographicEnablerSearchSession
Description

Gets the OsidSession associated with the demographic enabler search service.

Returnosid.resource.demographic.DemographicEnablerSearchSession a DemographicEnablerSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerSearch() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerSearch() is true.
MethodgetDemographicEnablerSearchSessionForBin
Description

Gets the OsidSession associated with the demographic enablers earch service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicEnablerSearchSession a DemographicEnablerSearchSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerSearch() and supportsVisibleFederation() are true.
MethodgetDemographicEnablerAdminSession
Description

Gets the OsidSession associated with the demographic enabler administration service.

Returnosid.resource.demographic.DemographicEnablerAdminSession a DemographicEnablerAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerAdmin() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerAdmin() is true.
MethodgetDemographicEnablerAdminSessionForBin
Description

Gets the OsidSession associated with the demographic enabler administration service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicEnablerAdminSession a DemographicEnablerAdminSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerAdmin() and supportsVisibleFederation() are true.
MethodgetDemographicEnablerNotificationSession
Description

Gets the OsidSession associated with the demographic enabler notification service.

Parametersosid.resource.demographic.DemographicEnablerReceiverdemographicEnablerReceiver the notification callback
Returnosid.resource.demographic.DemographicEnablerNotificationSession a DemographicEnablerNotificationSession
ErrorsNULL_ARGUMENT demographicEnablerReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerNotification() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerNotification() is true.
MethodgetDemographicEnablerNotificationSessionForBin
Description

Gets the OsidSession associated with the demographic enabler notification service for the given bin.

Parametersosid.resource.demographic.DemographicEnablerReceiverdemographicEnablerReceiver the notification callback
osid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicEnablerNotificationSession a DemographicEnablerNotificationSession
ErrorsNOT_FOUND no bin found by the given Id
NULL_ARGUMENT demographicEnablerReceiver or binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerNotification() and supportsVisibleFederation() are true.
MethodgetDemographicEnablerBinSession
Description

Gets the OsidSession to lookup demographic enabler/bin mappings for demographic enablers.

Returnosid.resource.demographic.DemographicEnablerBinSession a DemographicEnablerBinSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerBin() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerBin() is true.
MethodgetDemographicEnablerBinAssignmentSession
Description

Gets the OsidSession associated with assigning demographic enablers to bins.

Returnosid.resource.demographic.DemographicEnablerBinAssignmentSession a DemographicEnablerBinAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerBinAssignment() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerBinAssignment() is true.
MethodgetDemographicEnablerSmartBinSession
Description

Gets the OsidSession to manage demographic enabler smart bins.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicEnablerSmartBinSession a DemographicEnablerSmartBinSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerSmartBin() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerSmartBin() is true.
MethodgetDemographicEnablerRuleLookupSession
Description

Gets the OsidSession associated with the demographic enabler mapping lookup service.

Returnosid.resource.demographic.DemographicEnablerRuleLookupSession a DemographicEnablerRuleLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerRuleLookup() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerRuleLookup() is true.
MethodgetDemographicEnablerRuleLookupSessionForBin
Description

Gets the OsidSession associated with the demographic enabler mapping lookup service.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicEnablerRuleLookupSession a DemographicEnablerRuleLookupSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerRuleLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerRuleLookup() and supportsVisibleFederation() are true.
MethodgetDemographicEnablerRuleApplicationSession
Description

Gets the OsidSession associated with the demographic enabler assignment service.

Returnosid.resource.demographic.DemographicEnablerRuleApplicationSession a DemographicEnablerRuleApplicationSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerRuleApplication() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerRuleApplication() is true.
MethodgetDemographicEnablerRuleApplicationSessionForBin
Description

Gets the OsidSession associated with the demographic enabler assignment service for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
Returnosid.resource.demographic.DemographicEnablerRuleApplicationSession a DemographicEnablerRuleApplicationSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDemographicEnablerRuleApplication() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDemographicEnablerRuleApplication() and supportsVisibleFederation() are true.