org.apache.jetspeed.portlets.layout
Class MultiColumnPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.portals.bridges.common.GenericServletPortlet
          extended by org.apache.jetspeed.portlets.layout.LayoutPortlet
              extended by org.apache.jetspeed.portlets.layout.MultiColumnPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class MultiColumnPortlet
extends LayoutPortlet


Field Summary
protected  JetspeedContentCache decoratorCache
           
protected  DecorationFactory decorators
           
protected static int DEFAULT_NUM_COLUMN
           
protected static java.lang.String DEFAULT_ONE_COLUMN_SIZES
           
protected static java.lang.String DEFAULT_THREE_COLUMN_SIZES
           
protected static java.lang.String DEFAULT_TWO_COLUMN_SIZES
           
protected  JetspeedDesktop desktop
           
protected static org.apache.commons.logging.Log log
          Commons logging
protected static java.lang.String PARAM_COLUMN_SIZES
           
protected static java.lang.String PARAM_NUM_COLUMN
           
 
Fields inherited from class org.apache.jetspeed.portlets.layout.LayoutPortlet
decorationLocator, DECORATOR_TYPE, DEFAULT_TEMPLATE_EXT, DEFAULT_TEMPLATE_TYPE, entityAccess, FRAGMENT_ATTR, FRAGMENT_PROCESSING_ERROR_PREFIX, GENERIC_TEMPLATE_TYPE, HIDDEN, jptFactory, LAYOUT_ATTR, LAYOUT_TEMPLATE_TYPE, pageManager, PARAM_SOLO_PAGE, registry, TEMPLATE_EXTENSION_KEY, TEMPLATE_TYPE_KEY, templateLocator, windowAccess
 
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE
 
Constructor Summary
MultiColumnPortlet()
           
 
Method Summary
protected  void clearLayoutAttributes(javax.portlet.ActionRequest request)
           
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
protected  java.lang.String getEscapedName(java.lang.String pageName)
           
protected  int getFragmentNestingLevel(Fragment parent, int level, java.lang.String fragmentId)
           
protected  int getFragmentNestingLevel(Page page, java.lang.String fragmentId)
           
 void init(javax.portlet.PortletConfig config)
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
 
Methods inherited from class org.apache.jetspeed.portlets.layout.LayoutPortlet
addPortletToPage, addPortletToPage, decorateAndInclude, doEdit, doHelp, getConfiguration, getDecoration, getDecoratorLocatorDescriptor, getFragment, getJetspeedPowerTool, getMaximizedLayout, getRequestContext, getTemplate, getTemplateLocatorDescriptor, removeFragment, removeFragment
 
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet
doCustom, getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Commons logging


PARAM_NUM_COLUMN

protected static final java.lang.String PARAM_NUM_COLUMN
See Also:
Constant Field Values

DEFAULT_NUM_COLUMN

protected static final int DEFAULT_NUM_COLUMN
See Also:
Constant Field Values

PARAM_COLUMN_SIZES

protected static final java.lang.String PARAM_COLUMN_SIZES
See Also:
Constant Field Values

DEFAULT_ONE_COLUMN_SIZES

protected static final java.lang.String DEFAULT_ONE_COLUMN_SIZES
See Also:
Constant Field Values

DEFAULT_TWO_COLUMN_SIZES

protected static final java.lang.String DEFAULT_TWO_COLUMN_SIZES
See Also:
Constant Field Values

DEFAULT_THREE_COLUMN_SIZES

protected static final java.lang.String DEFAULT_THREE_COLUMN_SIZES
See Also:
Constant Field Values

decorators

protected DecorationFactory decorators

desktop

protected JetspeedDesktop desktop

decoratorCache

protected JetspeedContentCache decoratorCache
Constructor Detail

MultiColumnPortlet

public MultiColumnPortlet()
Method Detail

init

public void init(javax.portlet.PortletConfig config)
          throws javax.portlet.PortletException
Specified by:
init in interface javax.portlet.Portlet
Overrides:
init in class LayoutPortlet
Throws:
javax.portlet.PortletException

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   java.io.IOException
Overrides:
doView in class LayoutPortlet
Throws:
javax.portlet.PortletException
java.io.IOException

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse response)
                   throws javax.portlet.PortletException,
                          java.io.IOException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class LayoutPortlet
Throws:
javax.portlet.PortletException
java.io.IOException

clearLayoutAttributes

protected void clearLayoutAttributes(javax.portlet.ActionRequest request)

getFragmentNestingLevel

protected int getFragmentNestingLevel(Page page,
                                      java.lang.String fragmentId)

getFragmentNestingLevel

protected int getFragmentNestingLevel(Fragment parent,
                                      int level,
                                      java.lang.String fragmentId)

getEscapedName

protected java.lang.String getEscapedName(java.lang.String pageName)


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.