org.apache.cocoon.portal.coplets.basket
Class UserConfiguration

java.lang.Object
  extended by 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 $

Field Summary
static String ATTR_NAME
          The attribute name used to store this configuration in the session
protected  boolean basketEnabled
           
protected  boolean briefcaseEnabled
           
protected  boolean folderEnabled
           
 
Constructor Summary
UserConfiguration(Map attributes)
          Constructor Read the configuration from the map
 
Method Summary
static UserConfiguration get(Map objectModel, PortalService service)
          Get/create the user configuration
 boolean isBasketEnabled()
           
 boolean isBriefcaseEnabled()
           
 boolean isFolderEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

UserConfiguration

public UserConfiguration(Map attributes)
Constructor Read the configuration from the map

Method Detail

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.