OSID Logo
OSID Specifications
profile package
Version 3.0.0
Release Candidate Preview
Interfaceosid.profile.ProfileEntryQuery
Implementsosid.OsidRelationshipQuery
Description

The query for profile entries.

MethodmatchImplicit
Description

Matches implicit profile entries.

Parametersbooleanmatch true ito match implicit profile entries, false to match implciit profile entries
CompliancemandatoryThis method must be implemented.
MethodclearImplicitTerms
Description

Clears the implicit profile entries query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRelatedProfileEntryId
Description

Adds an Id to match an explicit or implicitly related profile entries depending on matchExplicitProfileEntries(). Multiple Ids can be added to perform a boolean OR among them.

Parametersosid.id.Idid Id to match
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT id is null
CompliancemandatoryThis method must be implemented.
MethodclearRelatedProfileEntryIdTerms
Description

Clears the related profile entry Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRelatedProfileEntryQuery
Description

Tests if a ProfileEntryQuery is available.

Returnboolean true if a profile entry query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRelatedProfileEntryQuery
Description

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

Returnosid.profile.ProfileEntryQuerythe profile entry query
ErrorsUNIMPLEMENTED supportsRelatedProfileEntryQuery() is false
ComplianceoptionalThis method must be implemented if supportsRelatedProfileEntryQuery() is true.
MethodclearRelatedProfileEntryTerms
Description

Clears the related profile entry query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchResourceId
Description

Matches the resource identified by the given Id.

Parametersosid.id.IdresourceIdthe Id of the Resource
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearResourceIdTerms
Description

Clears the resource Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

Returnboolean true if a resource query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetResourceQuery
Description

Gets the resource query.

Parametersbooleanmatch true if a positive match, false for a negative match
Returnosid.resource.ResourceQuerythe ResourceQuery
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
ComplianceoptionalThis method must be implemented if supportsResourceQuery() is true.
MethodclearResourceTerms
Description

Clears the resource terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAgentId
Description

Matches the agent identified by the given Id.

Parametersosid.id.IdagentIdthe Id of the Agent
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
CompliancemandatoryThis method must be implemented.
MethodclearAgentIdTerms
Description

Clears the agent Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAgentQuery
Description

Tests if an AgentQuery is available.

Returnboolean true if an agent query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAgentQuery
Description

Gets the agent query.

Parametersbooleanmatch true if a positive match, false for a negative match
Returnosid.authentication.AgentQuerythe AgentQuery
ErrorsUNIMPLEMENTED supportsAgentQuery() is false
ComplianceoptionalThis method must be implemented if supportsAgentQuery() is true.
MethodclearAgentTerms
Description

Clears the agent terms.

CompliancemandatoryThis method must be implemented.
MethodmatchProfileItemId
Description

Matches the profile item identified by the given Id.

Parametersosid.id.IdprofileItemIdthe Id of the ProfileItem
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT profileItemId is null
CompliancemandatoryThis method must be implemented.
MethodclearProfileItemIdTerms
Description

Clears the profile item Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsProfileItemQuery
Description

Tests if a ProfileItemQuery is available.

Returnboolean true if a profile item query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetProfileItemQuery
Description

Gets the profile item query.

Parametersbooleanmatch true if a positive match, false for a negative match
Returnosid.profile.ProfileItemQuerythe FunctinQuery
ErrorsUNIMPLEMENTED supportsProfileItemQuery() is false
ComplianceoptionalThis method must be implemented if supportsProfileItemQuery() is true.
MethodclearProfileItemTerms
Description

Clears the profile item terms.

CompliancemandatoryThis method must be implemented.
MethodmatchProfileId
Description

Sets the profile Id for this query.

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

Clears the profile Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsProfileQuery
Description

Tests if a ProfileQuery is available.

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

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

Returnosid.profile.ProfileQuerythe profile query
ErrorsUNIMPLEMENTED supportsProfileQuery() is false
ComplianceoptionalThis method must be implemented if supportsProfileQuery() is true.
MethodclearProfileTerms
Description

Clears the profile entry query terms.

CompliancemandatoryThis method must be implemented.
MethodgetProfileEntryQueryRecord
Description

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

Parametersosid.type.TypeprofileEntryRecordTypea profile entry record type
Returnosid.profile.records.ProfileEntryQueryRecordthe profile entry query record
ErrorsNULL_ARGUMENT profileEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(profileEntryRecordType) is false
CompliancemandatoryThis method must be implemented.