|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.userprofile.UserProfileLoaderDefault
public class UserProfileLoaderDefault
Acts like a bridge, loading the profile from the underlying store.
| Nested Class Summary | |
|---|---|
static class |
UserProfileLoaderDefault.Mode
|
| Constructor Summary | |
|---|---|
UserProfileLoaderDefault(UserProfileStore store)
|
|
UserProfileLoaderDefault(UserProfileStore store,
UserProfileLoaderDefault.Mode mode)
for testing purposes, explicitly specify the Mode. |
|
| Method Summary | |
|---|---|
void |
debugData(DebugString debug)
|
java.lang.String |
debugTitle()
|
UserProfile |
getProfile()
Deprecated. |
UserProfile |
getProfile(AuthenticationSession session)
|
java.util.List<java.lang.Object> |
getServices()
|
void |
init()
Does nothing. |
boolean |
isFixturesInstalled()
|
void |
saveAsDefault(UserProfile userProfile)
|
void |
saveForUser(java.lang.String userName,
UserProfile userProfile)
|
void |
saveSession(java.util.List<NakedObject> objects)
|
void |
setServices(java.util.List<java.lang.Object> serviceList)
|
void |
shutdown()
Does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserProfileLoaderDefault(UserProfileStore store)
public UserProfileLoaderDefault(UserProfileStore store,
UserProfileLoaderDefault.Mode mode)
| Method Detail |
|---|
public void init()
init in interface ApplicationScopedComponentpublic void shutdown()
shutdown in interface ApplicationScopedComponentpublic boolean isFixturesInstalled()
isFixturesInstalled in interface UserProfileLoaderPersistenceSession.isFixturesInstalled()public void saveAsDefault(UserProfile userProfile)
saveAsDefault in interface UserProfileLoader
public void saveForUser(java.lang.String userName,
UserProfile userProfile)
saveForUser in interface UserProfileLoaderpublic void saveSession(java.util.List<NakedObject> objects)
saveSession in interface UserProfileLoaderpublic UserProfile getProfile(AuthenticationSession session)
getProfile in interface UserProfileLoader@Deprecated public UserProfile getProfile()
getProfile in interface UserProfileLoaderpublic void debugData(DebugString debug)
debugData in interface DebugInfopublic java.lang.String debugTitle()
debugTitle in interface DebugInfopublic java.util.List<java.lang.Object> getServices()
getServices in interface UserProfileLoaderpublic void setServices(java.util.List<java.lang.Object> serviceList)
setServices in interface UserProfileLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||