|
DJDoc v.1.0.0b-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.djdoc.bo.UserVO
net.sf.djdoc.bo.UserEntity
public class UserEntity
The UserEntity is a persistence capable (via Hibernate) class.
| Constructor Summary | |
|---|---|
UserEntity()
|
|
| Method Summary | |
|---|---|
static UserEntity |
findByName(java.lang.String name)
"Finder" method for retrieving a user by his name. |
int |
getId()
Getter method for this UserEntity's internal ID. |
java.lang.String |
getPassword()
Getter method for this UserEntity's password. |
void |
setId(int id)
Setter method for this UserEntity's internal ID. |
void |
setPassword(java.lang.String password)
Setter method for this UserEntity's password. |
| Methods inherited from class net.sf.djdoc.bo.UserVO |
|---|
getName, getViewPref, setName, setViewPref, toggleViewPref |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserEntity()
| Method Detail |
|---|
public static UserEntity findByName(java.lang.String name)
name - The name of the user to be retrieved.
UserEntity object with the given namepublic int getId()
UserEntity's internal ID.
getId in interface BusinessObjectUserEntitypublic void setId(int id)
UserEntity's internal ID.
id - The internal ID of this UserEntitypublic java.lang.String getPassword()
UserEntity's password. The password
itself is not used by the DJDoc web application, but providing this
attribute causes a corresponding column to be created in the database
during the schema creation by Hibernate. This allows to configure the
container to use the same database for authentication (if
ContainerBasedUserStrategy is used).
UserEntitypublic void setPassword(java.lang.String password)
UserEntity's password.
password - The password of this UserEntity
|
DJDoc v.1.0.0b-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||