Class HumanTaskItemHandler
java.lang.Object
org.camunda.bpm.engine.impl.cmmn.handler.CmmnElementHandler<CmmnElement,CmmnActivity>
org.camunda.bpm.engine.impl.cmmn.handler.ItemHandler
org.camunda.bpm.engine.impl.cmmn.handler.TaskItemHandler
org.camunda.bpm.engine.impl.cmmn.handler.HumanTaskItemHandler
- All Implemented Interfaces:
ModelElementHandler<CmmnElement,
CmmnHandlerContext, CmmnActivity>
- Author:
- Roman Smirnov
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.cmmn.handler.ItemHandler
CASE_PLAN_MODEL_CLOSE_EVENTS, CASE_PLAN_MODEL_CREATE_EVENTS, CASE_PLAN_MODEL_EVENTS, CASE_PLAN_MODEL_UPDATE_EVENTS, DEFAULT_VARIABLE_EVENTS, EVENT_LISTENER_OR_MILESTONE_CREATE_EVENTS, EVENT_LISTENER_OR_MILESTONE_END_EVENTS, EVENT_LISTENER_OR_MILESTONE_EVENTS, EVENT_LISTENER_OR_MILESTONE_UPDATE_EVENTS, PARENT_COMPLETE, PROPERTY_ACTIVITY_DESCRIPTION, PROPERTY_ACTIVITY_TYPE, PROPERTY_AUTO_COMPLETE, PROPERTY_DISCRETIONARY, PROPERTY_IS_BLOCKING, PROPERTY_MANUAL_ACTIVATION_RULE, PROPERTY_REPETITION_RULE, PROPERTY_REQUIRED_RULE, TASK_OR_STAGE_CREATE_EVENTS, TASK_OR_STAGE_END_EVENTS, TASK_OR_STAGE_EVENTS, TASK_OR_STAGE_UPDATE_EVENTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TaskDefinition
createTaskDefinition
(CmmnElement element, CmmnHandlerContext context) protected CmmnActivityBehavior
protected HumanTask
getDefinition
(CmmnElement element) handleElement
(CmmnElement element, CmmnHandlerContext context) This method handles a element to create a new element.protected void
initializeActivity
(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) protected void
initializeTaskDefinitionAssignee
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected void
initializeTaskDefinitionCandidateGroups
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected void
initializeTaskDefinitionCandidateUsers
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected void
initializeTaskDefinitionDueDate
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected void
initializeTaskDefinitionFollowUpDate
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected void
initializeTaskDefinitionFormKey
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected void
initializeTaskDefinitionName
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected void
initializeTaskDefinitionPriority
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected void
initializeTaskDescription
(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) protected TaskListener
initializeTaskListener
(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, CamundaTaskListener listener) protected void
initializeTaskListeners
(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, TaskDefinition taskDefinition) Methods inherited from class org.camunda.bpm.engine.impl.cmmn.handler.TaskItemHandler
getStandardEvents, initializeBlocking
Methods inherited from class org.camunda.bpm.engine.impl.cmmn.handler.ItemHandler
createActivity, getDefaultControl, getDesciption, getDocumentation, getEntryCriterias, getExitCriterias, getExpressionValue, getExtensionElements, getFixedValue, getItemControl, getName, initializeActivityType, initializeAutoComplete, initializeCaseControlRule, initializeCaseExecutionListener, initializeCaseExecutionListeners, initializeDescription, initializeEntryCriterias, initializeExitCriterias, initializeFieldDeclaration, initializeFieldDeclarations, initializeManualActivationRule, initializeRepetitionRule, initializeRequiredRule, initializeScript, initializeVariableListener, initializeVariableListeners, isDiscretionaryItem, isPlanItem, queryExtensionElementsByClass
-
Constructor Details
-
HumanTaskItemHandler
public HumanTaskItemHandler()
-
-
Method Details
-
handleElement
Description copied from interface:ModelElementHandler
This method handles a element to create a new element.
- Specified by:
handleElement
in interfaceModelElementHandler<CmmnElement,
CmmnHandlerContext, CmmnActivity> - Overrides:
handleElement
in classItemHandler
- Parameters:
element
- theModelElementInstance
to be handled.context
- theHandlerContext
which holds necessary information.- Returns:
- a new element.
-
initializeActivity
protected void initializeActivity(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) - Overrides:
initializeActivity
in classTaskItemHandler
-
createTaskDefinition
-
initializeTaskDefinitionName
protected void initializeTaskDefinitionName(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskDefinitionFormKey
protected void initializeTaskDefinitionFormKey(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskDefinitionAssignee
protected void initializeTaskDefinitionAssignee(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskDefinitionCandidateUsers
protected void initializeTaskDefinitionCandidateUsers(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskDefinitionCandidateGroups
protected void initializeTaskDefinitionCandidateGroups(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskDefinitionDueDate
protected void initializeTaskDefinitionDueDate(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskDefinitionFollowUpDate
protected void initializeTaskDefinitionFollowUpDate(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskDefinitionPriority
protected void initializeTaskDefinitionPriority(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskDescription
protected void initializeTaskDescription(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) -
initializeTaskListeners
protected void initializeTaskListeners(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, TaskDefinition taskDefinition) -
initializeTaskListener
protected TaskListener initializeTaskListener(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, CamundaTaskListener listener) -
getDefinition
- Overrides:
getDefinition
in classItemHandler
-
getActivityBehavior
- Overrides:
getActivityBehavior
in classTaskItemHandler
-