|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Serviceable
ServiceException
public void register(CopletInstanceData coplet)
ProfileManager
register
in interface ProfileManager
public void register(Layout layout)
ProfileManager
register
in interface ProfileManager
public void saveUserProfiles(String layoutKey)
ProfileManager
ProfileManager.saveUserCopletInstanceDatas(String)
and ProfileManager.saveUserLayout(String)
, but implementations are free to
implement this method in a different way.
saveUserProfiles
in interface ProfileManager
public void saveUserCopletInstanceDatas(String layoutKey)
ProfileManager
saveUserCopletInstanceDatas
in interface ProfileManager
public void saveUserLayout(String layoutKey)
ProfileManager
saveUserLayout
in interface ProfileManager
public void unregister(CopletInstanceData coplet)
ProfileManager
unregister
in interface ProfileManager
public void unregister(Layout layout)
ProfileManager
unregister
in interface ProfileManager
public void login()
ProfileManager
login
in interface ProfileManager
public void logout()
ProfileManager
logout
in interface ProfileManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |