com.atlassian.jira.security.groups
Interface GroupManager

All Known Implementing Classes:
DefaultGroupManager

public interface GroupManager

This object can be used to manage groups in JIRA. This manager offers the following advantages over using the Open Symphony UserManager class:

Since:
v3.13

Method Summary
 com.opensymphony.user.Group getGroup(java.lang.String groupname)
          Returns the Group for this groupname, else null if no such Group exists.
 boolean groupExists(java.lang.String groupname)
          Returns true if the given group name exists.
 

Method Detail

groupExists

boolean groupExists(java.lang.String groupname)
Returns true if the given group name exists.

Parameters:
groupname - The group name.
Returns:
true if the given group name exists.

getGroup

com.opensymphony.user.Group getGroup(java.lang.String groupname)
Returns the Group for this groupname, else null if no such Group exists.

Parameters:
groupname - The group name.
Returns:
The Group for this groupname, else null if no such Group exists.


Copyright © 2002-2010 Atlassian. All Rights Reserved.