|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.profile.impl.AbstractProfileManager
org.apache.cocoon.portal.profile.impl.StaticProfileManager
public class StaticProfileManager
| Nested Class Summary | |
|---|---|
protected static class |
StaticProfileManager.StaticPortalUser
|
| Field Summary | |
|---|---|
protected org.apache.commons.collections.map.StaticBucketMap |
copletDataManagers
|
protected org.apache.commons.collections.map.StaticBucketMap |
copletInstanceDataManagers
|
protected static String |
LAYOUTKEY_PREFIX
|
protected PortalUser |
portalUser
|
protected String |
profilesPath
|
| Fields inherited from class org.apache.cocoon.portal.profile.impl.AbstractProfileManager |
|---|
manager |
| Fields inherited from interface org.apache.cocoon.portal.profile.ProfileManager |
|---|
ROLE |
| Constructor Summary | |
|---|---|
StaticProfileManager()
|
|
| Method Summary | |
|---|---|
void |
configure(Configuration configuration)
|
CopletData |
getCopletData(String copletDataId)
Return the coplet data object |
Collection |
getCopletDatas()
Get all coplets |
List |
getCopletInstanceData(CopletData data)
|
CopletInstanceData |
getCopletInstanceData(String copletID)
|
Collection |
getCopletInstanceDatas()
Get all instances |
Layout |
getPortalLayout(String layoutKey,
String layoutID)
Get the portal layout defined by the layout key. |
PortalUser |
getUser()
Get current user information |
void |
register(CopletInstanceData coplet)
New coplet instance datas have to be registered using this method. |
void |
register(Layout layout)
New layouts have to be registered using this method. |
void |
storeProfile(Layout rootLayout,
String layoutKey)
Store the provided profile under the layoutKey. |
void |
unregister(CopletInstanceData coplet)
Removed coplet instance datas have to be unregistered using this method. |
void |
unregister(Layout layout)
New layouts have to be unregistered using this method. |
| Methods inherited from class org.apache.cocoon.portal.profile.impl.AbstractProfileManager |
|---|
login, logout, saveUserCopletInstanceDatas, saveUserLayout, saveUserProfiles, service |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String profilesPath
protected org.apache.commons.collections.map.StaticBucketMap copletInstanceDataManagers
protected org.apache.commons.collections.map.StaticBucketMap copletDataManagers
protected static final String LAYOUTKEY_PREFIX
protected PortalUser portalUser
| Constructor Detail |
|---|
public StaticProfileManager()
| Method Detail |
|---|
public Layout getPortalLayout(String layoutKey,
String layoutID)
ProfileManager
getPortalLayout in interface ProfileManagerlayoutKey - A key describing the layout or null for the defaultlayoutID - The id of a layout object or null for the root object
ProfileManager.getPortalLayout(String, String)public CopletInstanceData getCopletInstanceData(String copletID)
getCopletInstanceData in interface ProfileManagerpublic CopletData getCopletData(String copletDataId)
ProfileManager
getCopletData in interface ProfileManagerpublic List getCopletInstanceData(CopletData data)
getCopletInstanceData in interface ProfileManagerpublic void register(CopletInstanceData coplet)
ProfileManager
register in interface ProfileManagerregister in class AbstractProfileManagerpublic void unregister(CopletInstanceData coplet)
ProfileManager
unregister in interface ProfileManagerunregister in class AbstractProfileManagerpublic void register(Layout layout)
ProfileManager
register in interface ProfileManagerregister in class AbstractProfileManagerpublic void unregister(Layout layout)
ProfileManager
unregister in interface ProfileManagerunregister in class AbstractProfileManager
public void configure(Configuration configuration)
throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic Collection getCopletDatas()
ProfileManager
getCopletDatas in interface ProfileManagerpublic Collection getCopletInstanceDatas()
ProfileManager
getCopletInstanceDatas in interface ProfileManager
public void storeProfile(Layout rootLayout,
String layoutKey)
ProfileManager
storeProfile in interface ProfileManagerpublic PortalUser getUser()
ProfileManager
getUser in interface ProfileManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||