OSID Logo
OSID Specifications
checklist mason package
Version 3.1.0
Interfaceosid.checklist.mason.TodoProducerForm
Implementsosid.OsidRuleForm
Used Byosid.checklist.mason.TodoProducerAdminSession
Description

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

MethodgetCreationRuleMetadata
Description

Gets the metadata for a creation rule flag.

Returnosid.Metadata metadata for a creation operation
Compliancemandatory This method must be implemented.
MethodsetCreationRule
Description

Sets the cyclic event.

Parametersbooleancreation the new creationr ule flag
ErrorsINVALID_ARGUMENT creation is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearCreationRule
Description

Clears the creation rule flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCyclicEventMetadata
Description

Gets the metadata for a cyclic event.

Returnosid.Metadata metadata for a cyclic event
Compliancemandatory This method must be implemented.
MethodsetCyclicEvent
Description

Sets the cyclic event.

Parametersosid.id.IdcyclicEventId the new cyclic event
ErrorsINVALID_ARGUMENT cyclicEventId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT cyclicEventId is null
Compliancemandatory This method must be implemented.
MethodclearCyclicEvent
Description

Clears the cyclic event.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetStockMetadata
Description

Gets the metadata for a cyclic event.

Returnosid.Metadata metadata for a cyclic event
Compliancemandatory This method must be implemented.
MethodsetStock
Description

Sets the stock.

Parametersosid.id.IdstockId the new stock
ErrorsINVALID_ARGUMENT stockId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT stockId is null
Compliancemandatory This method must be implemented.
MethodclearStock
Description

Clears the stock.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetStockLevelMetadata
Description

Gets the metadata for the stock level.

Returnosid.Metadata metadata for the stock level
Compliancemandatory This method must be implemented.
MethodsetStockLevel
Description

Sets the stock level.

Parameterscardinallevel the new stock level
ErrorsINVALID_ARGUMENT level is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearStockLevel
Description

Clears the stock level.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetTodoProducerFormRecord
Description

Gets the TodoProducerFormRecord corresponding to the given todo producer record Type.

Parametersosid.type.TypetodoProducerRecordType a todo producer record type
Returnosid.checklist.mason.records.TodoProducerFormRecord the todo producer form record
ErrorsNULL_ARGUMENT todoProducerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(todoProducerRecordType) is false
Compliancemandatory This method must be implemented.