?? allowownerofstepcondition.java
字號:
/* * Copyright (c) 2002-2003 by OpenSymphony * All rights reserved. */package com.opensymphony.workflow.util;import com.opensymphony.module.propertyset.PropertySet;import com.opensymphony.workflow.Condition;import com.opensymphony.workflow.WorkflowException;import java.util.Map;/** * @deprecated Use IsUserOwnerCondition instead * @see com.opensymphony.workflow.util.IsUserOwnerCondition * * Checks owner of "stepId" in args and compares to current user * * @author Travis reeder Date: Feb 18, 2003 Time: 4:47:00 PM * @version 0.1 */public class AllowOwnerOfStepCondition implements Condition { //~ Methods //////////////////////////////////////////////////////////////// // //////////////////////////////////////////////////////////////// public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws WorkflowException { IsUserOwnerCondition isOwnerCondition = new IsUserOwnerCondition(); return isOwnerCondition.passesCondition(transientVars, args, ps); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -