OSID Logo
OSID Specifications
checklist mason package
Version 3.1.0
Interfaceosid.checklist.mason.TodoProducer
Implementsosid.OsidRule
Used Byosid.checklist.mason.TodoProducerAdminSession
osid.checklist.mason.TodoProducerList
osid.checklist.mason.TodoProducerLookupSession
Description

A TodoProducer describes the mason for making Todos.

MethodisCreationRule
Description

Tests if a todo should be created or destroyed.

Returnboolean true if a creation rule, false if a destruction rule
Compliancemandatory This method must be implemented.
MethodisBasedOnTimeCycle
Description

Tests if a todo should be produced based on a time cycle.

Returnboolean true if based on a timecycle, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCyclicEventId
Description

Gets the cyclic event Id.

Returnosid.id.Id the cyclic event Id
ErrorsILLEGAL_STATE isBasedOnTimeCycle() is false
Compliancemandatory This method must be implemented.
MethodgetCyclicEvent
Description

Gets the cyclic event.

Returnosid.calendaring.cycle.CyclicEvent the cyclic event
ErrorsILLEGAL_STATE isBasedOnTimeCycle() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodisBasedOnStock
Description

Tests if a todo should be produced based on an item level in a stock.

Returnboolean true if based on a stock, false otherwise
Compliancemandatory This method must be implemented.
MethodgetStockLevel
Description

Gets the stock level.

Returncardinal the stock level
ErrorsILLEGAL_STATE isBasedOnStock() is false
Compliancemandatory This method must be implemented.
MethodgetStockId
Description

Gets the stock Id.

Returnosid.id.Id the stock Id
ErrorsILLEGAL_STATE isBasedOnStock() is false
Compliancemandatory This method must be implemented.
MethodgetStock
Description

Gets the stock.

Returnosid.inventory.Stock the stock
ErrorsILLEGAL_STATE isBasedOnStock() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetTodoProducerRecord
Description

Gets the todo producer record corresponding to the given TodoProducer record Type. This method is used to retrieve an object implementing the requested record. The todoProducerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(todoProducerRecordType) is true.

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