类 AbstractCoreBpmnRuntimeProcessSupport<T extends Auditable<ID>,ID extends Serializable>
- java.lang.Object
-
- net.sinodawn.module.sys.bpmn.engine.support.AbstractCoreBpmnRuntimeProcessSupport<T,ID>
-
- 直接已知子类:
CoreBpmnRuntimeCompleteProcessSupport,CoreBpmnRuntimeEndProcessSupport,CoreBpmnRuntimeOddRejectProcessSupport,CoreBpmnRuntimeRejectProcessSupport,CoreBpmnRuntimeStartProcessSupport,CoreBpmnRuntimeTransferProcessSupport,CoreBpmnRuntimeUndoProcessSupport,CoreBpmnRuntimeWithdrawProcessSupport
public abstract class AbstractCoreBpmnRuntimeProcessSupport<T extends Auditable<ID>,ID extends Serializable> extends Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected static classAbstractCoreBpmnRuntimeProcessSupport.CallbackCategory
-
字段概要
字段 修饰符和类型 字段 说明 protected static StringBPMN_VALIDATOR_SQL_DESCprotected static StringBPMN_VALIDATOR_SQL_SNprotected static StringBPMN_VALIDATOR_SQL_TABLEprotected static StringBPMN_VALIDATOR_SQL_TYPEprotected CoreBpmnTargetServicebpmnTargetServiceprotected CoreBpmnCommentServicecommentServiceprotected CoreBpmnDiagramServicediagramServiceprotected GlobalMapperglobalMapperprotected CoreBpmnInstanceServiceinstanceServiceprotected CoreBpmnInstanceTaskRoleServiceinstanceTaskRoleServiceprotected CoreBpmnInstanceTaskServiceinstanceTaskServiceprotected CoreBpmnInstanceTaskUserServiceinstanceTaskUserServiceprotected CoreBpmnProcServiceprocServiceprotected CoreBpmnInstanceTaskHisServicetaskHisService
-
构造器概要
构造器 构造器 说明 AbstractCoreBpmnRuntimeProcessSupport()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<CoreBpmnInstanceStatusDTO<ID>>apply(List<CoreBpmnRuntimeSource<T,ID>> sourceList)protected voiddoCallback(Map<String,List<ID>> callbackMap)protected List<CoreBpmnInstanceStatusDTO<ID>>doProcess(List<CoreBpmnRuntimeSource<T,ID>> sourceList)protected voiddoValidate(List<CoreBpmnRuntimeSource<T,ID>> sourceList)protected CoreBpmnTargetBeangetBpmnTarget(CoreBpmnRuntimeSource<T,ID> source, ProcessStatus status)protected StringgetElementName(org.dom4j.Document diagram, String statusCodes)protected StringgetRoute(String sourceName, String targetName)protected Map<String,String>getValidateSqlMap(int serialNumber, String validatorSql, Object id)protected voidinsertComment(String targetId, org.dom4j.Element taskElement, CommentStatus commentStatus, CoreBpmnRuntimeSource<T,ID> source, String route)protected voidinsertNextInstanceTask(org.dom4j.Document diagram, CoreBpmnInstanceBean instance, List<org.dom4j.Element> nextTaskElementList, CoreBpmnRuntimeSource<T,ID> source)protected voidprepareCallback(AbstractCoreBpmnRuntimeProcessSupport.CallbackCategory callbackCateogry, org.dom4j.Element element, ID id)protected voidprepareEndCallback(AbstractCoreBpmnRuntimeProcessSupport.CallbackCategory callbackCateogry, org.dom4j.Element element, ID id)protected voidprepareValidateSql(int serialNumber, String sql, ID id)protected voidprocessData()protected voidsendNotification(List<CoreBpmnRuntimeSource<T,ID>> sourceList, List<CoreBpmnInstanceStatusDTO<ID>> statusList)protected voidupdateProcessStatus(String table, List<CoreBpmnInstanceStatusDTO<ID>> statusList)protected voidvalidateBySql()
-
-
-
字段详细资料
-
globalMapper
protected final GlobalMapper globalMapper
-
procService
protected final CoreBpmnProcService procService
-
diagramService
protected final CoreBpmnDiagramService diagramService
-
instanceService
protected final CoreBpmnInstanceService instanceService
-
instanceTaskService
protected final CoreBpmnInstanceTaskService instanceTaskService
-
instanceTaskUserService
protected final CoreBpmnInstanceTaskUserService instanceTaskUserService
-
instanceTaskRoleService
protected final CoreBpmnInstanceTaskRoleService instanceTaskRoleService
-
commentService
protected final CoreBpmnCommentService commentService
-
bpmnTargetService
protected final CoreBpmnTargetService bpmnTargetService
-
taskHisService
protected final CoreBpmnInstanceTaskHisService taskHisService
-
-
方法详细资料
-
apply
public List<CoreBpmnInstanceStatusDTO<ID>> apply(List<CoreBpmnRuntimeSource<T,ID>> sourceList)
-
doValidate
protected void doValidate(List<CoreBpmnRuntimeSource<T,ID>> sourceList)
-
doProcess
protected List<CoreBpmnInstanceStatusDTO<ID>> doProcess(List<CoreBpmnRuntimeSource<T,ID>> sourceList)
-
sendNotification
protected void sendNotification(List<CoreBpmnRuntimeSource<T,ID>> sourceList, List<CoreBpmnInstanceStatusDTO<ID>> statusList)
-
insertComment
protected void insertComment(String targetId, org.dom4j.Element taskElement, CommentStatus commentStatus, CoreBpmnRuntimeSource<T,ID> source, String route)
-
getValidateSqlMap
protected Map<String,String> getValidateSqlMap(int serialNumber, String validatorSql, Object id)
-
validateBySql
protected void validateBySql()
-
prepareCallback
protected void prepareCallback(AbstractCoreBpmnRuntimeProcessSupport.CallbackCategory callbackCateogry, org.dom4j.Element element, ID id)
-
prepareEndCallback
protected void prepareEndCallback(AbstractCoreBpmnRuntimeProcessSupport.CallbackCategory callbackCateogry, org.dom4j.Element element, ID id)
-
insertNextInstanceTask
protected void insertNextInstanceTask(org.dom4j.Document diagram, CoreBpmnInstanceBean instance, List<org.dom4j.Element> nextTaskElementList, CoreBpmnRuntimeSource<T,ID> source)
-
getBpmnTarget
protected CoreBpmnTargetBean getBpmnTarget(CoreBpmnRuntimeSource<T,ID> source, ProcessStatus status)
-
updateProcessStatus
protected void updateProcessStatus(String table, List<CoreBpmnInstanceStatusDTO<ID>> statusList)
-
processData
protected void processData()
-
-