org.apache.portals.gems.flash
Class FlashPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.bridges.velocity.GenericVelocityPortlet
org.apache.portals.gems.flash.FlashPortlet
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
public class FlashPortlet
- extends org.apache.portals.bridges.velocity.GenericVelocityPortlet
Fields inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
PORTLET_BRIDGE_CONTEXT |
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE |
Method Summary |
protected void |
configureClasspathVelocityEngine(org.apache.velocity.app.VelocityEngine vEngine)
|
void |
doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
protected java.util.Map |
getDefaultFlashVars()
|
protected java.util.Map |
getDefaultObjectAttributes()
|
protected java.util.Map |
getDefaultObjectParameters()
|
protected java.lang.String |
getDefaultSwfVersion()
|
protected java.util.Map |
getFlashVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
FlashPortlet.SWFContext swfContext)
|
protected java.util.Map |
getObjectAttributes(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
FlashPortlet.SWFContext swfContext)
|
protected java.util.Map |
getObjectParameters(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
FlashPortlet.SWFContext swfContext)
|
void |
init(javax.portlet.PortletConfig config)
|
java.util.Map |
parseSemicolonEqualsDelimitedProps(java.lang.String propsStr)
|
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
|
protected void |
processClasspathTemplate(java.lang.String classpathTemplate,
org.apache.velocity.context.Context context,
javax.portlet.RenderResponse response)
|
protected void |
readSwfFileInfo(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
|
protected void |
setContextVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
|
protected void |
setFinalContextVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
|
protected void |
setParameterContextVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
|
protected void |
setSizeContextVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
|
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
doCustom, doHelp, doPreferencesEdit, getContext, getContext, render, setupPreferencesEdit |
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEIGHT_PREF
public static final java.lang.String HEIGHT_PREF
- See Also:
- Constant Field Values
WIDTH_PREF
public static final java.lang.String WIDTH_PREF
- See Also:
- Constant Field Values
SRC_PREF
public static final java.lang.String SRC_PREF
- See Also:
- Constant Field Values
MAX_SRC_PREF
public static final java.lang.String MAX_SRC_PREF
- See Also:
- Constant Field Values
MAX_HEIGHT_PREF
public static final java.lang.String MAX_HEIGHT_PREF
- See Also:
- Constant Field Values
MAX_WIDTH_PREF
public static final java.lang.String MAX_WIDTH_PREF
- See Also:
- Constant Field Values
OBJECT_PARAMS_INITPARAM
public static final java.lang.String OBJECT_PARAMS_INITPARAM
- See Also:
- Constant Field Values
OBJECT_ATTRIBUTES_INITPARAM
public static final java.lang.String OBJECT_ATTRIBUTES_INITPARAM
- See Also:
- Constant Field Values
FLASHVARS_INITPARAM
public static final java.lang.String FLASHVARS_INITPARAM
- See Also:
- Constant Field Values
VIEW_PAGE_INITPARAM
public static final java.lang.String VIEW_PAGE_INITPARAM
- See Also:
- Constant Field Values
PARAM_VIEW_PAGE
public static final java.lang.String PARAM_VIEW_PAGE
- See Also:
- Constant Field Values
PARAM_EDIT_PAGE
public static final java.lang.String PARAM_EDIT_PAGE
- See Also:
- Constant Field Values
PARAM_VIEW_PAGE_DEFAULT
public static final java.lang.String PARAM_VIEW_PAGE_DEFAULT
- See Also:
- Constant Field Values
PARAM_EDIT_PAGE_DEFAULT
public static final java.lang.String PARAM_EDIT_PAGE_DEFAULT
- See Also:
- Constant Field Values
CODEBASE
public static final java.lang.String CODEBASE
- See Also:
- Constant Field Values
CLASSID
public static final java.lang.String CLASSID
- See Also:
- Constant Field Values
NODEID
public static final java.lang.String NODEID
- See Also:
- Constant Field Values
SRC
public static final java.lang.String SRC
- See Also:
- Constant Field Values
WIDTH
public static final java.lang.String WIDTH
- See Also:
- Constant Field Values
HEIGHT
public static final java.lang.String HEIGHT
- See Also:
- Constant Field Values
WIDTH_ACTUAL
public static final java.lang.String WIDTH_ACTUAL
- See Also:
- Constant Field Values
HEIGHT_ACTUAL
public static final java.lang.String HEIGHT_ACTUAL
- See Also:
- Constant Field Values
HEIGHT_PERCENT
public static final java.lang.String HEIGHT_PERCENT
- See Also:
- Constant Field Values
OBJECT_PARAMS
public static final java.lang.String OBJECT_PARAMS
- See Also:
- Constant Field Values
OBJECT_ATTRIBUTES
public static final java.lang.String OBJECT_ATTRIBUTES
- See Also:
- Constant Field Values
FLASHVARS
public static final java.lang.String FLASHVARS
- See Also:
- Constant Field Values
EXTRA_SIZE_INFO
public static final java.lang.String EXTRA_SIZE_INFO
- See Also:
- Constant Field Values
WINDOW_STATE
public static final java.lang.String WINDOW_STATE
- See Also:
- Constant Field Values
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
REPLACECONTENT_NODEID
public static final java.lang.String REPLACECONTENT_NODEID
- See Also:
- Constant Field Values
SWF_VERSION
public static final java.lang.String SWF_VERSION
- See Also:
- Constant Field Values
SWF_VERSION_DEFAULT
public static final java.lang.String SWF_VERSION_DEFAULT
- See Also:
- Constant Field Values
SWFOBJECTS_LIB_URL
public static final java.lang.String SWFOBJECTS_LIB_URL
- See Also:
- Constant Field Values
EXPRESS_INSTALL_URL
public static final java.lang.String EXPRESS_INSTALL_URL
- See Also:
- Constant Field Values
IS_DESKTOP
public static final java.lang.String IS_DESKTOP
- See Also:
- Constant Field Values
log
protected org.apache.commons.logging.Log log
viewPage
protected java.lang.String viewPage
editPage
protected java.lang.String editPage
FlashPortlet
public FlashPortlet()
init
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
- Specified by:
init
in interface javax.portlet.Portlet
- Overrides:
init
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
- Throws:
javax.portlet.PortletException
getDefaultObjectParameters
protected final java.util.Map getDefaultObjectParameters()
getDefaultObjectAttributes
protected final java.util.Map getDefaultObjectAttributes()
getDefaultFlashVars
protected final java.util.Map getDefaultFlashVars()
getDefaultSwfVersion
protected java.lang.String getDefaultSwfVersion()
getObjectParameters
protected java.util.Map getObjectParameters(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
FlashPortlet.SWFContext swfContext)
getObjectAttributes
protected java.util.Map getObjectAttributes(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
FlashPortlet.SWFContext swfContext)
getFlashVars
protected java.util.Map getFlashVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
FlashPortlet.SWFContext swfContext)
setContextVars
protected void setContextVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
setFinalContextVars
protected void setFinalContextVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
setParameterContextVars
protected void setParameterContextVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
readSwfFileInfo
protected void readSwfFileInfo(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
setSizeContextVars
protected void setSizeContextVars(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
org.apache.velocity.context.Context context,
FlashPortlet.SWFContext swfContext)
doView
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
- Overrides:
doView
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
- Throws:
javax.portlet.PortletException
java.io.IOException
doEdit
public void doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
- Overrides:
doEdit
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
- Throws:
javax.portlet.PortletException
java.io.IOException
processClasspathTemplate
protected void processClasspathTemplate(java.lang.String classpathTemplate,
org.apache.velocity.context.Context context,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
configureClasspathVelocityEngine
protected void configureClasspathVelocityEngine(org.apache.velocity.app.VelocityEngine vEngine)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
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 org.apache.portals.bridges.velocity.GenericVelocityPortlet
- Throws:
javax.portlet.PortletException
java.io.IOException
parseSemicolonEqualsDelimitedProps
public java.util.Map parseSemicolonEqualsDelimitedProps(java.lang.String propsStr)
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.