com.atlassian.jira.scheme.type
Class GroupDropdown

java.lang.Object
  |
  +--com.atlassian.jira.scheme.type.GroupDropdown
All Implemented Interfaces:
SchemeType

public class GroupDropdown
extends java.lang.Object
implements SchemeType


Field Summary
static java.lang.String DESC
           
 
Constructor Summary
GroupDropdown()
           
 
Method Summary
 boolean doValidation(java.lang.String key, java.util.Map parameters)
           
 java.lang.String getDisplayName()
           
 java.util.List getGroups()
           
 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 use is part of a group that has the permission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESC

public static final java.lang.String DESC
See Also:
Constant Field Values
Constructor Detail

GroupDropdown

public GroupDropdown()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface SchemeType

getType

public java.lang.String getType()
Specified by:
getType in interface SchemeType

getGroups

public java.util.List getGroups()

hasPermission

public boolean hasPermission(org.ofbiz.core.entity.GenericValue entity,
                             java.lang.String argument,
                             com.opensymphony.module.user.User user)
Determines if the use is part of a group that has the permission

Specified by:
hasPermission in interface SchemeType
Parameters:
entity -
argument - The group. If it is null then it is Anyone
user - The user to check if they are in the group
Returns:
See Also:
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), SingleUser.hasPermission(org.ofbiz.core.entity.GenericValue, java.lang.String, com.opensymphony.module.user.User)

doValidation

public boolean doValidation(java.lang.String key,
                            java.util.Map parameters)
Specified by:
doValidation in interface SchemeType


Copyright © 2002-2003 Atlassian. All Rights Reserved.