org.apache.cocoon.portal.profile.impl
Class StaticProfileManager
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.impl.AbstractComponent
org.apache.cocoon.portal.profile.impl.AbstractProfileManager
org.apache.cocoon.portal.profile.impl.StaticProfileManager
- All Implemented Interfaces:
- Configurable, Contextualizable, Disposable, Initializable, LogEnabled, Preloadable, ProfileManager, Receiver, Serviceable, ThreadSafe
- public class StaticProfileManager
- extends AbstractProfileManager
- implements Configurable
- Version:
- $Id: StaticProfileManager.java 328046 2005-10-24 12:12:27Z cziegeler $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
profilesPath
protected String profilesPath
copletInstanceDataManagers
protected org.apache.commons.collections.map.StaticBucketMap copletInstanceDataManagers
copletDataManagers
protected org.apache.commons.collections.map.StaticBucketMap copletDataManagers
LAYOUTKEY_PREFIX
protected static final String LAYOUTKEY_PREFIX
portalUser
protected PortalUser portalUser
StaticProfileManager
public StaticProfileManager()
getPortalLayout
public Layout getPortalLayout(String layoutKey,
String layoutID)
- Description copied from interface:
ProfileManager
- Get the portal layout defined by the layout key. This
usually addresses the layout profile.
With the optional subKey it's possible to retrieve
a specific layout object in the profile defined by
the layout key.
- Specified by:
getPortalLayout
in interface ProfileManager
- Parameters:
layoutKey
- A key describing the layout or null for the defaultlayoutID
- The id of a layout object or null for the root object
- Returns:
- The layout
- See Also:
ProfileManager.getPortalLayout(String, String)
getCopletInstanceData
public CopletInstanceData getCopletInstanceData(String copletID)
- Specified by:
getCopletInstanceData
in interface ProfileManager
- See Also:
ProfileManager.getCopletInstanceData(java.lang.String)
getCopletData
public CopletData getCopletData(String copletDataId)
- Description copied from interface:
ProfileManager
- Return the coplet data object
- Specified by:
getCopletData
in interface ProfileManager
- See Also:
ProfileManager.getCopletData(java.lang.String)
getCopletInstanceData
public List getCopletInstanceData(CopletData data)
- Specified by:
getCopletInstanceData
in interface ProfileManager
- See Also:
ProfileManager.getCopletInstanceData(org.apache.cocoon.portal.coplet.CopletData)
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
- See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
getCopletDatas
public Collection getCopletDatas()
- Description copied from interface:
ProfileManager
- Get all coplets
- Specified by:
getCopletDatas
in interface ProfileManager
- See Also:
ProfileManager.getCopletDatas()
getCopletInstanceDatas
public Collection getCopletInstanceDatas()
- Description copied from interface:
ProfileManager
- Get all instances
- Specified by:
getCopletInstanceDatas
in interface ProfileManager
- See Also:
ProfileManager.getCopletInstanceDatas()
getUser
public PortalUser getUser()
- Description copied from interface:
ProfileManager
- Get current user information
- Specified by:
getUser
in interface ProfileManager
- See Also:
ProfileManager.getUser()
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.