|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
leon.view.web.portlet.LyActionPortlet
public class LyActionPortlet
Field Summary | |
---|---|
static java.lang.String |
DIV_LEONARDI_VIEW
|
static java.lang.String |
KEY_ACTION_PORTLET_CONFIG
Key to access portlet config in session |
static java.lang.String |
KEY_CURRENT_CONTROLLER
Key to access to current controller |
static java.lang.String |
KEY_CURRENT_POPUP_VIEW_CONTROLLER
|
static java.lang.Object |
LOCK_SESSION
Session lock for multithread access |
static java.lang.String |
PARAM_LEONARDI_ACTION
|
static java.lang.String |
PARAM_LEONARDI_SELECTION
|
Constructor Summary | |
---|---|
LyActionPortlet()
|
Method Summary | |
---|---|
void |
destroy()
|
LyApplication |
getApplication()
Gets an application from a http request. |
java.lang.String |
getParameter(javax.portlet.PortletRequest request,
java.lang.String name)
Retrieves a parameter in an http request. |
LySession |
getSession(javax.portlet.PortletRequest request)
Gets a session from a http request. |
static LySession |
getSession(javax.portlet.PortletSession portletSession,
java.lang.String applicationId)
Gets the LySession associated to the given HttpSession within the given application. |
void |
init(javax.portlet.PortletConfig config)
Executed one time, upon portlet instantiation. |
void |
initActionURLs(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Gets the sort action and writes associated javascript function for this table. |
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Handle actions from portlet |
Methods inherited from class javax.portlet.GenericPortlet |
---|
getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, init, processEvent, render, serveResource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Object LOCK_SESSION
public static final java.lang.String KEY_ACTION_PORTLET_CONFIG
public static final java.lang.String KEY_CURRENT_CONTROLLER
public static final java.lang.String KEY_CURRENT_POPUP_VIEW_CONTROLLER
public static final java.lang.String PARAM_LEONARDI_ACTION
public static final java.lang.String PARAM_LEONARDI_SELECTION
public static final java.lang.String DIV_LEONARDI_VIEW
Constructor Detail |
---|
public LyActionPortlet()
Method Detail |
---|
public void destroy()
destroy
in interface javax.portlet.Portlet
destroy
in class javax.portlet.GenericPortlet
public void init(javax.portlet.PortletConfig config) throws javax.portlet.PortletException
init
in interface javax.portlet.Portlet
init
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
public void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response) throws javax.portlet.PortletException, java.io.IOException
processAction
in interface javax.portlet.Portlet
processAction
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
java.io.IOException
public LySession getSession(javax.portlet.PortletRequest request)
application
- the current applicationrequest
- the request
public static LySession getSession(javax.portlet.PortletSession portletSession, java.lang.String applicationId)
httpSession
- The HttpSession.applicationId
- identifier of the application.
public LyApplication getApplication()
request
- the current request IF ANY, but may be null ! (load-on-startup)
public java.lang.String getParameter(javax.portlet.PortletRequest request, java.lang.String name)
request
- the request to parsename
- the name of the parameter to find
public void initActionURLs(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
pw
- the page writer
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |