| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.ac.file.FileItemManager
org.apache.lenya.ac.file.FileGroupManager
public final class FileGroupManager
File-based group manager.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.apache.lenya.ac.file.FileItemManager | 
|---|
FileItemManager.DirectoryChangeNotifier | 
| Field Summary | 
|---|
| Fields inherited from class org.apache.lenya.ac.file.FileItemManager | 
|---|
PATH | 
| Method Summary | |
|---|---|
 void | 
add(Group group)
Add a group to this manager  | 
 Group | 
getGroup(java.lang.String groupId)
Get the group with the given group name.  | 
 Group[] | 
getGroups()
Get all groups  | 
protected  java.lang.String | 
getSuffix()
Returns the file extension to be used.  | 
static FileGroupManager | 
instance(java.io.File configurationDirectory)
Return the GroupManager for the given publication. | 
 void | 
remove(Group group)
Remove a group from this manager  | 
| Methods inherited from class org.apache.lenya.ac.file.FileItemManager | 
|---|
add, addItemManagerListener, contains, getConfigurationDirectory, getFileFilter, getItem, getItemClass, getItemConfiguration, getItems, loadItem, loadItems, notifyAdded, notifyRemoved, remove, removeItem, removeItemManagerListener, update | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.lenya.ac.ItemManager | 
|---|
addItemManagerListener, removeItemManagerListener | 
| Method Detail | 
|---|
public static FileGroupManager instance(java.io.File configurationDirectory)
                                 throws AccessControlException
GroupManager for the given publication.
 The GroupManager is a singleton.
configurationDirectory - for which the GroupManager is requested
GroupManager
AccessControlException - if no GroupManager could be instanciatedpublic Group[] getGroups()
getGroups in interface GroupManager
public void add(Group group)
         throws AccessControlException
add in interface GroupManagergroup - the group to be added
AccessControlException - when the notification failed.
public void remove(Group group)
            throws AccessControlException
remove in interface GroupManagergroup - the group to be removed
AccessControlException - when the notification failed.public Group getGroup(java.lang.String groupId)
getGroup in interface GroupManagergroupId - the id of the requested group
Group or null if there is no group with the given nameprotected java.lang.String getSuffix()
FileItemManager
getSuffix in class FileItemManagerFileItemManager.getSuffix()
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||