Interface GroupManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractGroupManager

public interface GroupManager
extends Serializable
A GroupManager performs Group objects related tasks on behalf of the BaseSecurityService. The responsibilities of this class include loading data of an group from the storage and putting them into the Group objects, saving those data to the permanent storage.
Version:
$Id: GroupManager.java 1884710 2020-12-22 16:16:40Z gk $
Author:
Eric Pugh
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static String ROLE
    Avalon role - used to id the component within the manager
  • Method Summary

    Modifier and Type Method Description
    <T extends Group>
    T
    addGroup​(T group)
    Creates a new group with specified attributes.
    boolean checkExists​(String groupName)
    Determines if a Group exists in the security system with the specified name.
    boolean checkExists​(Group group)
    Determines if the Group exists in the security system.
    GroupSet getAllGroups()
    Retrieves all groups defined in the system.
    <T extends Group>
    T
    getGroupById​(Object id)
    Retrieve a Group object with specified Id.
    <T extends Group>
    T
    getGroupByName​(String name)
    Retrieve a Group object with specified name.
    <T extends Group>
    T
    getGroupInstance()
    Construct a blank Group object.
    <T extends Group>
    T
    getGroupInstance​(String groupName)
    Construct a blank Group object.
    void removeGroup​(Group group)
    Removes a Group from the system.
    void renameGroup​(Group group, String name)
    Renames an existing Group.