com.atlassian.jira.workflow.validator
Class UserPermissionValidator
java.lang.Object
com.atlassian.jira.workflow.validator.AbstractPermissionValidator
com.atlassian.jira.workflow.validator.UserPermissionValidator
- All Implemented Interfaces:
- com.opensymphony.workflow.Validator
Deprecated. since 3.5.2 use PermissionValidator
instead. Note this cannot be removed without an upgrade task for existing users.
public class UserPermissionValidator
- extends AbstractPermissionValidator
- implements com.opensymphony.workflow.Validator
Variant of PermissionValidator
which lets the user specify the name of the field specifying the username.
Method Summary |
void |
validate(java.util.Map transientVars,
java.util.Map args,
com.opensymphony.module.propertyset.PropertySet ps)
Deprecated. Looks up a transient var based on a argument passed in. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_ALLOWED_KEY
public static final java.lang.String NULL_ALLOWED_KEY
- Deprecated.
- See Also:
- Constant Field Values
UserPermissionValidator
public UserPermissionValidator()
- Deprecated.
validate
public void validate(java.util.Map transientVars,
java.util.Map args,
com.opensymphony.module.propertyset.PropertySet ps)
throws com.opensymphony.workflow.InvalidInputException
- Deprecated.
- Looks up a transient var based on a argument passed in.
If the transient Var exists then lookup the user with that username and see if they
have the permission, also passed in the args.
- Specified by:
validate
in interface com.opensymphony.workflow.Validator
- Throws:
com.opensymphony.workflow.InvalidInputException
Copyright © 2002-2011 Atlassian. All Rights Reserved.