OSID Logo
OSID Specifications
profile package
Version 3.1.0
Interfaceosid.profile.ProfileEntryQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.profile.ProfileEntryQuery
osid.profile.ProfileEntryQuerySession
osid.profile.ProfileEntrySearchSession
osid.profile.ProfileEntrySmartProfileSession
osid.profile.ProfileItemQuery
osid.profile.ProfileQuery
osid.profile.rules.ProfileEntryEnablerQuery
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
Compliancemandatory This method must be implemented.
MethodclearImplicitTerms
Description

Clears the implicit profile entries query terms.

Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearRelatedProfileEntryIdTerms
Description

Clears the related profile entry Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRelatedProfileEntryQuery
Description

Tests if a ProfileEntryQuery is available.

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

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

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

Clears the related profile entry query terms.

Compliancemandatory This method must be implemented.
MethodmatchResourceId
Description

Matches the resource identified by the given Id.

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

Clears the resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

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

Gets the resource query.

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

Clears the resource terms.

Compliancemandatory This method must be implemented.
MethodmatchAgentId
Description

Matches the agent identified by the given Id.

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

Clears the agent Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAgentQuery
Description

Tests if an AgentQuery is available.

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

Gets the agent query.

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

Clears the agent terms.

Compliancemandatory This method must be implemented.
MethodmatchProfileItemId
Description

Matches the profile item identified by the given Id.

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

Clears the profile item Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsProfileItemQuery
Description

Tests if a ProfileItemQuery is available.

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

Gets the profile item query.

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

Clears the profile item terms.

Compliancemandatory This method must be implemented.
MethodmatchProfileId
Description

Sets the profile Id for this query.

Parametersosid.id.IdprofileId a 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 interface 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 entry query terms.

Compliancemandatory This 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.TypeprofileEntryRecordType a profile entry record type
Returnosid.profile.records.ProfileEntryQueryRecord the profile entry query record
ErrorsNULL_ARGUMENT profileEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(profileEntryRecordType) is false
Compliancemandatory This method must be implemented.