org.apache.lenya.ac.impl
Class AbstractRole

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.ac.impl.AbstractItem
          extended by org.apache.lenya.ac.impl.AbstractRole
All Implemented Interfaces:
java.lang.Comparable, org.apache.avalon.framework.logger.LogEnabled, org.apache.lenya.ac.Item, org.apache.lenya.ac.Role
Direct Known Subclasses:
FileRole

public abstract class AbstractRole
extends AbstractItem
implements org.apache.lenya.ac.Role

A Role embodies the privilege to do certain things.


Constructor Summary
AbstractRole(org.apache.lenya.ac.ItemManager itemManager, org.apache.avalon.framework.logger.Logger logger)
          Creates a new instance of Role.
AbstractRole(org.apache.lenya.ac.ItemManager itemManager, org.apache.avalon.framework.logger.Logger logger, java.lang.String name)
          Creates a new instance of Role.
 
Method Summary
 
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.Role
isAssignable
 
Methods inherited from interface org.apache.lenya.ac.Item
configure, getDescription, getId, getItemManager, getName, setDescription, setName
 
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled
enableLogging
 

Constructor Detail

AbstractRole

public AbstractRole(org.apache.lenya.ac.ItemManager itemManager,
                    org.apache.avalon.framework.logger.Logger logger)
Creates a new instance of Role.

Parameters:
itemManager - The item manager.
logger - The logger.

AbstractRole

public AbstractRole(org.apache.lenya.ac.ItemManager itemManager,
                    org.apache.avalon.framework.logger.Logger logger,
                    java.lang.String name)
Creates a new instance of Role.

Parameters:
itemManager - The item manager.
logger - The logger.
name - The role name.


Copyright $ Apache Software Foundation. All Rights Reserved.