OSID Logo
OSID Specifications
profile package
Version 3.1.0
Interfaceosid.profile.ProfileManager
Implementsosid.OsidManager
osid.profile.ProfileProfile
Used Byosid.orchestration.OrchestrationManager
Description

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

  • ProfilingSession: a session to performs profile checks
  • ProfileEntryLookupSession: a session to look up ProfileEntries
  • ProfileEntryQuerySession: a session to query ProfileEntries
  • ProfileEntrySearchSession: a session to search ProfileEntries
  • ProfileEntryAdminSession: a session to create, modify and delete ProfileEntries
  • ProfileEntryNotificationSession: a session to receive messages pertaining to ProfileEntry changes
  • ProfileEntryProfileSession: a session to look up profile entry to profile mappings
  • ProfileEntryProfileAssignmentSession: a session to manage profile entry to profile mappings
  • ProfileEntrySmartProfileSession: a session to manage smart profile entry profiles
  • ProfileItemLookupSession: a session to look up ProfileItems
  • ProfileQuerySearchSession: a session to query ProfileItems
  • ProfileItemSearchSession: a session to search ProfileItems
  • ProfileItemAdminSession: a session to create, modify and delete ProfileItems
  • ProfileItemNotificationSession: a session to receive messages pertaining to ProfileItem changes
  • ProfileItemProfileSession: a session for looking up profile item and profile mappings
  • ProfileItemProfileAssignmentSession: a session for managing profile item and profile mappings
  • ProfileItemSmartProfileSession: a session to manage smart profile item profiles
  • ProfileLookupSession: a session to lookup profiles
  • ProfileQuerySession: a session to query profiles
  • ProfileSearchSession: a session to search profiles
  • ProfileAdminSession: a session to create, modify and delete profiles
  • ProfileNotificationSession: a session to receive messages pertaining to Profile changes
  • ProfileHierarchySession: a session to traverse the Profile hierarchy
  • ProfileHierarchyDesignSession: a session to manage the Profile hierarchy
MethodgetProfilingSession
Description

Gets a ProfilingSession which is responsible for performing profile checks.

Returnosid.profile.ProfilingSession a profiling session for this service
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfiling() is false
Complianceoptional This method must be implemented if supportsProfiling() is true.
MethodgetProfilingSessionForProfile
Description

Gets a ProfilingSession which is responsible for performing profile checks for the given profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfilingSession a ProfilingSession
ErrorsNOT_FOUND profileId
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfiling() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfiling() and supportsVisibleFederation() are true.
MethodgetProfileEntryLookupSession
Description

Gets the OsidSession associated with the profile entry lookup service.

Returnosid.profile.ProfileEntryLookupSession a ProfileEntryLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryLookup() is false
Complianceoptional This method must be implemented if supportsProfileEntryLookup() is true.
MethodgetProfileEntryLookupSessionForProfile
Description

Gets the OsidSession associated with the profile entry lookup service for the given profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileEntryLookupSession a ProfileEntryLookupSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileEntryLookup() and supportsVisibleFederation() are true.
MethodgetProfileEntryQuerySession
Description

Gets the OsidSession associated with the profile entry query service.

Returnosid.profile.ProfileEntryQuerySession a ProfileEntryQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryQuery() is false
Complianceoptional This method must be implemented if supportsProfileEntryQuery() is true.
MethodgetProfileEntryQuerySessionForProfile
Description

Gets the OsidSession associated with the profile entry query service for the given profile.

Parametersosid.id.IdprofileId the Id of the Profile
Returnosid.profile.ProfileEntryQuerySession a ProfileEntryQuerySession
ErrorsNOT_FOUND no Profile found by the given Id
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileEntryQuery() and supportsVisibleFederation() are true
MethodgetProfileEntrySearchSession
Description

Gets the OsidSession associated with the profile entry search service.

Returnosid.profile.ProfileEntrySearchSession a ProfileEntrySearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntrySearch() is false
Complianceoptional This method must be implemented if supportsProfileEntrySearch() is true.
MethodgetProfileEntrySearchSessionForProfile
Description

Gets the OsidSession associated with the profile entry search service for the given profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileEntrySearchSession a ProfileEntrySearchSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntrySearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileEntrySearch() and supportsVisibleFederation() are true.
MethodgetProfileEntryAdminSession
Description

