OSID Logo
OSID Specifications
resource package
Version 3.1.0
Interfaceosid.resource.ResourceQuery
Implementsosid.OsidObjectQuery
Used Byosid.OsidRequestQuery
osid.OsidRuleApplicatorQuery
osid.OsidSourceableQuery
osid.acknowledgement.CreditQuery
osid.assessment.AssessmentTakenQuery
osid.authentication.AgentQuery
osid.authorization.AuthorizationQuery
osid.bidding.AuctionQuery
osid.bidding.BidQuery
osid.billing.CustomerQuery
show 85 more…
osid.billing.payment.PayerQuery
osid.blogging.EntryQuery
osid.calendaring.CommitmentQuery
osid.calendaring.EventQuery
osid.calendaring.OffsetEventQuery
osid.calendaring.RecurringEventQuery
osid.commenting.CommentQuery
osid.commenting.CommentSearchOrder
osid.contact.AddressQuery
osid.contact.ContactQuery
osid.course.ActivityQuery
osid.course.CourseOfferingQuery
osid.course.CourseQuery
osid.course.chronicle.AssessmentEntryQuery
osid.course.chronicle.AwardEntryQuery
osid.course.chronicle.CourseEntryQuery
osid.course.chronicle.CredentialEntryQuery
osid.course.chronicle.ProgramEntryQuery
osid.course.program.EnrollmentQuery
osid.course.program.ProgramOfferingQuery
osid.course.program.ProgramQuery
osid.course.registration.ActivityRegistrationQuery
osid.course.registration.CourseRegistrationQuery
osid.course.registration.RegistrationQuery
osid.course.registration.request.RegistrationRequestItemQuery
osid.financials.ActivityQuery
osid.forum.PostQuery
osid.forum.ReplyQuery
osid.grading.GradeEntryQuery
osid.hold.HoldQuery
osid.hold.IssueQuery
osid.inquiry.InquiryQuery
osid.inquiry.ResponseQuery
osid.installation.InstallationPackageQuery
osid.inventory.ModelQuery
osid.inventory.shipment.ShipmentQuery
osid.journaling.JournalEntryQuery
osid.learning.ProficiencyQuery
osid.logging.LogEntryQuery
osid.messaging.MessageQuery
osid.messaging.ReceiptQuery
osid.offering.CanonicalUnitQuery
osid.offering.OfferingQuery
osid.offering.ParticipantQuery
osid.ordering.OrderQuery
osid.ordering.PriceQuery
osid.profile.ProfileEntryQuery
osid.provisioning.BrokerQuery
osid.provisioning.PoolQuery
osid.provisioning.ProvisionQuery
osid.provisioning.ProvisionReturnQuery
osid.provisioning.ProvisionableQuery
osid.provisioning.QueueQuery
osid.provisioning.RequestQuery
osid.provisioning.RequestTransactionQuery
osid.recognition.ConferralQuery
osid.recognition.ConvocationQuery
osid.repository.AssetQuery
osid.resource.BinQuery
osid.resource.ResourceQuery
osid.resource.ResourceQuerySession
osid.resource.ResourceRelationshipQuery
osid.resource.ResourceRelationshipSmartBinSession
osid.resource.ResourceSearchSession
osid.resource.ResourceSmartBinSession
osid.resource.demographic.DemographicBuilderSession
osid.resource.demographic.DemographicQuery
osid.resourcing.AvailabilityQuery
osid.resourcing.CommissionQuery
osid.resourcing.EffortQuery
osid.resourcing.JobQuery
osid.room.RoomQuery
osid.room.squatting.DeedQuery
osid.room.squatting.LeaseQuery
osid.subscription.DispatchQuery
osid.subscription.SubscriptionQuery
osid.tracking.IssueQuery
osid.tracking.QueueQuery
osid.transport.EndpointQuery
osid.voting.BallotQuery
osid.voting.CandidateQuery
osid.voting.VoteQuery
osid.workflow.ProcessQuery
osid.workflow.StepQuery
osid.workflow.event.WorkflowEventQuery
Description

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

MethodmatchGroup
Description

Matches resources that are also groups.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearGroupTerms
Description

Clears the group terms.

Compliancemandatory This method must be implemented.
MethodmatchDemographic
Description

Matches resources that are also demographics.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearDemographicTerms
Description

