3、 在hisotrystep中找与上面的获得到的stepid想匹配的项,
if (((step.getOwner() != null) && (context.getCaller() != null)) && context.getCaller().equals(step.getOwner())) {
return true;
}
上面的step指的是historysteps中的某一个(通过iterator获得),而context是通过WorkflowContext context = (WorkflowContext) transientVars.get("context");获得到的,两者进行比较,来返回boolean。
AllowOwnerOnlyCondition这个类实现
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




