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
 Group getGroup(String groupname)
          Returns the Group for this groupname, else null if no such Group exists.
 boolean groupExists(String groupname)
          Returns true if the given group name exists.
 

Method Detail

groupExists

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

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

getGroup

Group getGroup(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.