com.atlassian.jira.web.bean
Class FilterUtils
java.lang.Object
com.atlassian.jira.web.bean.FilterUtils
public class FilterUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterUtils
public FilterUtils()
verifyString
public static String verifyString(String s)
- Returned string is non-null IFF there is a true value (ie some text)
verifyStringArray
public static String[] verifyStringArray(String[] sa)
- Retirned string array is non-null IFF there is a true value (ie some text)
verifyLong
public static Long verifyLong(Long id)
getGroups
public static Collection getGroups(com.atlassian.crowd.embedded.api.User user)
- Get the groups that this filter can be shared with. If this is a regular user, this will be the user's groups.
If the user is an admin, it will return all groups.
- Returns:
- A collection of strings representing the groups.
Copyright © 2002-2012 Atlassian. All Rights Reserved.