|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.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(org.apache.lenya.ac.ItemManager itemManager,
org.apache.avalon.framework.logger.Logger logger)
Creates a new FileGroup object. |
|
FileGroup(org.apache.lenya.ac.ItemManager itemManager,
org.apache.avalon.framework.logger.Logger logger,
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 |
protected void |
setConfigurationDirectory(java.io.File _configurationDirectory)
|
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 |
---|
compareTo, equals, getAccreditableManager, getDescription, getId, getItemManager, getName, hashCode, setDescription, setId, setName, toString |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
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, getItemManager, getName, setDescription, setName |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
---|
enableLogging |
Field Detail |
---|
public static final java.lang.String GROUP
Constructor Detail |
---|
public FileGroup(org.apache.lenya.ac.ItemManager itemManager, org.apache.avalon.framework.logger.Logger logger)
itemManager
- The item manager.logger
- The logger.public FileGroup(org.apache.lenya.ac.ItemManager itemManager, org.apache.avalon.framework.logger.Logger logger, java.lang.String id)
FileGroup
itemManager
- The item manager.logger
- The logger.id
- the ID of the groupMethod Detail |
---|
public void delete() throws org.apache.lenya.ac.AccessControlException
AbstractGroup
delete
in interface org.apache.lenya.ac.Group
delete
in class AbstractGroup
org.apache.lenya.ac.AccessControlException
- if the delete failedGroup.delete()
public void configure(org.apache.avalon.framework.configuration.Configuration config) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.lenya.ac.Item
config
- The configuration.
org.apache.avalon.framework.configuration.ConfigurationException
- when something went wrong.protected java.io.File getFile()
public void save() throws org.apache.lenya.ac.AccessControlException
save
in interface org.apache.lenya.ac.Group
org.apache.lenya.ac.AccessControlException
- if the save failedprotected java.io.File getConfigurationDirectory()
protected void setConfigurationDirectory(java.io.File _configurationDirectory)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |