|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.nakedobjects.object.AbstractNakedObject
org.nakedobjects.security.User
| Constructor Summary | |
User()
|
|
| Method Summary | |
static User |
getCurrent()
|
TextString |
getName()
|
InternalCollection |
getRoles()
|
static boolean |
isAUserLoggedOn()
|
static void |
logoff()
|
static void |
logon(User user)
|
Permission |
permission(Role role)
|
Title |
title()
every Naked Object is required to provide a Title by which
it is identified to the end user.
|
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.nakedobjects.object.NakedObject |
addObserver, countObservers, deleteObserver, hasChanged |
| Constructor Detail |
public User()
| Method Detail |
public static User getCurrent()
public static void logon(User user)
public static void logoff()
public final TextString getName()
public final InternalCollection getRoles()
public Permission permission(Role role)
public Title title()
AbstractNakedObjectTitle by which
it is identified to the end user.
Unless overridden, the String representation of this
Title object is available through
contextualTitle().
title in interface Nakedtitle in class AbstractNakedObjectAbstractNakedObject.contextualTitle()public static boolean isAUserLoggedOn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||