OSID Logo
OSID Specifications
resource demographic package
Version 3.1.0
Interfaceosid.resource.demographic.ResourceDemographicProxyManager
Implementsosid.OsidProxyManager
osid.resource.demographic.ResourceDemographicProfile
Used Byosid.resource.ResourceProxyManager
Description

The resource demographic proxy manager provides access to resource demographic sessions and provides interoperability tests for various aspects of this service. Methods in this manager pass a Proxy for passing information from server environments. 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicLookupSession a DemographicLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicLookupSession a DemographicLookupSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicQuerySession a DemographicQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicQuerySession a DemographicQuerySession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicSearchSession a DemographicSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicSearchSession a DemographicSearchSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicAdminSession a DemographicAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicAdminSession a DemographicAdminSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicBuilderSession a DemographicBuilderSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicBuilderSession a DemographicBuilderSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicNotificationSession a DemographicNotificationSession
ErrorsNULL_ARGUMENT demographicReceiver or proxy 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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicNotificationSession a DemographicNotificationSession
ErrorsNOT_FOUND no bin found by the given Id
NULL_ARGUMENT demographicReceiver, binId, or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicBinSession a DemographicBinSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicBinAssignmentSession a DemographicBinAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicSmartBinSession a DemographicSmartBinSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerLookupSession a DemographicEnablerLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerLookupSession a DemographicEnablerLookupSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerQuerySession a DemographicEnablerQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerQuerySession a DemographicEnablerQuerySession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerSearchSession a DemographicEnablerSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerSearchSession a DemographicEnablerSearchSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerAdminSession a DemographicEnablerAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerAdminSession a DemographicEnablerAdminSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerNotificationSession a DemographicEnablerNotificationSession
ErrorsNULL_ARGUMENT demographicEnablerReceiver or proxy 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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerNotificationSession a DemographicEnablerNotificationSession
ErrorsNOT_FOUND no bin found by the given Id
NULL_ARGUMENT demographicEnablerReceiver, binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerBinSession a DemographicEnablerBinSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerBinAssignmentSession a DemographicEnablerBinAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerSmartBinSession a DemographicEnablerSmartBinSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerRuleLookupSession a DemographicEnablerRuleLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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 for the given bin.

Parametersosid.id.IdbinId the Id of the Bin
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerRuleLookupSession a DemographicEnablerRuleLookupSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerRuleApplicationSession a DemographicEnablerRuleApplicationSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxy a proxy
Returnosid.resource.demographic.DemographicEnablerRuleApplicationSession a DemographicEnablerRuleApplicationSession
ErrorsNOT_FOUND no Bin found by the given Id
NULL_ARGUMENT binId or proxy 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.