OSID Logo
OSID Specifications
authorization rules package
Version 3.1.0
Interfaceosid.authorization.rules.AuthorizationEnablerQuery
Implementsosid.OsidEffectuatorQuery
Used Byosid.authorization.rules.AuthorizationEnablerQuerySession
osid.authorization.rules.AuthorizationEnablerSearchSession
osid.authorization.rules.AuthorizationEnablerSmartVaultSession
Description

This is the query for searching authorization enablers. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchRuledAuthorizationId
Description

Matches enablers mapped to an authorization.

Parametersosid.id.IdauthorizationId the authorization Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT authorizationId is null
Compliancemandatory This method must be implemented.
MethodclearRuledAuthorizationIdTerms
Description

Clears the authorization Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledAuthorizationQuery
Description

Tests if an AuthorizationQuery is available.

Returnboolean true if an authorization query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledAuthorizationQuery
Description

Gets the query for an authorization. Multiple retrievals produce a nested OR term.

Returnosid.authorization.AuthorizationQuery the authorization query
ErrorsUNIMPLEMENTED supportsRuledAuthorizationQuery() is false
Complianceoptional This method must be implemented if supportsRuledAuthorizationQuery() is true.
MethodmatchAnyRuledAuthorization
Description

Matches enablers mapped to any authorization.

Parametersbooleanmatch true for enablers mapped to any authorization, false to match enablers mapped to no authorizations
Compliancemandatory This method must be implemented.
MethodclearRuledAuthorizationTerms
Description

Clears the authorization query terms.

Compliancemandatory This method must be implemented.
MethodmatchVaultId
Description

Matches enablers mapped to the vault.

Parametersosid.id.IdvaultId the vault Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT vaultId is null
Compliancemandatory This method must be implemented.
MethodclearVaultIdTerms
Description

Clears the vault Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsVaultQuery
Description

Tests if a VaultQuery is available.

Returnboolean true if a vault query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetVaultQuery
Description

Gets the query for a vault. Multiple retrievals produce a nested OR term.

Returnosid.authorization.VaultQuery the vault query
ErrorsUNIMPLEMENTED supportsVaultQuery() is false
Complianceoptional This method must be implemented if supportsVaultQuery() is true.
MethodclearVaultTerms
Description

Clears the vault query terms.

Compliancemandatory This method must be implemented.
MethodgetAuthorizationEnablerQueryRecord
Description

Gets the authorization enabler query record corresponding to the given AuthorizationEnabler record Type . Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeauthorizationEnablerRecordType an authorization enabler record type
Returnosid.authorization.rules.records.AuthorizationEnablerQueryRecord the authorization enabler query record
ErrorsNULL_ARGUMENT authorizationEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(authorizationEnablerRecordType) is false
Compliancemandatory This method must be implemented.