OSID Logo
OSID Specifications
profile package
Version 3.0.0
Release Candidate Preview
Interfaceosid.profile.ProfileEntrySearchOrder
Implementsosid.OsidRelationshipSearchOrder
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_ARGUMENT style 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_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsResourceSearchOrder
Description

Tests if a Resource is available.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsResourceSearchOrder() 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_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsAgentSearchOrder
Description

Tests if an Agent is available.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsAgentSearchOrder() 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_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsProfileItemSearchOrder
Description

Tests if a ProfileItem is available.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsProfileItemSearchOrder() 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_ARGUMENT profileEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(profileEntryRecordType) is false
CompliancemandatoryThis method must be implemented.