OSID Logo
OSID Specifications
control package
Version 3.1.0
Interfaceosid.control.ActionForm
Implementsosid.OsidRuleForm
osid.OsidSubjugateableForm
Implemented Byosid.control.batch.ActionBatchForm
Used Byosid.control.ActionGroupAdminSession
Description

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

MethodgetDelayMetadata
Description

Gets the metadata for the delay.

Returnosid.Metadata metadata for the delay
Compliancemandatory This method must be implemented.
MethodsetDelay
Description

Sets the delay.

Parametersosid.calendaring.Durationdelay the new delay
ErrorsINVALID_ARGUMENT delay is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT delay is null
Compliancemandatory This method must be implemented.
MethodclearDelay
Description

Removes the delay.

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

Gets the metadata for the blocking flag.

Returnosid.Metadata metadata for the blocking flag
Compliancemandatory This method must be implemented.
MethodsetBlocking
Description

Sets the blocking flag.

Parametersbooleanblocking true if blocking, false if unblocking
ErrorsINVALID_ARGUMENT blocking is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearBlocking
Description

Removes the blocking flag.

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

Gets the metadata for the action group to be executed.

Returnosid.Metadata metadata for the action group
Compliancemandatory This method must be implemented.
MethodsetNextActionGroup
Description

Sets the next action group.

Parametersosid.id.IdactionGroupId the new action group
ErrorsINVALID_ARGUMENT actionGroupId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT actionGroupId is null
Compliancemandatory This method must be implemented.
MethodclearNextActionGroup
Description

Removes the next action group.

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

Gets the metadata for the scene.

Returnosid.Metadata metadata for the scene
Compliancemandatory This method must be implemented.
MethodsetScene
Description

Sets the scene.

Parametersosid.id.IdsceneId the new scene
ErrorsINVALID_ARGUMENT sceneId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT sceneId is null
Compliancemandatory This method must be implemented.
MethodclearScene
Description

Removes the scene.

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

Gets the metadata for the setting.

Returnosid.Metadata metadata for the setting
Compliancemandatory This method must be implemented.
MethodsetSetting
Description

Sets the setting.

Parametersosid.id.IdsettingId the new setting
ErrorsINVALID_ARGUMENT settingId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT settingId is null
Compliancemandatory This method must be implemented.
MethodclearSetting
Description

Removes the setting.

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

Gets the ActionFormRecord corresponding to the given action record Type.

Parametersosid.type.TypeactionRecordType an action record type
Returnosid.control.records.ActionFormRecord the action form record
ErrorsNULL_ARGUMENT actionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(actionRecordType) is false
Compliancemandatory This method must be implemented.