|
||||||||||
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 org.apache.cocoon.portal.profile.impl.AbstractUserProfileManager
GroupBasedProfileManager
public abstract class AbstractUserProfileManager
The profile manager using the authentication framework
Field Summary |
---|
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 | |
---|---|
AbstractUserProfileManager()
Deprecated. |
Method Summary | |
---|---|
protected void |
cacheLayouts(Map layoutMap,
Layout layout)
Deprecated. |
CopletData |
getCopletData(String copletDataId)
Deprecated. Return the coplet data object |
Collection |
getCopletDatas()
Deprecated. Get all coplets |
List |
getCopletInstanceData(CopletData data)
Deprecated. |
CopletInstanceData |
getCopletInstanceData(String copletID)
Deprecated. |
Collection |
getCopletInstanceDatas()
Deprecated. Get all instances |
Layout |
getPortalLayout(String layoutKey,
String layoutID)
Deprecated. Get the portal layout defined by the layout key. |
protected abstract Layout |
loadProfile(String layoutKey,
PortalService service,
CopletFactory copletFactory,
LayoutFactory layoutFactory,
ServiceSelector adapterSelector)
Deprecated. This loads a new profile |
void |
login()
Deprecated. This method is invoked when the user logs into the portal. |
void |
logout()
Deprecated. This method is invoked when the user logs out of the portal |
protected void |
prepareObject(Object object,
Object factory)
Deprecated. Prepares the object by using the specified factory. |
void |
register(CopletInstanceData coplet)
Deprecated. New coplet instance datas have to be registered using this method. |
void |
register(Layout layout)
Deprecated. New layouts have to be registered using this method. |
void |
storeProfile(Layout rootLayout,
String layoutKey)
Deprecated. Store the provided profile under the layoutKey. |
void |
unregister(CopletInstanceData coplet)
Deprecated. Removed coplet instance datas have to be unregistered using this method. |
void |
unregister(Layout layout)
Deprecated. New layouts have to be unregistered using this method. |
Methods inherited from class org.apache.cocoon.portal.profile.impl.AbstractProfileManager |
---|
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 |
Methods inherited from interface org.apache.cocoon.portal.profile.ProfileManager |
---|
getUser |
Constructor Detail |
---|
public AbstractUserProfileManager()
Method Detail |
---|
public void login()
ProfileManager
login
in interface ProfileManager
login
in class AbstractProfileManager
public void logout()
ProfileManager
logout
in interface ProfileManager
logout
in class AbstractProfileManager
protected void cacheLayouts(Map layoutMap, Layout layout)
layoutMap
- layout
- protected void prepareObject(Object object, Object factory) throws ProcessingException
ProcessingException
public CopletInstanceData getCopletInstanceData(String copletID)
public CopletData getCopletData(String copletDataId)
ProfileManager
public List getCopletInstanceData(CopletData data)
public void register(CopletInstanceData coplet)
ProfileManager
register
in interface ProfileManager
register
in class AbstractProfileManager
public void unregister(CopletInstanceData coplet)
ProfileManager
unregister
in interface ProfileManager
unregister
in class AbstractProfileManager
public void register(Layout layout)
ProfileManager
register
in interface ProfileManager
register
in class AbstractProfileManager
public void unregister(Layout layout)
ProfileManager
unregister
in interface ProfileManager
unregister
in class AbstractProfileManager
public Layout getPortalLayout(String layoutKey, String layoutID)
ProfileManager
layoutKey
- A key describing the layout or null for the defaultlayoutID
- The id of a layout object or null for the root object
protected abstract Layout loadProfile(String layoutKey, PortalService service, CopletFactory copletFactory, LayoutFactory layoutFactory, ServiceSelector adapterSelector) throws Exception
Exception
public Collection getCopletDatas()
ProfileManager
public Collection getCopletInstanceDatas()
ProfileManager
public void storeProfile(Layout rootLayout, String layoutKey)
ProfileManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |