Namespace: Consultingwerk.SmartFramework.Workflow
Class 
WorkflowBusinessEntity Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartFramework.SmartBusinessEntity
Implements: Ccs.BusinessLogic.IBusinessEntity, Ccs.BusinessLogic.IUpdatableBusinessEntity, Consultingwerk.OERA.IBusinessEntity, Consultingwerk.OERA.IBusinessService, Consultingwerk.OERA.IFetchDataByReference, Consultingwerk.OERA.IHasContextID, IProvidesBusinessEntityDescriptor, Consultingwerk.OERA.IProvidesDatasetModel, Consultingwerk.OERA.ISupportsResetState

File:WorkflowBusinessEntity
Purpose:Business Entity for Workflow
Author(s):Richard Kelters / Consultingwerk Ltd.
Created:09.01.2018 14:03:13

Consultingwerk.SmartFramework.Workflow.WorkflowBusinessEntity
Consultingwerk.SmartFramework.Workflow.WorkflowBusinessEntity



Top Method Summary
Options Name Purpose
CreateDefaultStatus (CharacterHolder) Creates a Default Workflow Status
F FetchData (IFetchDataRequest, dataset) Fetch data from the Data Access object
FetchDataByKeyTable (dataset, IFetchDataByKeyTableParameter) Supports to retrieve multiple DB records from a Business Entity based on a temp-table with key values
F FetchDataByReference (IFetchDataRequest, dataset) Fetch data from the Data Access object
FetchWorkflow (character, dataset) Fetches a Workflow by GUID or name
Consultingwerk.Framework.Collections.CharacterList GetAllDefaultWorkflowEndStepGuids () Returns the CharacterList of all EndStep (Status) of the Default Workflows
ReceiveData () Provides a hook to modify data in the ProDataset after Read and Update operations (i.e. population of aggregated values)
ValidateActivity () Validate SmartWorkflowActivity record
ValidateData () Provides a hook for high level data validation before Update operations
ValidateStatus () Validates data for workflow status
ValidateStatusActivity () Validate the SmartWorkflowStatusActivity table
ValidateSwimlanes () Validates data for Swimlanes
ValidateWorkflow () Validate SmartWorkflow record

Top Constructor Summary
Options Name Purpose
WorkflowBusinessEntity () Constructor of the WorkflowBusinessEntity class


Method Detail
Top

CreateDefaultStatus (CharacterHolder)

Purpose: Creates a Default Workflow Status
Notes:

Parameters:
poParameter Consultingwerk.CharacterHolder
The CharacterHolder with the GUID of the workflow
Top

FetchData (IFetchDataRequest, dataset)

Purpose: Fetch data from the Data Access object
Notes:

Parameters:
poFetchDataRequest Consultingwerk.OERA.IFetchDataRequest
The IFetchDataRequest object with the parameters for this call
dsWorkflow DATASET dsWorkflow
Top

FetchDataByKeyTable (dataset, IFetchDataByKeyTableParameter)

Purpose: Supports to retrieve multiple DB records from a Business Entity based on
a temp-table with key values
Notes:

Parameters:
dsWorkflow DATASET dsWorkflow
poParameter Consultingwerk.OERA.IFetchDataByKeyTableParameter
The IFetchDataByKeyTableParameter with the data for this call
Top

FetchDataByReference (IFetchDataRequest, dataset)

Purpose: Fetch data from the Data Access object
Notes:

Parameters:
poFetchDataRequest Consultingwerk.OERA.IFetchDataRequest
The IFetchDataRequest object with the parameters for this call
dsWorkflow DATASET dsWorkflow
Top

FetchWorkflow (character, dataset)

Purpose: Fetches a Workflow by GUID or name
Notes:

Parameters:
pcWorkflow CHARACTER
The GUID or name of the workflow to fetch
dsWorkflow DATASET dsWorkflow
The Dataset with the Workflow definition
Top

Consultingwerk.Framework.Collections.CharacterList GetAllDefaultWorkflowEndStepGuids ()

Purpose: Returns the CharacterList of all EndStep (Status) of the
Default Workflows
Notes:

Returns Consultingwerk.Framework.Collections.CharacterList
CharacterList with all End Step WorkflowStatusGuid's
Top

ReceiveData ()

Purpose: Provides a hook to modify data in the ProDataset after Read and
Update operations (i.e. population of aggregated values)
Notes: Invoked during FetchData () and SaveChanges ()

Top

ValidateActivity ()

Purpose: Validate SmartWorkflowActivity record
Notes: Validate the resultstatus is a status of the workflow of the activity

Top

ValidateData ()

Purpose: Provides a hook for high level data validation before Update
operations
Notes: Invoked during SaveChanges (). When the ERROR flag of the ProDataset
is set, the Update operation will be cancelled before writing back
the data to the database using the DataAccess object

Top

ValidateStatus ()

Purpose: Validates data for workflow status
Notes:

Top

ValidateStatusActivity ()

Purpose: Validate the SmartWorkflowStatusActivity table
Notes: Validate that status and activity belong to the same workflow
UpdateStatusfieldAllowed (logical, if false MethodToBeInvoked is mandatory else empty)
MethodToBeInvoked (character, must reside in businessentity class of parent)

Top

ValidateSwimlanes ()

Purpose: Validates data for Swimlanes
Notes:

Top

ValidateWorkflow ()

Purpose: Validate SmartWorkflow record
Notes: Validate that the business entity exists
Validate that the statusfield is provided by the selected business entity



Constructor Detail
Top

WorkflowBusinessEntity ()

Purpose: Constructor of the WorkflowBusinessEntity class
Notes: Passes the handle of the dataset instance to the base class and
sets the default DataAccessName



ProDataset Detail

ProDataset dsWorkflow

Member tables: eSmartWorkflow, eSmartWorkflowActivity, eSmartWorkflowStatus, eSmartWorkflowStatusActivity, eSmartWorkflowSwimlane


Temp-Table Detail

Temp-Table eSmartWorkflow

Defined in:

Temp-Table eSmartWorkflowActivity

Defined in:

Temp-Table eSmartWorkflowStatus

Defined in:

Temp-Table eSmartWorkflowStatusActivity

Defined in:

Temp-Table eSmartWorkflowSwimlane

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:29:16