Gets the OsidSession associated with the profile entry administration service.

Returnosid.profile.ProfileEntryAdminSession a ProfileEntryAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryAdmin() is false
Complianceoptional This method must be implemented if supportsProfileEntryAdmin() is true.
MethodgetProfileEntryAdminSessionForProfile
Description

Gets the OsidSession associated with the profile entry admin service for the given profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileEntryAdminSession a ProfileEntryAdminSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileEntryAdmin() and supportsVisibleFederation() are true.
MethodgetProfileEntryNotificationSession
Description

Gets the notification session for notifications pertaining to profile entry changes.

Parametersosid.profile.ProfileEntryReceiverprofileEntryReceiver the profile entry receiver
Returnosid.profile.ProfileEntryNotificationSession a ProfileEntryNotificationSession
ErrorsNULL_ARGUMENT profileEntryReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryNotification() is false
Complianceoptional This method must be implemented if supportsProfileEntryNotification() is true.
MethodgetProfileEntryNotificationSessionForProfile
Description

Gets the OsidSession associated with the profile entry notification service for the given profile.

Parametersosid.profile.ProfileEntryReceiverprofileEntryReceiver the profile entry receiver
osid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileEntryNotificationSession a ProfileEntryNotificationSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileEntryReceiver or profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileEntryNotification() and supportsVisibleFederation() are true.
MethodgetProfileEntryProfileSession
Description

Gets the session for retrieving profile entry to profile mappings.

Returnosid.profile.ProfileEntryProfileSession a ProfileEntryProfileSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryProfile() is false
Complianceoptional This method must be implemented if supportsProfileEntryProfile() is true.
MethodgetProfileEntryProfileAssignmentSession
Description

Gets the session for assigning profile entries to profile mappings.

Returnosid.profile.ProfileEntryProfileAssignmentSession a ProfileEntryProfileAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntryProfileAssignment() is false
Complianceoptional This method must be implemented if supportsProfileEntryProfileAssignment() is true.
MethodgetProfileEntrySmartProfileSession
Description

Gets the session for managing dynamic profile entry profiles.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileEntrySmartProfileSession a ProfileEntrySmartProfileSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileEntrySmartProfile() is false
Complianceoptional This method must be implemented if supportsProfileEntrySmartProfile() is true.
MethodgetProfileItemLookupSession
Description

Gets the OsidSession associated with the profile item lookup service.

Returnosid.profile.ProfileItemLookupSession a ProfileItemLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemLookup() is false
Complianceoptional This method must be implemented if supportsProfileItemLookup() is true.
MethodgetProfileItemLookupSessionForProfile
Description

Gets the OsidSession associated with the profile item lookup service for the given profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileItemLookupSession a ProfileItemLookupSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileItemLookup() and supportsVisibleFederation() are true.
MethodgetProfileItemQuerySession
Description

Gets a profile item query session.

Returnosid.profile.ProfileItemQuerySession a ProfileItemQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemQuery() is false
Complianceoptional This method must be implemented if supportsProfileItemQuery() is true.
MethodgetProfileItemQuerySessionForProfile
Description

Gets a profile item query session for the given profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileItemQuerySession a ProfileItemQuerySession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileItemQuery() and supportsVisibleFederation() are true.
MethodgetProfileItemSearchSession
Description

Gets the OsidSession associated with the profile item search service.

Returnosid.profile.ProfileItemSearchSession a ProfileItemSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemSearch() is false
Complianceoptional This method must be implemented if supportsProfileItemSearch() is true.
MethodgetProfileItemSearchSessionForProfile
Description

Gets the OsidSession associated with the profile item search service for the given profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileItemSearchSession a ProfileItemSearchSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileItemSearch() and supportsVisibleFederation() are true.
MethodgetProfileItemAdminSession
Description

Gets the OsidSession associated with the profile item administration service.

Returnosid.profile.ProfileItemAdminSession a ProfileItemAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemAdmin() is false
Complianceoptional This method must be implemented if supportsProfileItemAdmin() is true.
MethodgetProfileItemAdminSessionForProfile
Description

