OSID Logo
OSID Specifications
authorization package
Version 3.0.0
Release Candidate Preview
Interfaceosid.authorization.AuthorizationSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByResource
Description

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

Parametersosid.SearchOrderStylestylethe search 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 interface 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.
MethodorderByTrust
Description

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

Parametersosid.SearchOrderStylestylethe search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByAgent
Description

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

Parametersosid.SearchOrderStylestylethe search 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 interface 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.
MethodorderByFunction
Description

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

Parametersosid.SearchOrderStylestylethe search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsFunctionSearchOrder
Description

Tests if a Function is available.

Returnboolean true if a function search order interface is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetFunctionSearchOrder
Description

Gets the function search order.

Returnosid.authorization.FunctionSearchOrderthe function search order
ErrorsUNIMPLEMENTED supportsFunctionSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsQualifierSearchOrder() is true.
MethodorderByQualifier
Description

Specifies a preference for ordering the result set by the qualifier,

Parametersosid.SearchOrderStylestylethe search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsQualifierSearchOrder
Description

Tests if a Qualifier is available.

Returnboolean true if a qualifier search order interface is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetQualifierSearchOrder
Description

Gets the qualifier search order.

Returnosid.authorization.QualifierSearchOrderthe qualifier search order
ErrorsUNIMPLEMENTED supportsQualifierSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsQualifierSearchOrder() is true.
MethodgetAuthorizationSearchOrderRecord
Description

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

Parametersosid.type.TypeauthorizationRecordTypean authorization record type
Returnosid.authorization.records.AuthorizationSearchOrderRecordthe authorization search order record
ErrorsNULL_ARGUMENT authorizationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(authorizationRecordType) is false
CompliancemandatoryThis method must be implemented.