org.apache.cocoon.portal.coplets.basket
Class UserConfiguration
java.lang.Object
org.apache.cocoon.portal.coplets.basket.UserConfiguration
public class UserConfiguration
- extends Object
This data object holds the configuration of a user for the basket
- Version:
- CVS $Id: UserConfiguration.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Constructor Summary |
UserConfiguration(Map attributes)
Constructor
Read the configuration from the map |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_NAME
public static final String ATTR_NAME
- The attribute name used to store this configuration in the session
- See Also:
- Constant Field Values
basketEnabled
protected boolean basketEnabled
briefcaseEnabled
protected boolean briefcaseEnabled
folderEnabled
protected boolean folderEnabled
UserConfiguration
public UserConfiguration(Map attributes)
- Constructor
Read the configuration from the map
get
public static UserConfiguration get(Map objectModel,
PortalService service)
- Get/create the user configuration
isBasketEnabled
public boolean isBasketEnabled()
isBriefcaseEnabled
public boolean isBriefcaseEnabled()
isFolderEnabled
public boolean isFolderEnabled()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.