org.apache.jetspeed.portlets.layout
Class MultiColumnPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.jetspeed.portlets.layout.LayoutPortlet
org.apache.jetspeed.portlets.layout.MultiColumnPortlet
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
public class MultiColumnPortlet
- extends LayoutPortlet
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 |
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 |
log
protected static final org.apache.commons.logging.Log log
- Commons logging
PARAM_NUM_COLUMN
protected static final 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 String PARAM_COLUMN_SIZES
- See Also:
- Constant Field Values
DEFAULT_ONE_COLUMN_SIZES
protected static final String DEFAULT_ONE_COLUMN_SIZES
- See Also:
- Constant Field Values
DEFAULT_TWO_COLUMN_SIZES
protected static final String DEFAULT_TWO_COLUMN_SIZES
- See Also:
- Constant Field Values
DEFAULT_THREE_COLUMN_SIZES
protected static final String DEFAULT_THREE_COLUMN_SIZES
- See Also:
- Constant Field Values
numColumns
private int numColumns
columnSizes
private String columnSizes
portletName
private String portletName
layoutType
private String layoutType
editorType
private String editorType
decorators
protected org.apache.jetspeed.decoration.DecorationFactory decorators
desktop
protected org.apache.jetspeed.desktop.JetspeedDesktop desktop
decoratorCache
protected org.apache.jetspeed.cache.JetspeedContentCache decoratorCache
MultiColumnPortlet
public MultiColumnPortlet()
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,
IOException
- Overrides:
doView
in class LayoutPortlet
- Throws:
javax.portlet.PortletException
IOException
processAction
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
- Specified by:
processAction
in interface javax.portlet.Portlet
- Overrides:
processAction
in class LayoutPortlet
- Throws:
javax.portlet.PortletException
IOException
clearLayoutAttributes
protected void clearLayoutAttributes(javax.portlet.ActionRequest request)
getFragmentNestingLevel
protected int getFragmentNestingLevel(org.apache.jetspeed.om.page.Page page,
String fragmentId)
getFragmentNestingLevel
protected int getFragmentNestingLevel(org.apache.jetspeed.om.page.Fragment parent,
int level,
String fragmentId)
getEscapedName
protected String getEscapedName(String pageName)
applyStyle
private void applyStyle(org.apache.jetspeed.om.folder.Folder f,
String theme,
String theme_type)
throws org.apache.jetspeed.page.FolderNotUpdatedException,
org.apache.jetspeed.page.document.NodeException
- Throws:
org.apache.jetspeed.page.FolderNotUpdatedException
org.apache.jetspeed.page.document.NodeException
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.