Gets the OsidSession associated with the profile item admin service for the given profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileItemAdminSession a ProfileItemAdminSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileItemAdmin() and supportsVisibleFederation() are true.
MethodgetProfileItemNotificationSession
Description

Gets the notification session for notifications pertaining to profile item changes.

Parametersosid.profile.ProfileItemReceiverprofileItemReceiver the profile item receiver
Returnosid.profile.ProfileItemNotificationSession a ProfileItemNotificationSession
ErrorsNULL_ARGUMENT profileItemReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemNotification() is false
Complianceoptional This method must be implemented if supportsProfileItemNotification() is true.
MethodgetProfileItemNotificationSessionForProfile
Description

Gets the OsidSession associated with the profile item notification service for the given profile.

Parametersosid.profile.ProfileItemReceiverprofileItemReceiver the profile item receiver
osid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileItemNotificationSession a ProfileItemNotificationSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileItemReceiver or profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsProfileItemNotification() and supportsVisibleFederation() are true.
MethodgetProfileItemProfileSession
Description

Gets the session for retrieving profile item to profile mappings.

Returnosid.profile.ProfileItemProfileSession a ProfileItemProfileSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemProfile() is false
Complianceoptional This method must be implemented if supportsProfileItemProfile() is true.
MethodgetProfileItemProfileAssignmentSession
Description

Gets the session for assigning profile item to profile mappings.

Returnosid.profile.ProfileItemProfileSession a ProfileItemProfileAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemProfileAssignment() is false
Complianceoptional This method must be implemented if supportsProfileItemProfileAssignment() is true.
MethodgetProfileItemSmartProfileSession
Description

Gets the session for managing dynamic profile item profile.

Parametersosid.id.IdprofileId the Id of the profile
Returnosid.profile.ProfileItemSmartProfileSession a ProfileItemSmartProfileSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemSmartProfile() is false
Complianceoptional This method must be implemented if supportsProfileItemSmartProfile() is true.
MethodgetProfileLookupSession
Description

Gets the OsidSession associated with the profile lookup service.

Returnosid.profile.ProfileLookupSession a ProfileLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileLookup() is false
Complianceoptional This method must be implemented if supportsProfileLookup() is true.
MethodgetProfileQuerySession
Description

Gets the profile query session.

Returnosid.profile.ProfileQuerySession a ProfileQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileQuery() is false
Complianceoptional This method must be implemented if supportsProfileQuery() is true.
MethodgetProfileSearchSession
Description

Gets the OsidSession associated with the profile search service.

Returnosid.profile.ProfileSearchSession a ProfileSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileSearch() is false
Complianceoptional This method must be implemented if supportsProfileSearch() is true.
MethodgetProfileAdminSession
Description

Gets the OsidSession associated with the profile administration service.

Returnosid.profile.ProfileAdminSession a ProfileAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileAdmin() is false
Complianceoptional This method must be implemented if supportsProfileAdmin() is true.
MethodgetProfileNotificationSession
Description

Gets the notification session for notifications pertaining to profile service changes.

Parametersosid.profile.ProfileReceiverprofileReceiver the profile receiver
Returnosid.profile.ProfileNotificationSession a ProfileNotificationSession
ErrorsNULL_ARGUMENT profileReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileNotification() is false
Complianceoptional This method must be implemented if supportsProfileNotification() is true.
MethodgetProfileHierarchySession
Description

Gets the session traversing profile hierarchies.

Returnosid.profile.ProfileHierarchySession a ProfileHierarchySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileHierarchy() is false
Complianceoptional This method must be implemented if supportsProfileHierarchy() is true.
MethodgetProfileHierarchyDesignSession
Description

Gets the session designing profile hierarchies.

Returnosid.profile.ProfileHierarchyDesignSession a ProfileHierarchyDesignSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsProfileHierarchyDesign() is true.
MethodgetProfileBatchManager
Description

Gets a ProfileBatchManager.

Returnosid.profile.batch.ProfileBatchManager a ProfileBatchManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileBatch() is false
Complianceoptional This method must be implemented if supportsProfileBatch() is true.
MethodgetProfileRulesManager
Description

Gets a ProfileRulesManager.

Returnosid.profile.rules.ProfileRulesManager a ProfileRulesManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileRules() is false
Complianceoptional This method must be implemented if supportsProfileRules() is true.