OSID Logo
OSID Specifications
profile package
Version 3.0.0
Release Candidate Preview
Interfaceosid.profile.ProfileManager
Implementsosid.OsidManager
osid.profile.ProfileProfile
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.ProfilingSessiona profiling session for this service
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfiling() is false
ComplianceoptionalThis 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.IdprofileIdthe 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
ComplianceoptionalThis method must be implemented if supportsProfiling() and supportsVisibleFederation() are true.
MethodgetProfileEntryLookupSession
Description

Gets the OsidSession associated with the profile entry lookup service.

Returnosid.profile.ProfileEntryLookupSessiona ProfileEntryLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntryLookup() is false
ComplianceoptionalThis 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.IdprofileIdthe 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
ComplianceoptionalThis method must be implemented if supportsProfileEntryLookup() and supportsVisibleFederation() are true.
MethodgetProfileEntryQuerySession
Description

Gets the OsidSession associated with the profile entry query service.

Returnosid.profile.ProfileEntryQuerySessiona ProfileEntryQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntryQuery() is false
ComplianceoptionalThis 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.IdprofileIdthe Id of the Profile
Returnosid.profile.ProfileEntryQuerySessiona ProfileEntryQuerySession
ErrorsNOT_FOUNDno Profile found by the given Id
NULL_ARGUMENT profileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntryQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsProfileEntryQuery() and supportsVisibleFederation() are true
MethodgetProfileEntrySearchSession
Description

Gets the OsidSession associated with the profile entry search service.

Returnosid.profile.ProfileEntrySearchSessiona ProfileEntrySearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntrySearch() is false
ComplianceoptionalThis 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.IdprofileIdthe 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
ComplianceoptionalThis method must be implemented if supportsProfileEntrySearch() and supportsVisibleFederation() are true.
MethodgetProfileEntryAdminSession
Description

Gets the OsidSession associated with the profile entry administration service.

Returnosid.profile.ProfileEntryAdminSessiona ProfileEntryAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntryAdmin() is false
ComplianceoptionalThis 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.IdprofileIdthe 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
ComplianceoptionalThis 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.ProfileEntryReceiverprofileEntryReceiverthe profile entry receiver
Returnosid.profile.ProfileEntryNotificationSessiona ProfileEntryNotificationSession
ErrorsNULL_ARGUMENT profileEntryReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntryNotification() is false
ComplianceoptionalThis 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.ProfileEntryReceiverprofileEntryReceiverthe profile entry receiver
osid.id.IdprofileIdthe 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
ComplianceoptionalThis method must be implemented if supportsProfileEntryNotification() and supportsVisibleFederation() are true.
MethodgetProfileEntryProfileSession
Description

Gets the session for retrieving profile entry to profile mappings.

Returnosid.profile.ProfileEntryProfileSessiona ProfileEntryProfileSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntryProfile() is false
ComplianceoptionalThis method must be implemented if supportsProfileEntryProfile() is true.
MethodgetProfileEntryProfileAssignmentSession
Description

Gets the session for assigning profile entries to profile mappings.

Returnosid.profile.ProfileEntryProfileAssignmentSessiona ProfileEntryProfileAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntryProfileAssignment() is false
ComplianceoptionalThis method must be implemented if supportsProfileEntryProfileAssignment() is true.
MethodgetProfileEntrySmartProfileSession
Description

Gets the session for managing dynamic profile entry profiles.

Parametersosid.id.IdprofileIdthe Id of the profile
Returnosid.profile.ProfileEntrySmartProfileSessiona ProfileEntrySmartProfileSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileEntrySmartProfile() is false
ComplianceoptionalThis method must be implemented if supportsProfileEntrySmartProfile() is true.
MethodgetProfileItemLookupSession
Description

Gets the OsidSession associated with the profile item lookup service.

Returnosid.profile.ProfileItemLookupSessiona ProfileItemLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileItemLookup() is false
ComplianceoptionalThis 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.IdprofileIdthe 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
ComplianceoptionalThis method must be implemented if supportsProfileItemLookup() and supportsVisibleFederation() are true.
MethodgetProfileItemQuerySession
Description

Gets a profile item query session.

Returnosid.profile.ProfileItemQuerySession a ProfileItemQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileItemQuery() is false
ComplianceoptionalThis method must be implemented if supportsProfileItemQuery() is true.
MethodgetProfileItemQuerySessionForProfile
Description

Gets a profile item query session for the given profile.

Parametersosid.id.IdprofileIdthe 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
ComplianceoptionalThis method must be implemented if supportsProfileItemQuery() and supportsVisibleFederation() are true.
MethodgetProfileItemSearchSession
Description

