OSID Logo
OSID Specifications
rules check package
Version 3.1.0
Interfaceosid.rules.check.CheckQuery
Implementsosid.OsidRuleQuery
Used Byosid.rules.check.CheckQuerySession
osid.rules.check.CheckSearchSession
osid.rules.check.CheckSmartEngineSession
osid.rules.check.InstructionQuery
Description

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

MethodmatchFailCheck
Description

Matches fail checks.

Parametersbooleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearFailCheckTerms
Description

Clears the fail check query terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeCheckStartDate
Description

Matches time checks with start dates within the given range inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyTimeCheckStartDate
Description

Matches any time check with a start date.

Parametersbooleanmatch true to match any time checks with a start date, false to match checks with no start date
Compliancemandatory This method must be implemented.
MethodclearTimeCheckStartDateTerms
Description

Clears the time check start date query terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeCheckEndDate
Description

Matches time checks with end dates within the given range inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyTimeCheckEndDate
Description

Matches any time check with an end date.

Parametersbooleanmatch true to match any time checks with an end date, false to match checks with no end date
Compliancemandatory This method must be implemented.
MethodclearTimeCheckEndDateTerms
Description

Clears the time check end date query terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeCheckDate
Description

Matches time checks with dates overlapping the given date range.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodclearTimeCheckDateTerms
Description

Clears the time check date query terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeCheckEventId
Description

Sets the event Id for this query.

Parametersosid.id.IdeventId the event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT eventId is null
Compliancemandatory This method must be implemented.
MethodclearTimeCheckEventIdTerms
Description

Clears the event Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsTimeCheckEventQuery
Description

Tests if an EventQuery is available.

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

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

Returnosid.calendaring.EventQuery the event query
ErrorsUNIMPLEMENTED supportsTimeCheckEventQuery() is false
Complianceoptional This method must be implemented if supportsTimeCheckEventQuery() is true.
MethodmatchAnyTimeCheckEvent
Description

Matches any time check with an event.

Parametersbooleanmatch true to match any time checks with an event, false to match checks with no events
Compliancemandatory This method must be implemented.
MethodclearTimeCheckEventTerms
Description

Clears the event query terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeCheckCyclicEventId
Description

Sets the cyclic event Id for this query.

Parametersosid.id.IdcyclicEventId the cyclic event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT cyclicEventId is null
Compliancemandatory This method must be implemented.
MethodclearTimeCheckCyclicEventIdTerms
Description

Clears the cyclic event Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsTimeCheckCyclicEventQuery
Description

Tests if a CyclicEventQuery is available.

Returnboolean true if a cyclic event query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTimeCheckCyclicEventQuery
Description

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

Returnosid.calendaring.cycle.CyclicEventQuery the cyclic event query
ErrorsUNIMPLEMENTED supportsTimeCheckCyclicEventQuery() is false
Complianceoptional This method must be implemented if supportsTimeCheckCyclicEventQuery() is true.
MethodmatchAnyTimeCheckCyclicEvent
Description

Matches any time check with a cyclic event.

Parametersbooleanmatch true to match any time checks with a cyclic event, false to match checks with no cyclic events
Compliancemandatory This method must be implemented.
MethodclearTimeCheckCyclicEventTerms
Description

Clears the cyclic event query terms.

Compliancemandatory This method must be implemented.
MethodmatchHoldCheckBlockId
Description

Sets the block Id for this query.

Parametersosid.id.IdblockId the block Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT blockId is null
Compliancemandatory This method must be implemented.
MethodclearHoldCheckBlockIdTerms
Description

Clears the block Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsHoldCheckBlockQuery
Description

Tests if a BlockQuery is available.

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

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

Returnosid.hold.BlockQuery the block query
ErrorsUNIMPLEMENTED supportsHoldCheckBlockQuery() is false
Complianceoptional This method must be implemented if supportsHoldCheckBlockQuery() is true.
MethodmatchAnyHoldCheckBlock
Description

Matches any hold check with a block.

Parametersbooleanmatch true to match any hold checks with a block, false to match checks with no blocks
Compliancemandatory This method must be implemented.
MethodclearHoldCheckBlockTerms
Description

Clears the block query terms.

Compliancemandatory This method must be implemented.
MethodmatchAuthorizationCheckFunctionId
Description

Sets the function Id for this query.

Parametersosid.id.IdfunctionId the function Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT functionId is null
Compliancemandatory This method must be implemented.
MethodclearAuthorizationCheckFunctionIdTerms
Description

