Liferay 6.0.5

com.liferay.util.bridges.alloy
Class BaseAlloyControllerImpl

java.lang.Object
  extended by com.liferay.util.bridges.alloy.BaseAlloyControllerImpl
All Implemented Interfaces:
AlloyController

public abstract class BaseAlloyControllerImpl
extends Object
implements AlloyController


Field Summary
protected  String actionPath
           
protected  ActionRequest actionRequest
           
protected  ActionResponse actionResponse
           
protected  AlloyPortlet alloyPortlet
           
protected static String CALLED_PROCESS_ACTION
           
protected  ClassLoader classLoader
           
protected  Class<?> classObject
           
protected  String controllerPath
           
protected  EventRequest eventRequest
           
protected  EventResponse eventResponse
           
protected  String lifecycle
           
protected  LiferayPortletConfig liferayPortletConfig
           
protected  LiferayPortletResponse liferayPortletResponse
           
protected static Log log
           
protected  Map<String,Method> methodsMap
           
protected  javax.servlet.jsp.PageContext pageContext
           
protected  Portlet portlet
           
protected  PortletContext portletContext
           
protected  PortletRequest portletRequest
           
protected  PortletResponse portletResponse
           
protected  String redirect
           
protected  RenderRequest renderRequest
           
protected  RenderResponse renderResponse
           
protected  javax.servlet.http.HttpServletRequest request
           
protected  ResourceRequest resourceRequest
           
protected  ResourceResponse resourceResponse
           
protected  javax.servlet.http.HttpServletResponse response
           
protected  javax.servlet.ServletConfig servletConfig
           
protected  javax.servlet.ServletContext servletContext
           
protected static String VIEW_PATH
           
protected  String viewPath
           
 
Constructor Summary
BaseAlloyControllerImpl()
           
 
Method Summary
protected  void addSuccessMessage()
           
 void afterPropertiesSet()
           
protected  String buildIncludePath(String viewPath)
           
 void execute()
           
protected  void executeAction(Method method)
           
protected  void executeRender(Method method)
           
protected  Method getMethod(String methodName, Class<?>... parameterTypes)
           
protected  String getMethodKey(String methodName, Class<?>... parameterTypes)
           
protected  void initClass()
           
protected  void initMethods()
           
protected  void initPaths()
           
protected  void initPortletVariables()
           
protected  void initServletVariables()
           
protected  void redirectTo(PortletURL portletURL)
           
protected  void redirectTo(String redirect)
           
protected  void render(String actionPath)
           
 void setPageContext(javax.servlet.jsp.PageContext pageContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALLED_PROCESS_ACTION

protected static final String CALLED_PROCESS_ACTION
See Also:
Constant Field Values

VIEW_PATH

protected static final String VIEW_PATH
See Also:
Constant Field Values

log

protected static Log log

actionPath

protected String actionPath

actionRequest

protected ActionRequest actionRequest

actionResponse

protected ActionResponse actionResponse

alloyPortlet

protected AlloyPortlet alloyPortlet

classLoader

protected ClassLoader classLoader

classObject

protected Class<?> classObject

controllerPath

protected String controllerPath

eventRequest

protected EventRequest eventRequest

eventResponse

protected EventResponse eventResponse

lifecycle

protected String lifecycle

liferayPortletConfig

protected LiferayPortletConfig liferayPortletConfig

liferayPortletResponse

protected LiferayPortletResponse liferayPortletResponse

methodsMap

protected Map<String,Method> methodsMap

pageContext

protected javax.servlet.jsp.PageContext pageContext

portlet

protected Portlet portlet

portletContext

protected PortletContext portletContext

portletRequest

protected PortletRequest portletRequest

portletResponse

protected PortletResponse portletResponse

redirect

protected String redirect

renderRequest

protected RenderRequest renderRequest

renderResponse

protected RenderResponse renderResponse

request

protected javax.servlet.http.HttpServletRequest request

resourceRequest

protected ResourceRequest resourceRequest

resourceResponse

protected ResourceResponse resourceResponse

response

protected javax.servlet.http.HttpServletResponse response

servletConfig

protected javax.servlet.ServletConfig servletConfig

servletContext

protected javax.servlet.ServletContext servletContext

viewPath

protected String viewPath
Constructor Detail

BaseAlloyControllerImpl

public BaseAlloyControllerImpl()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface AlloyController

execute

public void execute()
             throws Exception
Specified by:
execute in interface AlloyController
Throws:
Exception

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pageContext)
Specified by:
setPageContext in interface AlloyController

addSuccessMessage

protected void addSuccessMessage()

buildIncludePath

protected String buildIncludePath(String viewPath)

executeAction

protected void executeAction(Method method)
                      throws Exception
Throws:
Exception

executeRender

protected void executeRender(Method method)
                      throws Exception
Throws:
Exception

getMethod

protected Method getMethod(String methodName,
                           Class<?>... parameterTypes)

getMethodKey

protected String getMethodKey(String methodName,
                              Class<?>... parameterTypes)

initClass

protected void initClass()

initMethods

protected void initMethods()

initPaths

protected void initPaths()

initPortletVariables

protected void initPortletVariables()

initServletVariables

protected void initServletVariables()

redirectTo

protected void redirectTo(PortletURL portletURL)

redirectTo

protected void redirectTo(String redirect)

render

protected void render(String actionPath)

Liferay 6.0.5