snaker获取所有的流程定义
作者:互联网
engine为org.snaker.engine.SnakerEngine
protected SnakerEngine engine = SnakerPlugin.getEngine();
QueryFilter filter = new QueryFilter();
String displayName = getPara("displayName");
if(StringHelper.isNotEmpty(displayName)) {
filter.setDisplayName(displayName);
}
Page<Process> page = new Page<Process>();
page.setPageNo(getParaToInt("pageNo", 1));
engine.process().getProcesss(page, filter);
setAttr("page", page);
标签:engine,displayName,定义,QueryFilter,流程,filter,snaker,page 来源: https://blog.csdn.net/huangbaokang/article/details/97173886