Clears the function Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAuthorizationCheckFunctionQuery
Description

Tests if a FunctionQuery is available.

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

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

Returnosid.authorization.FunctionQuery the function query
ErrorsUNIMPLEMENTED supportsAuthorizationCheckFunctionQuery() is false
Complianceoptional This method must be implemented if supportsAuthorizationCheckFunctionQuery() is true.
MethodmatchAnyAuthorizationCheckFunction
Description

Matches any authorization check with a function.

Parametersbooleanmatch true to match any authorization checks with a function, false to match checks with no functions
Compliancemandatory This method must be implemented.
MethodclearAuthorizationCheckFunctionTerms
Description

Clears the function query terms.

Compliancemandatory This method must be implemented.
MethodmatchInquiryCheckAuditId
Description

Sets the audit Id for this query.

Parametersosid.id.IdauditId the audit Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT audirId is null
Compliancemandatory This method must be implemented.
MethodclearInquiryCheckAuditIdTerms
Description

Clears the audit Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsInquiryCheckAuditQuery
Description

Tests if an AuditQuery is available.

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

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

Returnosid.inquiry.AuditQuery the audit query
ErrorsUNIMPLEMENTED supportsInquiryCheckAuditQuery() is false
Complianceoptional This method must be implemented if supportsInquiryCheckAuditQuery() is true.
MethodmatchAnyInquiryCheckAudit
Description

Matches any inquiry check with an audit.

Parametersbooleanmatch true to match any inqiiry checks with an audit, false to match checks with no audits
Compliancemandatory This method must be implemented.
MethodclearInquiryCheckAuditTerms
Description

Clears the audit query terms.

Compliancemandatory This method must be implemented.
MethodmatchProcessCheckAgendaId
Description

Sets the agenda Id for this query.

Parametersosid.id.IdagendaId the agenda Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agendaId is null
Compliancemandatory This method must be implemented.
MethodclearProcessCheckAgendaIdTerms
Description

Clears the agenda Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsProcessCheckAgendaQuery
Description

Tests if an AgendaQuery is available.

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

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

Returnosid.rules.check.AgendaQuery the agenda query
ErrorsUNIMPLEMENTED supportsProcessCheckAgendaQuery() is false
Complianceoptional This method must be implemented if supportsProcessCheckAgendaQuery() is true.
MethodmatchAnyProcessCheckAgenda
Description

Matches any process check with an agenda.

Parametersbooleanmatch true to match any process checks with an agenda, false to match checks with no agendas
Compliancemandatory This method must be implemented.
MethodclearProcessCheckAgendaTerms
Description

Clears the agenda query terms.

Compliancemandatory This method must be implemented.
MethodmatchLoggingCheckTextId
Description

Sets the text Id for this query.

Parametersosid.id.IdtextId the text Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT textId is null
Compliancemandatory This method must be implemented.
MethodclearLoggingCheckTextIdTerms
Description

Clears the text Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsLoggingCheckTextQuery
Description

Tests if a TextQuery is available.

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

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

Returnosid.lexicon.TextQuery the text query
ErrorsUNIMPLEMENTED supportsLoggingCheckTextQuery() is false
Complianceoptional This method must be implemented if supportsLoggingCheckTextQuery() is true.
MethodmatchAnyLoggingCheckText
Description

Matches any logging check with a text.

Parametersbooleanmatch true to match any logging checks with a text, false to match checks with no texts
Compliancemandatory This method must be implemented.
MethodclearLoggingCheckTextTerms
Description

Clears the text query terms.

Compliancemandatory This method must be implemented.
MethodmatchEngineId
Description

Sets the engine Id for this query to match checks assigned to engines.

Parametersosid.id.IdengineId the engine Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT engineId is null
Compliancemandatory This method must be implemented.
MethodclearEngineIdTerms
Description

Clears the engine Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsEngineQuery
Description

Tests if a EngineQuery is available.

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

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

Returnosid.rules.EngineQuery the engine query
ErrorsUNIMPLEMENTED supportsEngineQuery() is false
Complianceoptional This method must be implemented if supportsEngineQuery() is true.
MethodclearEngineTerms
Description

Clears the engine query terms.

Compliancemandatory This method must be implemented.
MethodgetCheckQueryRecord
Description

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

Parametersosid.type.TypecheckRecordType a check record type
Returnosid.rules.check.records.CheckQueryRecord the check query record
ErrorsNULL_ARGUMENT checkRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(checkRecordType) is false
Compliancemandatory This method must be implemented.