|
||||||||||
| 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
public abstract class AbstractProfileManager
Base class for all profile managers
| Field Summary | |
|---|---|
protected ServiceManager |
manager
|
| Fields inherited from interface org.apache.cocoon.portal.profile.ProfileManager |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractProfileManager()
|
|
| Method Summary | |
|---|---|
void |
login()
This method is invoked when the user logs into the portal. |
void |
logout()
This method is invoked when the user logs out of the portal |
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 |
saveUserCopletInstanceDatas(String layoutKey)
Save the coplet instance data |
void |
saveUserLayout(String layoutKey)
Save the layout |
void |
saveUserProfiles(String layoutKey)
Save the profile. |
void |
service(ServiceManager manager)
|
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.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 |
| Methods inherited from interface org.apache.cocoon.portal.profile.ProfileManager |
|---|
getCopletData, getCopletDatas, getCopletInstanceData, getCopletInstanceData, getCopletInstanceDatas, getPortalLayout, getUser, storeProfile |
| Field Detail |
|---|
protected ServiceManager manager
| Constructor Detail |
|---|
public AbstractProfileManager()
| Method Detail |
|---|
public void service(ServiceManager manager)
throws ServiceException
service in interface ServiceableServiceExceptionpublic void register(CopletInstanceData coplet)
ProfileManager
register in interface ProfileManagerpublic void register(Layout layout)
ProfileManager
register in interface ProfileManagerpublic void saveUserProfiles(String layoutKey)
ProfileManagerProfileManager.saveUserCopletInstanceDatas(String)
and ProfileManager.saveUserLayout(String), but implementations are free to
implement this method in a different way.
saveUserProfiles in interface ProfileManagerpublic void saveUserCopletInstanceDatas(String layoutKey)
ProfileManager
saveUserCopletInstanceDatas in interface ProfileManagerpublic void saveUserLayout(String layoutKey)
ProfileManager
saveUserLayout in interface ProfileManagerpublic void unregister(CopletInstanceData coplet)
ProfileManager
unregister in interface ProfileManagerpublic void unregister(Layout layout)
ProfileManager
unregister in interface ProfileManagerpublic void login()
ProfileManager
login in interface ProfileManagerpublic void logout()
ProfileManager
logout in interface ProfileManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||