OSID Logo
OSID Specifications
profile package
Version 3.1.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.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByResource
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsResourceSearchOrder
Description

Tests if a Resource is available.

Returnboolean true if a resource search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResourceSearchOrder
Description

Gets the resource search order.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsResourceSearchOrder() is false
Complianceoptional This method must be implemented if supportsResourceSearchOrder() is true.
MethodorderByAgent
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsAgentSearchOrder
Description

Tests if an Agent is available.

Returnboolean true if an agent search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAgentSearchOrder
Description

Gets the agent search order.

Returnosid.authentication.AgentSearchOrder the agent search order
ErrorsUNIMPLEMENTED supportsAgentSearchOrder() is false
Complianceoptional This method must be implemented if supportsAgentSearchOrder() is true.
MethodorderByProfileItem
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsProfileItemSearchOrder
Description

Tests if a ProfileItem is available.

Returnboolean true if a profile item search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetProfileItemSearchOrder
Description

Gets the profil eitem search order.

Returnosid.profile.ProfileItemSearchOrder the profile item search order
ErrorsUNIMPLEMENTED supportsProfileItemSearchOrder() is false
Complianceoptional This 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.TypeprofileEntryRecordType a profile entry record type
Returnosid.profile.records.ProfileEntrySearchOrderRecord the profile entry search order record
ErrorsNULL_ARGUMENT profileEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(profileEntryRecordType) is false
Compliancemandatory This method must be implemented.