流程图服务
| Modifiers | Name | Description |
|---|---|---|
static String |
COLOR_DONE |
流程定义文件名的后缀 |
static String |
COLOR_PREDICT_FONT |
流程图颜色定义:预测环节字体 blue |
static String |
COLOR_TODO |
流程图颜色定义:待办 lightblue |
static String |
COLOR_TODO_CUR |
流程图颜色定义:当前用户的待办 orangered |
static Object |
aliasOverridingOrder |
| Type | Name and description |
|---|---|
com.grailsrocks.cacheheaders.CacheHeadersService |
cacheHeadersService |
bropen.framework.core.ErrorService |
errorService |
ProcessDefinitionService |
processDefinitionService |
ProcessPredictService |
processPredictService |
bropen.framework.core.SettingService |
settingService |
| Type | Name and description |
|---|---|
String |
getCriticalFlowchartFilename(ProcessInstance processInst, Long employeeId, String type)获得仅包含关键环节的流程图的缓存文件名 |
String |
getCriticalFlowchartFilename(String entry, String type, String revision = null)获得仅包含关键环节的流程图的缓存文件名 |
String |
getFullFlowchartFilename(ProcessInstance processInst, Long employeeId, String type)获得完整的流程图的缓存文件名 |
String |
getFullFlowchartFilename(String entry, String type, String revision = null)获得完整的流程图的缓存文件名 |
String |
getImageMapAreasHtml(String mapId, Map imageMapAreas, Closure htmlFormater)根据imageMapAreas,生成HTML的图形MAP |
String |
getImageMapAreasHtml(String mapId, String mapFilename, Closure htmlFormater)根据imageMapAreas,生成HTML的图形MAP |
boolean |
hasCriticalFlowchart(ProcessInstance processInst)判断流程是否有关键路径流程图 |
boolean |
hasCriticalFlowchart(String entry, String revision = null)判断流程是否有关键路径流程图 |
boolean |
hasFlowchart(ProcessInstance processInst)判断流程是否有流程图 |
boolean |
hasFlowchart(String entry, String revision = null)判断流程是否有流程图 |
void |
loadFlowchart(String entry, String revision = null)初始化流程图基本信息 |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
流程定义文件名的后缀
流程图颜色定义:预测环节字体 blue
流程图颜色定义:待办 lightblue
流程图颜色定义:当前用户的待办 orangered
获得仅包含关键环节的流程图的缓存文件名
processInst - 流程实例employeeId - 当前员工的ID(对应的待办会亮显)type - 文件类型,包括:png、svg、map获得仅包含关键环节的流程图的缓存文件名
processInst - 流程 DomainClass 全名type - 文件类型,包括:png、svg、maprevision - 版本号获得完整的流程图的缓存文件名
processInst - 流程实例employeeId - 当前员工的ID(对应的待办会亮显)type - 文件类型,包括:png、svg、map获得完整的流程图的缓存文件名
processInst - 流程 DomainClass 全名type - 文件类型,包括:png、svg、maprevision - 版本号根据imageMapAreas,生成HTML的图形MAP
imageMapAreas中包含:shape-形状、coords-坐标、key-节点或路径的标识符(
根据imageMapAreas,生成HTML的图形MAP
判断流程是否有关键路径流程图
processInst - 流程实例判断流程是否有关键路径流程图
entry - 代表流程路径的entryrevision - 版本号,默认为活跃版本判断流程是否有流程图
processInst - 流程实例判断流程是否有流程图
entry - 代表流程路径的entryrevision - 版本号,默认为活跃版本初始化流程图基本信息
entry - 代表流程路径的entryrevision - 版本号