|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface User
A user.
Method Summary | |
---|---|
boolean |
authenticate(java.lang.String password)
Authenticate a user. |
boolean |
canChangePassword()
Checks support for changing password |
void |
delete()
Delete a user |
AccreditableManager |
getAccreditableManager()
|
java.lang.String |
getDefaultDocumentLocale()
Returns the user's default locale of documents to be created or edited. |
java.lang.String |
getDefaultMenuLocale()
Returns the user's preferred locale for the Lenya CMS menus and CMS screens. |
java.lang.String |
getEmail()
Get the email address |
void |
save()
Save the user |
void |
setDefaultDocumentLocale(java.lang.String documentLocale)
Sets the user's default locale of documents to be created or edited. |
void |
setDefaultMenuLocale(java.lang.String menuLocale)
Sets the user's preferred locale for the Lenya menu and CMS screens. |
void |
setEmail(java.lang.String email)
Set the email address |
void |
setPassword(java.lang.String plainTextPassword)
Sets the password. |
Methods inherited from interface org.apache.lenya.ac.Accreditable |
---|
getAccreditables |
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 |
Methods inherited from interface org.apache.lenya.ac.Groupable |
---|
addedToGroup, getGroups, removedFromGroup, removeFromAllGroups |
Method Detail |
---|
java.lang.String getEmail()
String
void setEmail(java.lang.String email)
email
- the new email addressvoid setPassword(java.lang.String plainTextPassword)
plainTextPassword
- The plain text password.boolean canChangePassword()
java.lang.String getDefaultMenuLocale()
void setDefaultMenuLocale(java.lang.String menuLocale)
menuLocale
- The locale.java.lang.String getDefaultDocumentLocale()
void setDefaultDocumentLocale(java.lang.String documentLocale)
documentLocale
- The locale.void save() throws AccessControlException
AccessControlException
- if the save failedvoid delete() throws AccessControlException
AccessControlException
- if the delete failedboolean authenticate(java.lang.String password)
password
- to authenticate with
AccreditableManager getAccreditableManager()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |