OSID Logo
OSID Specifications
rules check package
Version 3.0.0
Release Candidate Preview
Interfaceosid.rules.check.CheckForm
Implementsosid.OsidRuleForm
Description

This is the form for creating and updating Checks. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the CheckAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

Checks come in a variety of flavors. Each type of Check

  • Fail Check
  • Time Check By Date
  • Time Check by Event
  • Time Check By Cyclic Event
  • Hold Check

is determined based on what data is set. If multiple fields are set, the provider will pick one at random.

MethodgetFailCheckMetadata
Description

Gets the metadata for making this a fail check.

Returnosid.Metadatametadata for the competency
CompliancemandatoryThis method must be implemented.
MethodsetFailCheck
Description

Makes this check a fail check.

ErrorsNO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearFailCheck
Description

Removes the fail check setting.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTimeCheckStartDateMetadata
Description

Gets the metadata for making this a time check and for the start date.

Returnosid.Metadatametadata for time check start date
CompliancemandatoryThis method must be implemented.
MethodsetTimeCheckStartDate
Description

Sets the start date and make this a time check,.

Parametersosid.calendaring.DateTimedatethe new start date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
CompliancemandatoryThis method must be implemented.
MethodclearTimeCheckStartDate
Description

Removes the start date.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTimeCheckEndDateMetadata
Description

Gets the metadata for making this a time check and for the end date.

Returnosid.Metadatametadata for time check end date
CompliancemandatoryThis method must be implemented.
MethodsetTimeCheckEndDate
Description

Sets the end date and make this a time check,.

Parametersosid.calendaring.DateTimedatethe new end date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
CompliancemandatoryThis method must be implemented.
MethodclearTimeCheckEndDate
Description

Removes the end date.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTimeCheckEventMetadata
Description

Gets the metadata for making this a time check and for the event.

Returnosid.Metadatametadata for time check event
CompliancemandatoryThis method must be implemented.
MethodsetTimeCheckEvent
Description

Sets the event and make this a time check,.

Parametersosid.id.IdeventIdthe new event
ErrorsINVALID_ARGUMENT eventId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT eventId is null
CompliancemandatoryThis method must be implemented.
MethodclearTimeCheckEvent
Description

Removes the event.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTimeCheckCyclicEventMetadata
Description

Gets the metadata for making this a time check and for the cyclic event.

Returnosid.Metadatametadata for time check cyclic event
CompliancemandatoryThis method must be implemented.
MethodsetTimeCheckCyclicEvent
Description

Sets the cyclic event and make this a time check,.

Parametersosid.id.IdcyclicEventIdthe new cyclic event
ErrorsINVALID_ARGUMENT cyclicEventId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT cyclicEventId is null
CompliancemandatoryThis method must be implemented.
MethodclearTimeCheckCyclicEvent
Description

Removes the cyclic event.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetHoldCheckBlockMetadata
Description

Gets the metadata for making this a hold check and for the block.

Returnosid.Metadatametadata for hold check block
CompliancemandatoryThis method must be implemented.
MethodsetHoldCheckBlock
Description

Sets the block and make this a hold check,.

Parametersosid.id.IdblockIdthe new block
ErrorsINVALID_ARGUMENT blockId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT blockId is null
CompliancemandatoryThis method must be implemented.
MethodclearHoldCheckBlock
Description

Removes the block.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetInquiryCheckAuditMetadata
Description

Gets the metadata for making this an inquiry check and for the audit.

Returnosid.Metadatametadata for inquiry check audit
CompliancemandatoryThis method must be implemented.
MethodsetInqiiryCheckAudit
Description

Sets the audit and make this an inquiry check,.

Parametersosid.id.IdauditIdthe new audit
ErrorsINVALID_ARGUMENT auditId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT auditId is null
CompliancemandatoryThis method must be implemented.
MethodclearInquiryCheckAudit
Description

Removes the audit.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetProcessCheckAgendaMetadata
Description

Gets the metadata for making this a process check and for the agenda.

Returnosid.Metadatametadata for process check agenda
CompliancemandatoryThis method must be implemented.
MethodsetProcessCheckAgenda
Description

Sets the agenda and make this a process check,.

Parametersosid.id.IdagendaIdthe new agenda
ErrorsINVALID_ARGUMENT agendaId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT agendaId is null
CompliancemandatoryThis method must be implemented.
MethodclearProcessCheckAgenda
Description

Removes the agenda.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCheckFormRecord
Description

Gets the CheckFormRecord corresponding to the given check record Type.

Parametersosid.type.TypecheckRecordTypea check record type
Returnosid.rules.check.records.CheckFormRecordthe check form record
ErrorsNULL_ARGUMENT checkRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(checkRecordType) is false
CompliancemandatoryThis method must be implemented.