OSID Logo
OSID Specifications
profile package
Version 3.0.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.

Parametersbooleanmatchtrue 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.IdidId to match
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTid 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsRelatedProfileEntryQuery() 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
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId 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.

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

Gets the resource query.

Parametersbooleanmatchtrue if a positive match, false for a negative match
Returnosid.resource.ResourceQuerythe ResourceQuery
ErrorsUNIMPLEMENTEDsupportsResourceQuery() 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
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTagentId 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.

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

Gets the agent query.

Parametersbooleanmatchtrue if a positive match, false for a negative match
Returnosid.authentication.AgentQuerythe AgentQuery
ErrorsUNIMPLEMENTEDsupportsAgentQuery() 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
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTprofileItemId 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.

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

Gets the profile item query.

Parametersbooleanmatchtrue if a positive match, false for a negative match
Returnosid.profile.ProfileItemQuerythe FunctinQuery
ErrorsUNIMPLEMENTEDsupportsProfileItemQuery() 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprofileId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsProfileQuery() 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_ARGUMENTprofileEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(profileEntryRecordType) is false
CompliancemandatoryThis method must be implemented.