Gets the OsidSession associated with the profile item search service.

Returnosid.profile.ProfileItemSearchSessiona ProfileItemSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileItemSearch() is false
ComplianceoptionalThis 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.IdprofileIdthe Id of the profile
Returnosid.profile.ProfileItemSearchSessiona ProfileItemSearchSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProfileItemSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsProfileItemSearch() and supportsVisibleFederation() are true.
MethodgetProfileItemAdminSession
Description

Gets the OsidSession associated with the profile item administration service.

Returnosid.profile.ProfileItemAdminSessiona ProfileItemAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileItemAdmin() is false
ComplianceoptionalThis 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.IdprofileIdthe 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
ComplianceoptionalThis 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.ProfileItemReceiverprofileItemReceiverthe profile item receiver
Returnosid.profile.ProfileItemNotificationSessiona ProfileItemNotificationSession
ErrorsNULL_ARGUMENT profileItemReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileItemNotification() is false
ComplianceoptionalThis 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.ProfileItemReceiverprofileItemReceiverthe profile item receiver
osid.id.IdprofileIdthe 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
ComplianceoptionalThis method must be implemented if supportsProfileItemNotification() and supportsVisibleFederation() are true.
MethodgetProfileItemProfileSession
Description

Gets the session for retrieving profile item to profile mappings.

Returnosid.profile.ProfileItemProfileSessiona ProfileItemProfileSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileItemProfile() is false
ComplianceoptionalThis method must be implemented if supportsProfileItemProfile() is true.
MethodgetProfileItemProfileAssignmentSession
Description

Gets the session for assigning profile item to profile mappings.

Returnosid.profile.ProfileItemProfileSessiona ProfileItemProfileAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileItemProfileAssignment() is false
ComplianceoptionalThis method must be implemented if supportsProfileItemProfileAssignment() is true.
MethodgetProfileItemSmartProfileSession
Description

Gets the session for managing dynamic profile item profile.

Parametersosid.id.IdprofileIdthe Id of the profile
Returnosid.profile.ProfileItemSmartProfileSessiona ProfileItemSmartProfileSession
ErrorsNOT_FOUND profileId not found
NULL_ARGUMENT profileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileItemSmartProfile() is false
ComplianceoptionalThis method must be implemented if supportsProfileItemSmartProfile() is true.
MethodgetProfileLookupSession
Description

Gets the OsidSession associated with the profile lookup service.

Returnosid.profile.ProfileLookupSessiona ProfileLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileLookup() is false
ComplianceoptionalThis method must be implemented if supportsProfileLookup() is true.
MethodgetProfileQuerySession
Description

Gets the profile query session.

Returnosid.profile.ProfileQuerySessiona ProfileQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileQuery() is false
ComplianceoptionalThis method must be implemented if supportsProfileQuery() is true.
MethodgetProfileSearchSession
Description

Gets the OsidSession associated with the profile search service.

Returnosid.profile.ProfileSearchSessiona ProfileSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileSearch() is false
ComplianceoptionalThis method must be implemented if supportsProfileSearch() is true.
MethodgetProfileAdminSession
Description

Gets the OsidSession associated with the profile administration service.

Returnosid.profile.ProfileAdminSessiona ProfileAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileAdmin() is false
ComplianceoptionalThis method must be implemented if supportsProfileAdmin() is true.
MethodgetProfileNotificationSession
Description

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

Parametersosid.profile.ProfileReceiverprofileReceiverthe profile receiver
Returnosid.profile.ProfileNotificationSessiona ProfileNotificationSession
ErrorsNULL_ARGUMENT profileReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileNotification() is false
ComplianceoptionalThis method must be implemented if supportsProfileNotification() is true.
MethodgetProfileHierarchySession
Description

Gets the session traversing profile hierarchies.

Returnosid.profile.ProfileHierarchySessiona ProfileHierarchySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsProfileHierarchy() is true.
MethodgetProfileHierarchyDesignSession
Description

Gets the session designing profile hierarchies.

Returnosid.profile.ProfileHierarchyDesignSessiona ProfileHierarchyDesignSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsProfileHierarchyDesign() is true.
MethodgetProfileBatchManager
Description

Gets a ProfileBatchManager.

Returnosid.profile.batch.ProfileBatchManagera ProfileBatchManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileBatch() is false
ComplianceoptionalThis method must be implemented if supportsProfileBatch() is true.
MethodgetProfileRulesManager
Description

Gets a ProfileRulesManager.

Returnosid.profile.rules.ProfileRulesManagera ProfileRulesManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsProfileRules() is false
ComplianceoptionalThis method must be implemented if supportsProfileRules() is true.