OSID Logo
OSID Specifications
osid package
Version 3.1.0
Interfaceosid.OsidRequestQuery
Implementsosid.OsidObjectQuery
Implemented Byosid.course.registration.request.RegistrationRequestQuery
Description

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

MethodmatchPostingDate
Description

Matches requests whose posting date falls in between the given dates inclusive.

Parametersosid.calendaring.DateTimestart start of date range
osid.calendaring.DateTimeend end of date range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is less than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyPostingDate
Description

Matches requests with any posting date set.

Parametersbooleanmatch true to match any posting date, false to match no posting date
Compliancemandatory This method must be implemented.
MethodclearPostingDateTerms
Description

Clears the posting date query terms.

Compliancemandatory This method must be implemented.
MethodmatchRequesterId
Description

Match the Id of the requester.

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

Clears all requester Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsRequesterQuery
Description

Tests if a ResourceQuery for the requester is available.

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

Gets the query for the resource. Each retrieval performs a boolean OR.

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

Match any requester.

Parametersbooleanmatch true to match any requester, false to match no requesters
Compliancemandatory This method must be implemented.
MethodclearRequesterTerms
Description

Clears all requsster terms.

Compliancemandatory This method must be implemented.
MethodmatchSubmitted
Description

Matches submitted requests.

Parametersbooleanmatch true to match submitted requests, false to match unsubmitted requests
Compliancemandatory This method must be implemented.
MethodclearSubmittedTerms
Description

Clears the submitted query terms.

Compliancemandatory This method must be implemented.
MethodmatchSubmittedDate
Description

Matches requests whose submitted date falls in between the given dates inclusive.

Parametersosid.calendaring.DateTimestart start of date range
osid.calendaring.DateTimeend end of date range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is less than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnySubmittedDate
Description

Matches requests with any submitted date set.

Parametersbooleanmatch true to match any submitted date, false to match no submitted date
Compliancemandatory This method must be implemented.
MethodclearSubmittedDateTerms
Description

Clears the submitted date query terms.

Compliancemandatory This method must be implemented.
MethodmatchSubmitterId
Description

Match the Id of the submitter.

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

Clears all submitter Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsSubmitterQuery
Description

Tests if a ResourceQuery for the submitter is available.

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

Gets the query for the resource. Each retrieval performs a boolean OR.

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

Match any submitter.

Parametersbooleanmatch true to match any submitter, false to match no submitters
Compliancemandatory This method must be implemented.
MethodclearSubmitterTerms
Description

Clears all submitter terms.

Compliancemandatory This method must be implemented.
MethodmatchSubmittingAgentId
Description

Match the Id of the submitting agent.

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

Clears all submitting agent Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsSubmittingAgentQuery
Description

Tests if an AgentQuery for the submitter is available.

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

Gets the query for the submitting agent. Each retrieval performs a boolean OR.

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

Match any submitting agent.

Parametersbooleanmatch true to match any submitting agent, false to match no submitting agents
Compliancemandatory This method must be implemented.
MethodclearSubmittingAgentTerms
Description

Clears all submitting agent terms.

Compliancemandatory This method must be implemented.
MethodmatchCanceled
Description

Matches canceled requests.

Parametersbooleanmatch true to match canceled requests, false to match not canceled requests
Compliancemandatory This method must be implemented.
MethodclearCanceledTerms
Description

Clears the canceled query terms.

Compliancemandatory This method must be implemented.
MethodmatchProcessedDate
Description

Matches requests whose processed date falls in between the given dates inclusive.

Parametersosid.calendaring.DateTimestart start of date range
osid.calendaring.DateTimeend end of date range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is less than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyProcessedDate
Description

Matches requests with any processed date set.

Parametersbooleanmatch true to match any processed date, false to match no processed date
Compliancemandatory This method must be implemented.
MethodclearProcessedDateTerms
Description

Clears the processed date query terms.

Compliancemandatory This method must be implemented.
MethodmatchErrorId
Description

Match the Id of the error state.

Parametersosid.id.IdstateId Id to match
booleanmatch true if for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stateId is null
Compliancemandatory This method must be implemented.
MethodclearErrorIdTerms
Description

Clears all error state Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsErrorQuery
Description

Tests if a StateQuery for the submitter is available.

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

Gets the query for the state. Each retrieval performs a boolean OR.

Parametersbooleanmatch true if for a positive match, false for a negative match
Returnosid.process.StateQuery the state query
ErrorsUNIMPLEMENTED supportsErrorQuery() is false
Complianceoptional This method must be implemented if supportsErrorQuery() is true.
MethodmatchAnyError
Description

Match any error state.

Parametersbooleanmatch true to match any error, false to match no requests with no errors
Compliancemandatory This method must be implemented.
MethodclearErrorTerms
Description

Clears all error terms.

Compliancemandatory This method must be implemented.