OSID Logo
OSID Specifications
osid package
Version 3.0.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.DateTimestartstart of date range
osid.calendaring.DateTimeendend of date range
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is less than end
NULL_ARGUMENTstart or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyPostingDate
Description

Matches requests with any posting date set.

Parametersbooleanmatchtrue to match any posting date, false to match no posting date
CompliancemandatoryThis method must be implemented.
MethodclearPostingDateTerms
Description

Clears the posting date query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequesterId
Description

Match the Id of the requester.

Parametersosid.id.IdresourceIdId to match
booleanmatchtrue if for a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearRequesterIdTerms
Description

Clears all requester Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRequesterQuery
Description

Tests if a ResourceQuery for the requester is available.

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

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

Parametersbooleanmatchtrue if for a positive match, false for a negative match
Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTEDsupportsRequesterQuery() is false
ComplianceoptionalThis method must be implemented if supportsRequesterQuery() is true .
MethodmatchAnyRequester
Description

Match any requester.

Parametersbooleanmatchtrue to match any requester, false to match no requesters
CompliancemandatoryThis method must be implemented.
MethodclearRequesterTerms
Description

Clears all requsster terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSubmitted
Description

Matches submitted requests.

Parametersbooleanmatchtrue to match submitted requests, false to match unsubmitted requests
CompliancemandatoryThis method must be implemented.
MethodclearSubmittedTerms
Description

Clears the submitted query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSubmittedDate
Description

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

Parametersosid.calendaring.DateTimestartstart of date range
osid.calendaring.DateTimeendend of date range
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is less than end
NULL_ARGUMENTstart or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnySubmittedDate
Description

Matches requests with any submitted date set.

Parametersbooleanmatchtrue to match any submitted date, false to match no submitted date
CompliancemandatoryThis method must be implemented.
MethodclearSubmittedDateTerms
Description

Clears the submitted date query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSubmitterId
Description

Match the Id of the submitter.

Parametersosid.id.IdresourceIdId to match
booleanmatchtrue if for a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearSubmitterIdTerms
Description

Clears all submitter Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSubmitterQuery
Description

Tests if a ResourceQuery for the submitter is available.

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

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

Parametersbooleanmatchtrue if for a positive match, false for a negative match
Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTEDsupportsSubmitterQuery() is false
ComplianceoptionalThis method must be implemented if supportsSubmitterQuery() is true .
MethodmatchAnySubmitter
Description

Match any submitter.

Parametersbooleanmatchtrue to match any submitter, false to match no submitters
CompliancemandatoryThis method must be implemented.
MethodclearSubmitterTerms
Description

Clears all submitter terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSubmittingAgentId
Description

Match the Id of the submitting agent.

Parametersosid.id.IdagentIdId to match
booleanmatchtrue if for a positive match, false for a negative match
ErrorsNULL_ARGUMENTagentId is null
CompliancemandatoryThis method must be implemented.
MethodclearSubmittingAgentIdTerms
Description

Clears all submitting agent Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSubmittingAgentQuery
Description

Tests if an AgentQuery for the submitter is available.

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

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

Parametersbooleanmatchtrue if for a positive match, false for a negative match
Returnosid.authentication.AgentQuerythe agent query
ErrorsUNIMPLEMENTEDsupportsSubmittingAgentQuery() is false
ComplianceoptionalThis method must be implemented if supportsSubmittingAgentQuery() is true .
MethodmatchAnySubmittingAgent
Description

Match any submitting agent.

Parametersbooleanmatchtrue to match any submitting agent, false to match no submitting agents
CompliancemandatoryThis method must be implemented.
MethodclearSubmittingAgentTerms
Description

Clears all submitting agent terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCanceled
Description

Matches canceled requests.

Parametersbooleanmatchtrue to match canceled requests, false to match not canceled requests
CompliancemandatoryThis method must be implemented.
MethodclearCanceledTerms
Description

Clears the canceled query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchProcessedDate
Description

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

Parametersosid.calendaring.DateTimestartstart of date range
osid.calendaring.DateTimeendend of date range
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is less than end
NULL_ARGUMENTstart or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyProcessedDate
Description

Matches requests with any processed date set.

Parametersbooleanmatchtrue to match any processed date, false to match no processed date
CompliancemandatoryThis method must be implemented.
MethodclearProcessedDateTerms
Description

Clears the processed date query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchErrorId
Description

Match the Id of the error state.

Parametersosid.id.IdstateIdId to match
booleanmatchtrue if for a positive match, false for a negative match
ErrorsNULL_ARGUMENTstateId is null
CompliancemandatoryThis method must be implemented.
MethodclearErrorIdTerms
Description

Clears all error state Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsErrorQuery
Description

Tests if a StateQuery for the submitter is available.

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

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

Parametersbooleanmatchtrue if for a positive match, false for a negative match
Returnosid.process.StateQuerythe state query
ErrorsUNIMPLEMENTEDsupportsErrorQuery() is false
ComplianceoptionalThis method must be implemented if supportsErrorQuery() is true .
MethodmatchAnyError
Description

Match any error state.

Parametersbooleanmatchtrue to match any error, false to match no requests with no errors
CompliancemandatoryThis method must be implemented.
MethodclearErrorTerms
Description

Clears all error terms.

CompliancemandatoryThis method must be implemented.