OSID Logo
OSID Specifications
profile package
Version 3.0.0
Interfaceosid.profile.ProfileEntrySearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.profile.ProfileEntrySearchSession
osid.profile.ProfileEntrySmartProfileSession
Description

An interface for specifying the ordering of search results.

MethodorderByImplicit
Description

Specifies a preference for ordering the result set by the implicit status.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByResource
Description

Specifies a preference for ordering the result set by the resource.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsResourceSearchOrder
Description

Tests if a Resource is available.

Returnbooleantrue if a resource search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetResourceSearchOrder
Description

Gets the resource search order.

Returnosid.resource.ResourceSearchOrderthe resource search order
ErrorsUNIMPLEMENTEDsupportsResourceSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsResourceSearchOrder() is true .
MethodorderByAgent
Description

Specifies a preference for ordering the result set by the agent.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsAgentSearchOrder
Description

Tests if an Agent is available.

Returnbooleantrue if an agent search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAgentSearchOrder
Description

Gets the agent search order.

Returnosid.authentication.AgentSearchOrderthe agent search order
ErrorsUNIMPLEMENTEDsupportsAgentSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsAgentSearchOrder() is true .
MethodorderByProfileItem
Description

Specifies a preference for ordering the result set by the active status.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsProfileItemSearchOrder
Description

Tests if a ProfileItem is available.

Returnbooleantrue if a profile item search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetProfileItemSearchOrder
Description

Gets the profil eitem search order.

Returnosid.profile.ProfileItemSearchOrderthe profile item search order
ErrorsUNIMPLEMENTEDsupportsProfileItemSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsProfileItemSearchOrder() is true .
MethodgetProfileEntrySearchOrderRecord
Description

Gets the profile entry search order record corresponding to the given profile entry record Type .Multiple retrievals return the same underlying object.

Parametersosid.type.TypeprofileEntryRecordTypea profile entry record type
Returnosid.profile.records.ProfileEntrySearchOrderRecordthe profile entry search order record
ErrorsNULL_ARGUMENTprofileEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(profileEntryRecordType) is false
CompliancemandatoryThis method must be implemented.