| java.lang.Object org.apache.lenya.ac.UserType
UserType | public class UserType (Code) | | A user type to be supported by the UserManager
Note: the types are configured through the access control configuration
version: $Id: UserType.java 473861 2006-11-12 03:51:14Z gregor $ |
Method Summary | |
public String | getClassName() Get the name of the class responsible for implementing this
type of user. | public String | getCreateUseCase() Get the createUseCase name to be used when a user of this type
is to be created. | public String | getKey() Get the key to be used for this type. | public void | setClassName(String _className) Set the name of the class responsible for implementing this
type of user. | public void | setCreateUseCase(String _createUseCase) Set the createUseCase name to be used when a user of this type
is to be created. | public void | setKey(String _key) Set the key to be used for this type. |
UserType | public UserType()(Code) | | Ctor.
|
UserType | public UserType(String _key, String _className, String _createUseCase)(Code) | | Ctor.
Parameters: _key - The key. Parameters: _className - The class name. Parameters: _createUseCase - The create usecase. |
getCreateUseCase | public String getCreateUseCase()(Code) | | Get the createUseCase name to be used when a user of this type
is to be created.
This name will be used in the flowscript (currently: user-admin.js),
in order to distinguish between different types.
a String the name of the use case in the flowscript |
getKey | public String getKey()(Code) | | Get the key to be used for this type.
This key can be used for a dictionary entry for the user interface.
a String |
setClassName | public void setClassName(String _className)(Code) | | Set the name of the class responsible for implementing this
type of user. Note that in current version, this field is for
information only; in later versions, it might be used for
introspection and dynamic flowscript creation.
Parameters: _className - the new className |
setCreateUseCase | public void setCreateUseCase(String _createUseCase)(Code) | | Set the createUseCase name to be used when a user of this type
is to be created.
This name will be used in the flowscript (currently: user-admin.js),
in order to distinguish between different types.
Parameters: _createUseCase - the new createUseCase |
setKey | public void setKey(String _key)(Code) | | Set the key to be used for this type.
This key can be used for a dictionary entry for the user interface.
Parameters: _key - the new key |
|
|