| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.ac.impl.AbstractItem
org.apache.lenya.ac.impl.AbstractGroup
org.apache.lenya.ac.file.FileGroup
public class FileGroup
File-based group implementation.
| Field Summary | |
|---|---|
static java.lang.String | 
GROUP
Group configuration element.  | 
| Constructor Summary | |
|---|---|
FileGroup()
Creates a new FileGroup object.  | 
|
FileGroup(java.io.File configurationDirectory,
          java.lang.String id)
Create a new instance of FileGroup | 
|
| Method Summary | |
|---|---|
 void | 
configure(org.apache.avalon.framework.configuration.Configuration config)
Configures this file group.  | 
 void | 
delete()
Delete a group  | 
protected  java.io.File | 
getConfigurationDirectory()
Returns the configuration directory.  | 
protected  java.io.File | 
getFile()
Returns the configuration file.  | 
 void | 
save()
Save this group  | 
 void | 
setConfigurationDirectory(java.io.File configurationDirectory)
Sets the configuration directory of this item.  | 
| Methods inherited from class org.apache.lenya.ac.impl.AbstractGroup | 
|---|
add, contains, getAccreditables, getMembers, remove, removeAllMembers | 
| Methods inherited from class org.apache.lenya.ac.impl.AbstractItem | 
|---|
equals, getDescription, getId, getName, hashCode, isValidId, setDescription, setId, setName, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.apache.lenya.ac.Item | 
|---|
getDescription, getId, getName, setDescription, setName | 
| Field Detail | 
|---|
public static final java.lang.String GROUP
| Constructor Detail | 
|---|
public FileGroup()
public FileGroup(java.io.File configurationDirectory,
                 java.lang.String id)
FileGroup
configurationDirectory - to which the group will be attached toid - the ID of the group| Method Detail | 
|---|
public void delete()
            throws AccessControlException
AbstractGroup
delete in interface Groupdelete in class AbstractGroupAccessControlException - if the delete failedGroup.delete()
public void configure(org.apache.avalon.framework.configuration.Configuration config)
               throws org.apache.avalon.framework.configuration.ConfigurationException
config - The configuration.
org.apache.avalon.framework.configuration.ConfigurationException - when something went wrong.protected java.io.File getFile()
public void save()
          throws AccessControlException
AccessControlException - if the save failedprotected java.io.File getConfigurationDirectory()
public void setConfigurationDirectory(java.io.File configurationDirectory)
Item
configurationDirectory - The configuration directory.Item.setConfigurationDirectory(java.io.File)
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||