OSID Logo
OSID Specifications
profile package
Version 3.0.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.ProfilingSessiona profiling session for this service
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfiling() 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.ProfilingSessiona ProfilingSession
ErrorsNOT_FOUNDprofileId
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfiling() 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
UNIMPLEMENTEDsupportsProfileEntryLookup() 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.ProfileEntryLookupSessiona ProfileEntryLookupSession
ErrorsNOT_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileEntryLookup() 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
UNIMPLEMENTEDsupportsProfileEntryQuery() 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_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileEntryQuery() 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
UNIMPLEMENTEDsupportsProfileEntrySearch() 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.ProfileEntrySearchSessiona ProfileEntrySearchSession
ErrorsNOT_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileEntrySearch() 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
UNIMPLEMENTEDsupportsProfileEntryAdmin() 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.ProfileEntryAdminSessiona ProfileEntryAdminSession
ErrorsNOT_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileEntryAdmin() 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_ARGUMENTprofileEntryReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileEntryNotification() 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.ProfileEntryNotificationSessiona ProfileEntryNotificationSession
ErrorsNOT_FOUNDprofileId not found
NULL_ARGUMENTprofileEntryReceiver or profileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileEntryNotification() 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
UNIMPLEMENTEDsupportsProfileEntryProfile() 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
UNIMPLEMENTEDsupportsProfileEntryProfileAssignment() 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_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileEntrySmartProfile() 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
UNIMPLEMENTEDsupportsProfileItemLookup() 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.ProfileItemLookupSessiona ProfileItemLookupSession
ErrorsNOT_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileItemLookup() 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.ProfileItemQuerySessiona ProfileItemQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileItemQuery() 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.ProfileItemQuerySessiona ProfileItemQuerySession
ErrorsNOT_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileItemQuery() 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
UNIMPLEMENTEDsupportsProfileItemSearch() 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_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileItemSearch() 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
UNIMPLEMENTEDsupportsProfileItemAdmin() 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.ProfileItemAdminSessiona ProfileItemAdminSession
ErrorsNOT_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileItemAdmin() 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_ARGUMENTprofileItemReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileItemNotification() 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.ProfileItemNotificationSessiona ProfileItemNotificationSession
ErrorsNOT_FOUNDprofileId not found
NULL_ARGUMENTprofileItemReceiver or profileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileItemNotification() 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
UNIMPLEMENTEDsupportsProfileItemProfile() 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
UNIMPLEMENTEDsupportsProfileItemProfileAssignment() 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_FOUNDprofileId not found
NULL_ARGUMENTprofileId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileItemSmartProfile() 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
UNIMPLEMENTEDsupportsProfileLookup() 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
UNIMPLEMENTEDsupportsProfileQuery() 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
UNIMPLEMENTEDsupportsProfileSearch() 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
UNIMPLEMENTEDsupportsProfileAdmin() 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_ARGUMENTprofileReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProfileNotification() 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
UNIMPLEMENTEDsupportsProfileHierarchy() 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
UNIMPLEMENTEDsupportsProfileHierarchyDesign() 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
UNIMPLEMENTEDsupportsProfileBatch() 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
UNIMPLEMENTEDsupportsProfileRules() is false
ComplianceoptionalThis method must be implemented if supportsProfileRules() is true.