Class NSWorkflowGoal

Carrier object for WorkflowGoal.

Constructors

NSWorkflowGoal()

Initializes a new instance of the NSWorkflowGoal class.

Declaration

NSWorkflowGoal

Methods

GetWorkflowGoalId()

Gets the primary key (ID) for the WorkflowGoal.

Declaration

Integer GetWorkflowGoalId()

Returns

Type Description
Integer WorkflowGoal Id.

SetWorkflowGoalId(Integer)

Sets the primary key (ID) for the WorkflowGoal.

Declaration

Void SetWorkflowGoalId(Integer workflowGoalId)

Parameters

Type Name Description
Integer workflowGoalId The workflow goal ID to set.

Returns

Type Description

GetWorkflowId()

Gets the ID of the flow this goal belongs to.

Declaration

Integer GetWorkflowId()

Returns

Type Description
Integer Workflow ID.

SetWorkflowId(Integer)

Sets the ID of the flow this goal belongs to.

Declaration

Void SetWorkflowId(Integer workflowId)

Parameters

Type Name Description
Integer workflowId The workflow ID to set.

Returns

Type Description

GetGoalType()

Gets the workflow goal type.

Declaration

NSWorkflowGoalType GetGoalType()

Returns

Type Description
NSWorkflowGoalType Goal type.

SetGoalType(NSWorkflowGoalType)

Sets the workflow goal type.

Declaration

Void SetGoalType(NSWorkflowGoalType goalType)

Parameters

Type Name Description
NSWorkflowGoalType goalType The goal type to set.

Returns

Type Description

GetRestrictionGroups()

Gets the restrictions (can be multiple groups) that make up the Workflow goal criteria.

Declaration

NSArchiveRestrictionGroup[] GetRestrictionGroups()

Returns

Type Description
NSArchiveRestrictionGroup[] Array of restriction groups.

SetRestrictionGroups(NSArchiveRestrictionGroup[])

Sets the restrictions that make up the Workflow goal criteria.

Declaration

Void SetRestrictionGroups(NSArchiveRestrictionGroup[] restrictionGroups)

Parameters

Type Name Description
NSArchiveRestrictionGroup[] restrictionGroups The restriction groups to set.

Returns

Type Description