OSID Logo
OSID Specifications
control package
Version 3.1.0
Interfaceosid.control.TriggerForm
Implementsosid.OsidRuleForm
osid.OsidSubjugateableForm
Implemented Byosid.control.batch.TriggerBatchForm
Used Byosid.control.TriggerAdminSession
Description

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

MethodgetTurnedOnMetadata
Description

Gets the metadata for the ON event listener.

Returnosid.Metadata metadata for the ON event listener
Compliancemandatory This method must be implemented.
MethodsetTurnedOn
Description

Sets the ON event listener.

Parametersbooleanlisten true to listen for ON events, false to not listen to ON events
ErrorsINVALID_ARGUMENT listen is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearTurnedOn
Description

Removes the ON event listener.

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

Gets the metadata for the OFF event listener.

Returnosid.Metadata metadata for the OFF event listener
Compliancemandatory This method must be implemented.
MethodsetTurnedOff
Description

Sets the OFF event listener.

Parametersbooleanlisten true to listen for OFF events, false to not listen to OFF events
ErrorsINVALID_ARGUMENT listen is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearTurnedOff
Description

Removes the OFF event listener.

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

Gets the metadata for the changed variable amount event listener.

Returnosid.Metadata metadata for the changed variable amount event listener
Compliancemandatory This method must be implemented.
MethodsetChangedVariableAmount
Description

Sets the changed variable amount event listener.

Parametersbooleanlisten true to listen for changed variable amount events, false to not listen to changed variable amount events
ErrorsINVALID_ARGUMENT listen is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearChangedVariableAmount
Description

Removes the changed variable amount event listener.

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

Gets the metadata for the exceeds variable amount event listener.

Returnosid.Metadata metadata for the exceeds variable amount event listener
Compliancemandatory This method must be implemented.
MethodsetExceedsVariableAmount
Description

Sets the exceeds variable amount event listener.

Parametersdecimalthreshold the threshold amount
ErrorsINVALID_ARGUMENT threshold is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT threshold is null
Compliancemandatory This method must be implemented.
MethodclearExceedsVariableAmount
Description

Removes the exceeds variable amount event listener.

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

Gets the metadata for the deceeds variable amount event listener.

Returnosid.Metadata metadata for the deceeds variable amount event listener
Compliancemandatory This method must be implemented.
MethodsetDeceedsVariableAmount
Description

Sets the deceeds variable amount event listener.

Parametersdecimalthreshold the threshold amount
ErrorsINVALID_ARGUMENT threshold is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT threshold is null
Compliancemandatory This method must be implemented.
MethodclearDeceedsVariableAmount
Description

Removes the deceeds variable amount event listener.

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

Gets the metadata for the changed state event listener.

Returnosid.Metadata metadata for the changed state event listener
Compliancemandatory This method must be implemented.
MethodsetChangedDiscreetState
Description

Sets the changed state event listener.

Parametersbooleanlisten true to listen for changed state events, false to not listen to changed state events
ErrorsINVALID_ARGUMENT listen is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearChangedDiscreetState
Description

Removes the changed state event listener.

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

Gets the metadata for the discreet state event listener.

Returnosid.Metadata metadata for the discreet state event listener
Compliancemandatory This method must be implemented.
MethodsetDiscreetState
Description

Sets the discreet state event listener.

Parametersosid.id.IdstateId a state Id
ErrorsINVALID_ARGUMENT stateId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT stateId is null
Compliancemandatory This method must be implemented.
MethodclearDiscreetState
Description

Removes the discreet state.

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

Gets the metadata for the action groups.

Returnosid.Metadata metadata for the action groups
Compliancemandatory This method must be implemented.
MethodsetActionGroups
Description

Sets the action groups.

Parametersosid.id.Id[]actionGroupIds action group Ids
ErrorsINVALID_ARGUMENT actionGroupIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT actionGroupIds is null
Compliancemandatory This method must be implemented.
MethodclearActionGroup
Description

Removes the action groups.

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

Gets the metadata for the scenes.

Returnosid.Metadata metadata for the scenes
Compliancemandatory This method must be implemented.
MethodsetScenes
Description

Sets the scenes.

Parametersosid.id.Id[]sceneIds the scene Ids
ErrorsINVALID_ARGUMENT sceneIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT sceneIds is null
Compliancemandatory This method must be implemented.
MethodclearScenes
Description

Removes the scenes.

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

Gets the metadata for the settings.

Returnosid.Metadata metadata for the settings
Compliancemandatory This method must be implemented.
MethodsetSettings
Description

Sets the settings.

Parametersosid.id.Id[]settingIds the setting Ids
ErrorsINVALID_ARGUMENT settingIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT settingIds is null
Compliancemandatory This method must be implemented.
MethodclearSettings
Description

Removes the settings.

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

Gets the TriggerFormRecord corresponding to the given trigger record Type.

Parametersosid.type.TypetriggerRecordType a trigger record type
Returnosid.control.records.TriggerFormRecord the trigger form record
ErrorsNULL_ARGUMENT triggerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(triggerRecordType) is false
Compliancemandatory This method must be implemented.