com.liferay.portlet.wiki.action
Class EditPageAttachmentAction
java.lang.Object
org.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.liferay.portlet.documentlibrary.action.EditFileEntryAction
com.liferay.portlet.wiki.action.EditPageAttachmentAction
public class EditPageAttachmentAction
- extends EditFileEntryAction
- Author:
- Jorge Ferrer
| Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
|
Method Summary |
protected void |
addAttachment(javax.portlet.ActionRequest actionRequest)
|
protected void |
addMultipleFileEntries(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
java.lang.String selectedFileName,
java.util.List<java.lang.String> validFileNames,
java.util.List<com.liferay.portal.kernel.util.KeyValuePair> invalidFileNameKVPs)
|
protected void |
addTempAttachment(javax.portlet.ActionRequest actionRequest)
|
protected void |
deleteAttachment(javax.portlet.ActionRequest actionRequest)
|
protected void |
deleteTempAttachment(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
void |
processAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.portlet.PortletConfig portletConfig,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
org.apache.struts.action.ActionForward |
render(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.portlet.PortletConfig portletConfig,
javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
|
| Methods inherited from class com.liferay.portlet.documentlibrary.action.EditFileEntryAction |
addMultipleFileEntries, addTempFileEntry, cancelFileEntriesCheckOut, checkInFileEntries, checkOutFileEntries, deleteFileEntries, deleteTempFileEntry, getAddMultipleFileEntriesErrorMessage, moveFileEntries, revertFileEntry, serveResource, updateFileEntry |
| Methods inherited from class com.liferay.portal.struts.PortletAction |
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, redirectToLogin, 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 |
EditPageAttachmentAction
public EditPageAttachmentAction()
processAction
public void processAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.portlet.PortletConfig portletConfig,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
- Overrides:
processAction in class EditFileEntryAction
- Throws:
java.lang.Exception
render
public org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.portlet.PortletConfig portletConfig,
javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws java.lang.Exception
- Overrides:
render in class EditFileEntryAction
- Throws:
java.lang.Exception
addAttachment
protected void addAttachment(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
addMultipleFileEntries
protected void addMultipleFileEntries(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
java.lang.String selectedFileName,
java.util.List<java.lang.String> validFileNames,
java.util.List<com.liferay.portal.kernel.util.KeyValuePair> invalidFileNameKVPs)
throws java.lang.Exception
- Overrides:
addMultipleFileEntries in class EditFileEntryAction
- Throws:
java.lang.Exception
addTempAttachment
protected void addTempAttachment(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteAttachment
protected void deleteAttachment(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteTempAttachment
protected void deleteTempAttachment(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
- Throws:
java.lang.Exception