|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.atlassian.jira.scheme.type.SingleUser
Field Summary | |
static java.lang.String |
DESC
|
Constructor Summary | |
SingleUser()
|
Method Summary | |
boolean |
doValidation(java.lang.String key,
java.util.Map parameters)
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getType()
|
boolean |
hasPermission(org.ofbiz.core.entity.GenericValue entity,
java.lang.String argument,
com.opensymphony.module.user.User user)
Determines if the single user is the same as the current user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DESC
Constructor Detail |
public SingleUser()
Method Detail |
public java.lang.String getDisplayName()
getDisplayName
in interface SchemeType
public java.lang.String getType()
getType
in interface SchemeType
public boolean doValidation(java.lang.String key, java.util.Map parameters)
doValidation
in interface SchemeType
public boolean hasPermission(org.ofbiz.core.entity.GenericValue entity, java.lang.String argument, com.opensymphony.module.user.User user)
hasPermission
in interface SchemeType
entity
- Not needed for this implementationargument
- The user name that the check is based onuser
- User to check the permission on. If it is null then the check is made on the current user
CurrentAssignee.hasPermission(org.ofbiz.core.entity.GenericValue, java.lang.String, com.opensymphony.module.user.User)
,
CurrentReporter.hasPermission(org.ofbiz.core.entity.GenericValue, java.lang.String, com.opensymphony.module.user.User)
,
ProjectLead.hasPermission(org.ofbiz.core.entity.GenericValue, java.lang.String, com.opensymphony.module.user.User)
,
GroupDropdown.hasPermission(org.ofbiz.core.entity.GenericValue, java.lang.String, com.opensymphony.module.user.User)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |