public class EditPageAttachmentsAction extends EditFileEntryAction
TEMP_RANDOM_SUFFIX| Constructor and Description |
|---|
EditPageAttachmentsAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttachment(javax.portlet.ActionRequest actionRequest) |
protected void |
addMultipleFileEntries(javax.portlet.PortletConfig portletConfig,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
java.lang.String selectedFileName,
java.util.List<com.liferay.portal.kernel.util.KeyValuePair> validFileNameKVPs,
java.util.List<com.liferay.portal.kernel.util.KeyValuePair> invalidFileNameKVPs) |
protected void |
addTempAttachment(javax.portlet.ActionRequest actionRequest) |
protected void |
deleteAttachment(javax.portlet.ActionRequest actionRequest,
boolean moveToTrash) |
protected void |
deleteTempAttachment(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
protected void |
emptyTrash(javax.portlet.ActionRequest actionRequest) |
void |
processAction(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.portlet.PortletConfig portletConfig,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
org.apache.struts.action.ActionForward |
render(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.portlet.PortletConfig portletConfig,
javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
protected void |
restoreAttachment(javax.portlet.ActionRequest actionRequest) |
protected void |
restoreAttachmentFromTrash(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
addMultipleFileEntries, addTempFileEntry, cancelFileEntriesCheckOut, checkInFileEntries, checkOutFileEntries, deleteFileEntry, deleteTempFileEntry, getAddMultipleFileEntriesErrorMessage, getAllowedFileExtensions, getSaveAndContinueRedirect, handleUploadException, moveFileEntries, revertFileEntry, serveResource, updateFileEntryaddSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, getStrictPortletSetup, getStrictPortletSetup, hideDefaultSuccessMessage, hideDefaultSuccessMessage, isCheckMethodOnProcessAction, isDisplaySuccessMessage, processEvent, redirectToLogin, sendRedirect, sendRedirect, sendRedirect, setForward, strutsExecute, writeJSON, writeJSONaddErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic void processAction(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.portlet.PortletConfig portletConfig,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
processAction in class EditFileEntryActionjava.lang.Exceptionpublic org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.portlet.PortletConfig portletConfig,
javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws java.lang.Exception
render in class EditFileEntryActionjava.lang.Exceptionprotected void addAttachment(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
java.lang.Exceptionprotected void addMultipleFileEntries(javax.portlet.PortletConfig portletConfig,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
java.lang.String selectedFileName,
java.util.List<com.liferay.portal.kernel.util.KeyValuePair> validFileNameKVPs,
java.util.List<com.liferay.portal.kernel.util.KeyValuePair> invalidFileNameKVPs)
throws java.lang.Exception
addMultipleFileEntries in class EditFileEntryActionjava.lang.Exceptionprotected void addTempAttachment(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
java.lang.Exceptionprotected void deleteAttachment(javax.portlet.ActionRequest actionRequest,
boolean moveToTrash)
throws java.lang.Exception
java.lang.Exceptionprotected void deleteTempAttachment(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionprotected void emptyTrash(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
java.lang.Exceptionprotected void restoreAttachment(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
java.lang.Exceptionprotected void restoreAttachmentFromTrash(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exception