com.atlassian.jira.security.type
Class CurrentAssignee
java.lang.Object
com.atlassian.jira.security.type.AbstractSecurityType
com.atlassian.jira.security.type.AbstractIssueFieldSecurityType
com.atlassian.jira.security.type.CurrentAssignee
- All Implemented Interfaces:
- SchemeType, SecurityType
public class CurrentAssignee
- extends AbstractIssueFieldSecurityType
Field Summary |
static java.lang.String |
DESC
|
Method Summary |
boolean |
doValidation(java.lang.String key,
java.util.Map parameters)
|
java.lang.String |
getDisplayName()
|
protected java.lang.String |
getFieldName()
|
java.lang.String |
getType()
|
protected boolean |
hasProjectPermission(com.opensymphony.user.User user,
boolean issueCreation)
This should return two different values depending on where it is called from. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESC
public static final java.lang.String DESC
- See Also:
- Constant Field Values
CurrentAssignee
public CurrentAssignee()
getDisplayName
public java.lang.String getDisplayName()
getType
public java.lang.String getType()
doValidation
public boolean doValidation(java.lang.String key,
java.util.Map parameters)
getFieldName
protected java.lang.String getFieldName()
- Specified by:
getFieldName
in class AbstractIssueFieldSecurityType
hasProjectPermission
protected boolean hasProjectPermission(com.opensymphony.user.User user,
boolean issueCreation)
- This should return two different values depending on where it is called from.
If we are creating an Issue we want to return FALSE but otherwise TRUE
- Specified by:
hasProjectPermission
in class AbstractIssueFieldSecurityType
Copyright © 2002-2006 Atlassian. All Rights Reserved.