OSID Logo
OSID Specifications
profile rules package
Version 3.1.0
Interfaceosid.profile.rules.ProfileEntryEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.profile.rules.ProfileEntryEnablerQuerySession
osid.profile.rules.ProfileEntryEnablerSearchSession
osid.profile.rules.ProfileEntryEnablerSmartProfileSession
Description

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

MethodmatchRuledProfileEntryId
Description

Matches enablers mapped to the profile entry.

Parametersosid.id.IdprofileEntryId the profile entry Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT profileEntryId is null
Compliancemandatory This method must be implemented.
MethodclearRuledProfileEntryIdTerms
Description

Clears the profile entry Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledProfileEntryQuery
Description

Tests if a ProfileEntryQuery is available.

Returnboolean true if a profile entry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledProfileEntryQuery
Description

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

Returnosid.profile.ProfileEntryQuery the profile entry query
ErrorsUNIMPLEMENTED supportsRuledProfileEntryQuery() is false
Complianceoptional This method must be implemented if supportsRuledProfileEntryQuery() is true.
MethodmatchAnyRuledProfileEntry
Description

Matches enablers mapped to any profile entry.

Parametersbooleanmatch true for enablers mapped to any profile entry, false to match enablers mapped to no profile entry
Compliancemandatory This method must be implemented.
MethodclearRuledProfileEntryTerms
Description

Clears the profile entry query terms.

Compliancemandatory This method must be implemented.
MethodmatchProfileId
Description

Matches enablers mapped to the profile.

Parametersosid.id.IdprofileId the profile Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT profileId is null
Compliancemandatory This method must be implemented.
MethodclearProfileIdTerms
Description

Clears the profile Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsProfileQuery
Description

Tests if a ProfileQuery is available.

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

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

Returnosid.profile.ProfileQuery the profile query
ErrorsUNIMPLEMENTED supportsProfileQuery() is false
Complianceoptional This method must be implemented if supportsProfileQuery() is true.
MethodclearProfileTerms
Description

Clears the profile query terms.

Compliancemandatory This method must be implemented.
MethodgetProfileEntryEnablerQueryRecord
Description

Gets the profile entry enabler query record corresponding to the given ProfileEntryEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeprofileEntryEnablerRecordType a profile entry enabler record type
Returnosid.profile.rules.records.ProfileEntryEnablerQueryRecord the profile entry enabler query record
ErrorsNULL_ARGUMENT profileEntryEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(profileEntryEnablerRecordType) is false
Compliancemandatory This method must be implemented.