public abstract class BaseHandler extends Object
Constructor and Description |
---|
BaseHandler() |
Modifier and Type | Method and Description |
---|---|
protected com.edorasware.gear.core.caze.Case.Builder |
adjustWithAssigneeAndOwner(com.edorasware.gear.core.caze.Case.Builder builder) |
protected com.edorasware.gear.core.caze.Case.Builder |
adjustWithCandidates(com.edorasware.gear.core.caze.Case.Builder builder,
com.edorasware.gear.core.caze.CaseDefinitionId definitionId) |
protected void |
archiveCase(String caseClientId,
com.edorasware.commons.core.entity.State state) |
protected Map<String,String> |
extractCaseFileItemDefinitionLookup(com.edorasware.commons.core.any.AnyWorkObjectDefinition caseDefinition)
Blindly extract the taskDefinitions json string from the case definition XML and return it de-serialized.
|
protected Map<String,String> |
extractTaskDefinitionLookup(com.edorasware.commons.core.any.AnyWorkObjectDefinition caseDefinition)
Blindly extract the taskDefinitions json string from the case definition XML and return it de-serialized.
|
protected com.edorasware.commons.core.any.AnyWorkObjectDefinitionService |
getAnyWorkObjectDefinitionService() |
protected org.springframework.context.ApplicationContext |
getApplicationContext() |
protected BaseVariableHandlingService |
getBaseVariableHandlingService() |
protected com.edorasware.gear.core.caze.CaseService |
getCaseService() |
protected CaseUtils |
getCaseUtils() |
protected com.edorasware.cmmn.engine.core.CmmnService |
getCmmnService() |
protected com.edorasware.commons.core.identity.CurrentUserService |
getCurrentUserService() |
ExtensionPoint |
getExtensionPoint() |
protected String |
getHumanTaskClientRef(com.edorasware.cmmn.model.structure.HumanTask humanTask)
Get the clientRef property from a human task.
|
protected OnePersistenceListeners |
getOnePersistenceListeners() |
protected com.edorasware.commons.core.persistence.PrimaryKeyGenerator |
getPrimaryKeyGenerator() |
protected com.edorasware.gear.core.process.ProcessDefinitionService |
getProcessDefinitionService() |
protected com.edorasware.gear.core.process.ProcessService |
getProcessService() |
protected com.edorasware.cmmn.engine.core.StateModelManager |
getStateModelManager() |
protected com.edorasware.commons.core.any.AnyWorkObjectService |
getWorkObjectService() |
protected void |
storeCaseVariableIndexed(com.edorasware.cmmn.model.structure.PlanItem planItem,
String variableName,
Object variableValue)
Store a value as a variable on the case.
|
protected Map<String,String> extractTaskDefinitionLookup(com.edorasware.commons.core.any.AnyWorkObjectDefinition caseDefinition)
caseDefinition
- the case definitionprotected Map<String,String> extractCaseFileItemDefinitionLookup(com.edorasware.commons.core.any.AnyWorkObjectDefinition caseDefinition)
caseDefinition
- the case definitionprotected void archiveCase(String caseClientId, com.edorasware.commons.core.entity.State state)
protected String getHumanTaskClientRef(com.edorasware.cmmn.model.structure.HumanTask humanTask)
Get the clientRef property from a human task.
For backward compatibility: In old CMMN case state models, the client ref could be null, in which case it is extracted from the case.
humanTask
- of interest.protected com.edorasware.gear.core.caze.Case.Builder adjustWithAssigneeAndOwner(com.edorasware.gear.core.caze.Case.Builder builder)
protected com.edorasware.gear.core.caze.Case.Builder adjustWithCandidates(com.edorasware.gear.core.caze.Case.Builder builder, com.edorasware.gear.core.caze.CaseDefinitionId definitionId)
protected void storeCaseVariableIndexed(com.edorasware.cmmn.model.structure.PlanItem planItem, String variableName, Object variableValue)
variableName
parameter
and may optionally be suffixed by '[]' in which case the value is stored in a map indexed by plan item instance Id.
The purpose of the optional [] suffix is to enable the modeller to store values related to multiple instance plan items.
planItem
- the plan item.variableName
- the variable name.variableValue
- the variable value.protected com.edorasware.gear.core.process.ProcessDefinitionService getProcessDefinitionService()
protected com.edorasware.gear.core.process.ProcessService getProcessService()
protected com.edorasware.commons.core.any.AnyWorkObjectDefinitionService getAnyWorkObjectDefinitionService()
protected com.edorasware.commons.core.any.AnyWorkObjectService getWorkObjectService()
protected com.edorasware.gear.core.caze.CaseService getCaseService()
protected CaseUtils getCaseUtils()
protected com.edorasware.commons.core.identity.CurrentUserService getCurrentUserService()
protected OnePersistenceListeners getOnePersistenceListeners()
protected com.edorasware.cmmn.engine.core.StateModelManager getStateModelManager()
protected com.edorasware.cmmn.engine.core.CmmnService getCmmnService()
protected com.edorasware.commons.core.persistence.PrimaryKeyGenerator getPrimaryKeyGenerator()
protected BaseVariableHandlingService getBaseVariableHandlingService()
protected org.springframework.context.ApplicationContext getApplicationContext()
public ExtensionPoint getExtensionPoint()
Copyright © 2010 - 2015 edorasware ag. All Rights Reserved.