com.liferay.portlet.journal.action
Class EditArticleAction
java.lang.Object
org.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.liferay.portlet.journal.action.EditArticleAction
public class EditArticleAction
- extends PortletAction
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Method Summary |
protected void |
deleteArticles(ActionRequest actionRequest)
|
protected void |
expireArticles(ActionRequest actionRequest)
|
protected Map<String,byte[]> |
getImages(UploadPortletRequest uploadPortletRequest)
|
protected String |
getSaveAndContinueRedirect(PortletConfig portletConfig,
ActionRequest actionRequest,
JournalArticle article,
String redirect)
|
protected boolean |
hasArticle(ActionRequest actionRequest)
|
void |
processAction(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ActionRequest actionRequest,
ActionResponse actionResponse)
|
protected void |
removeArticlesLocale(ActionRequest actionRequest)
|
org.apache.struts.action.ActionForward |
render(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
RenderRequest renderRequest,
RenderResponse renderResponse)
|
void |
serveResource(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
|
protected void |
subscribeArticles(ActionRequest actionRequest)
|
protected void |
unsubscribeArticles(ActionRequest actionRequest)
|
protected Object[] |
updateArticle(ActionRequest actionRequest)
|
protected void |
updateContentSearch(ActionRequest actionRequest,
String portletResource,
String articleId)
|
Methods inherited from class com.liferay.portal.struts.PortletAction |
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, isDisplaySuccessMessage, redirectToLogin, sendRedirect, sendRedirect, sendRedirect, setForward, strutsExecute, writeJSON, writeJSON |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_SEPARATOR
public static final String VERSION_SEPARATOR
- See Also:
- Constant Field Values
EditArticleAction
public EditArticleAction()
processAction
public void processAction(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception
- Overrides:
processAction
in class PortletAction
- Throws:
Exception
render
public org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
RenderRequest renderRequest,
RenderResponse renderResponse)
throws Exception
- Overrides:
render
in class PortletAction
- Throws:
Exception
serveResource
public void serveResource(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws Exception
- Overrides:
serveResource
in class PortletAction
- Throws:
Exception
deleteArticles
protected void deleteArticles(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
expireArticles
protected void expireArticles(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
getImages
protected Map<String,byte[]> getImages(UploadPortletRequest uploadPortletRequest)
throws Exception
- Throws:
Exception
getSaveAndContinueRedirect
protected String getSaveAndContinueRedirect(PortletConfig portletConfig,
ActionRequest actionRequest,
JournalArticle article,
String redirect)
throws Exception
- Throws:
Exception
hasArticle
protected boolean hasArticle(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
removeArticlesLocale
protected void removeArticlesLocale(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
subscribeArticles
protected void subscribeArticles(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
unsubscribeArticles
protected void unsubscribeArticles(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
updateArticle
protected Object[] updateArticle(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
updateContentSearch
protected void updateContentSearch(ActionRequest actionRequest,
String portletResource,
String articleId)
throws Exception
- Throws:
Exception