com.liferay.util.bridges.alloy
Class BaseAlloyControllerImpl
java.lang.Object
com.liferay.util.bridges.alloy.BaseAlloyControllerImpl
- All Implemented Interfaces:
- AlloyController
public abstract class BaseAlloyControllerImpl
- extends Object
- implements AlloyController
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
clazz
protected Class<?> clazz
company
protected Company company
controllerPath
protected String controllerPath
eventRequest
protected EventRequest eventRequest
eventResponse
protected EventResponse eventResponse
indexer
protected Indexer indexer
lifecycle
protected String lifecycle
liferayPortletConfig
protected LiferayPortletConfig liferayPortletConfig
liferayPortletResponse
protected LiferayPortletResponse liferayPortletResponse
methodsMap
protected Map<String,Method> methodsMap
mimeResponse
protected MimeResponse mimeResponse
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
themeDisplay
protected ThemeDisplay themeDisplay
viewPath
protected String viewPath
user
protected User user
BaseAlloyControllerImpl
public BaseAlloyControllerImpl()
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)
buildIndexer
protected Indexer buildIndexer()
executeAction
protected void executeAction(Method method)
throws Exception
- Throws:
Exception
executeRender
protected void executeRender(Method method)
throws Exception
- Throws:
Exception
executeResource
protected void executeResource(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()
initIndexer
protected void initIndexer()
initMethods
protected void initMethods()
initPaths
protected void initPaths()
initPortletVariables
protected void initPortletVariables()
initServletVariables
protected void initServletVariables()
initThemeDisplayVariables
protected void initThemeDisplayVariables()
redirectTo
protected void redirectTo(PortletURL portletURL)
redirectTo
protected void redirectTo(String redirect)
render
protected void render(String actionPath)
updateAttachedModel
protected void updateAttachedModel(BaseModel<?> baseModel)
throws Exception
- Throws:
Exception
updateAuditedModel
protected void updateAuditedModel(BaseModel<?> baseModel)
throws Exception
- Throws:
Exception
updateGroupedModel
protected void updateGroupedModel(BaseModel<?> baseModel)
throws Exception
- Throws:
Exception
updateModel
protected void updateModel(BaseModel<?> baseModel)
throws Exception
- Throws:
Exception
writeJSON
protected void writeJSON(Object json)
throws Exception
- Throws:
Exception