Clears the demographic terms.

Compliancemandatory This method must be implemented.
MethodmatchContainingGroupId
Description

Sets the group Id for this query to match resources within the given group.

Parametersosid.id.IdresourceId a resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearContainingGroupIdTerms
Description

Clears the group Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsContainingGroupQuery
Description

Tests if a ResourceQuery is available for querying containing groups.

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

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

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsContainingGroupQuery() is false
Complianceoptional This method must be implemented if supportsAgentQuery() is true.
MethodmatchAnyContainingGroup
Description

Matches resources inside any group.

Parametersbooleanmatch true to match any containing group, false to match resources part of no groups
Compliancemandatory This method must be implemented.
MethodclearContainingGroupTerms
Description

Clears the containing group terms.

Compliancemandatory This method must be implemented.
MethodmatchAvatarId
Description

Sets the asset Id for this query.

Parametersosid.id.IdassetId the asset Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assetId is null
Compliancemandatory This method must be implemented.
MethodclearAvatarIdTerms
Description

Clears the asset Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAvatarQuery
Description

Tests if an AssetQuery is available.

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

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

Returnosid.repository.AssetQuery the asset query
ErrorsUNIMPLEMENTED supportsAvatarQuery() is false
Complianceoptional This method must be implemented if supportsAvatarQuery() is true.
MethodmatchAnyAvatar
Description

Matches resources with any asset.

Parametersbooleanmatch true to match any asset, false to match resources with no asset
Compliancemandatory This method must be implemented.
MethodclearAvatarTerms
Description

Clears the asset terms.

Compliancemandatory This method must be implemented.
MethodmatchAgentId
Description

Sets the agent Id for this query.

Parametersosid.id.IdagentId the agent Id
booleanmatch true for 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 query for an agent. Multiple retrievals produce a nested OR term.

Returnosid.authentication.AgentQuery the agent query
ErrorsUNIMPLEMENTED supportsAgentQuery() is false
Complianceoptional This method must be implemented if supportsAgentQuery() is true.
MethodmatchAnyAgent
Description

Matches resources with any agent.

Parametersbooleanmatch true to match any agent, false to match resources with no agent
Compliancemandatory This method must be implemented.
MethodclearAgentTerms
Description

Clears the agent terms.

Compliancemandatory This method must be implemented.
MethodmatchResourceRelationshipId
Description

Sets the resource relationship Id for this query.

Parametersosid.id.IdresourceRelationshipId the resource relationship Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceRelationshipId is null
Compliancemandatory This method must be implemented.
MethodclearResourceRelationshipIdTerms
Description

Clears the resource relationship Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsResourceRelationshipQuery
Description

Tests if a ResourceRelationshipQuery is available.

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

Gets the query for aa resource relationship. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceRelationshipQuery the resource relationship query
ErrorsUNIMPLEMENTED supportsResourceRelationshipQuery() is false
Complianceoptional This method must be implemented if supportsResourceRelationshipQuery() is true.
MethodmatchAnyResourceRelationship
Description

Matches resources with any resource relationship.

Parametersbooleanmatch true to match any resource relationship, false to match resources with no relationship
Compliancemandatory This method must be implemented.
MethodclearResourceRelationshipTerms
Description

Clears the resource relationship terms.

Compliancemandatory This method must be implemented.
MethodmatchBinId
Description

Sets the bin Id for this query.

Parametersosid.id.IdbinId the bin Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT binId is null
Compliancemandatory This method must be implemented.
MethodclearBinIdTerms
Description

Clears the bin Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBinQuery
Description

Tests if a BinQuery is available.

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

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

Returnosid.resource.BinQuery the bin query
ErrorsUNIMPLEMENTED supportsBinQuery() is false
Complianceoptional This method must be implemented if supportsBinQuery() is true.
MethodclearBinTerms
Description

Clears the bin terms.

Compliancemandatory This method must be implemented.
MethodgetResourceQueryRecord
Description

Gets the resource query record corresponding to the given Resource record Type .Multiple retrievals produce a nested OR term.

Parametersosid.type.TyperesourceRecordType a resource record type
Returnosid.resource.records.ResourceQueryRecord the resource query record
ErrorsNULL_ARGUMENT resourceRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(resourceRecordType) is false
Compliancemandatory This method must be implemented.