OSID Logo
OSID Specifications
checklist mason package
Version 3.0.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.Metadatametadata for a creation operation
CompliancemandatoryThis method must be implemented.
MethodsetCreationRule
Description

Sets the cyclic event.

Parametersbooleancreationthe new creationr ule flag
ErrorsINVALID_ARGUMENTcreation is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearCreationRule
Description

Clears the creation rule flag.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCyclicEventMetadata
Description

Gets the metadata for a cyclic event.

Returnosid.Metadatametadata for a cyclic event
CompliancemandatoryThis method must be implemented.
MethodsetCyclicEvent
Description

Sets the cyclic event.

Parametersosid.id.IdcyclicEventIdthe new cyclic event
ErrorsINVALID_ARGUMENTcyclicEventId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTcyclicEventId is null
CompliancemandatoryThis method must be implemented.
MethodclearCyclicEvent
Description

Clears the cyclic event.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetStockMetadata
Description

Gets the metadata for a cyclic event.

Returnosid.Metadatametadata for a cyclic event
CompliancemandatoryThis method must be implemented.
MethodsetStock
Description

Sets the stock.

Parametersosid.id.IdstockIdthe new stock
ErrorsINVALID_ARGUMENTstockId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTstockId is null
CompliancemandatoryThis method must be implemented.
MethodclearStock
Description

Clears the stock.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetStockLevelMetadata
Description

Gets the metadata for the stock level.

Returnosid.Metadatametadata for the stock level
CompliancemandatoryThis method must be implemented.
MethodsetStockLevel
Description

Sets the stock level.

Parameterscardinallevelthe new stock level
ErrorsINVALID_ARGUMENTlevel is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearStockLevel
Description

Clears the stock level.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTodoProducerFormRecord
Description

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

Parametersosid.type.TypetodoProducerRecordTypea todo producer record type
Returnosid.checklist.mason.records.TodoProducerFormRecordthe todo producer form record
ErrorsNULL_ARGUMENTtodoProducerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(todoProducerRecordType) is false
CompliancemandatoryThis method must be implemented.