org.apache.lenya.ac
Interface Groupable

All Known Subinterfaces:
IPRange, User

public interface Groupable

Generalized interface of group member objects.

Version:
$Id: Groupable.java 473861 2006-11-12 03:51:14Z gregor $

Method Summary
 void addedToGroup(Group group)
          Notifies this Groupable of being added to a group.
 Group[] getGroups()
          Returns all groups that contain this Groupable.
 void removedFromGroup(Group group)
          Notifies this Groupable of being removed from a group.
 void removeFromAllGroups()
          Removes this Groupable from all groups.
 

Method Detail

addedToGroup

void addedToGroup(Group group)
Notifies this Groupable of being added to a group.

Parameters:
group - The group.

removedFromGroup

void removedFromGroup(Group group)
Notifies this Groupable of being removed from a group.

Parameters:
group - The group.

getGroups

Group[] getGroups()
Returns all groups that contain this Groupable.

Returns:
A Group array.

removeFromAllGroups

void removeFromAllGroups()
Removes this Groupable from all groups.



Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.