com.liferay.portlet.documentlibrary.action
Class EditFileEntryAction
java.lang.Object
org.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.liferay.portlet.documentlibrary.action.EditFileEntryAction
- Direct Known Subclasses:
- EditPageAttachmentAction
public class EditFileEntryAction
- extends PortletAction
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Method Summary |
protected void |
addMultipleFileEntries(ActionRequest actionRequest,
ActionResponse actionResponse)
|
protected void |
addMultipleFileEntries(ActionRequest actionRequest,
ActionResponse actionResponse,
String selectedFileName,
List<String> validFileNames,
List<KeyValuePair> invalidFileNameKVPs)
|
protected void |
addTempFileEntry(ActionRequest actionRequest)
|
protected void |
cancelFileEntriesCheckOut(ActionRequest actionRequest)
|
protected void |
checkInFileEntries(ActionRequest actionRequest)
|
protected void |
checkOutFileEntries(ActionRequest actionRequest)
|
protected void |
deleteFileEntry(ActionRequest actionRequest)
|
protected void |
deleteTempFileEntry(ActionRequest actionRequest,
ActionResponse actionResponse)
|
protected String |
getAddMultipleFileEntriesErrorMessage(ThemeDisplay themeDisplay,
Exception e)
|
protected String |
getSaveAndContinueRedirect(PortletConfig portletConfig,
ActionRequest actionRequest,
FileEntry fileEntry,
String redirect)
|
protected void |
moveFileEntries(ActionRequest actionRequest)
|
void |
processAction(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ActionRequest actionRequest,
ActionResponse actionResponse)
|
org.apache.struts.action.ActionForward |
render(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
RenderRequest renderRequest,
RenderResponse renderResponse)
|
protected void |
revertFileEntry(ActionRequest actionRequest)
|
void |
serveResource(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
|
protected FileEntry |
updateFileEntry(PortletConfig portletConfig,
ActionRequest actionRequest,
ActionResponse actionResponse)
|
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 |
EditFileEntryAction
public EditFileEntryAction()
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
addMultipleFileEntries
protected void addMultipleFileEntries(ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception
- Throws:
Exception
addMultipleFileEntries
protected void addMultipleFileEntries(ActionRequest actionRequest,
ActionResponse actionResponse,
String selectedFileName,
List<String> validFileNames,
List<KeyValuePair> invalidFileNameKVPs)
throws Exception
- Throws:
Exception
addTempFileEntry
protected void addTempFileEntry(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
cancelFileEntriesCheckOut
protected void cancelFileEntriesCheckOut(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
checkInFileEntries
protected void checkInFileEntries(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
checkOutFileEntries
protected void checkOutFileEntries(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
deleteFileEntry
protected void deleteFileEntry(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
deleteTempFileEntry
protected void deleteTempFileEntry(ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception
- Throws:
Exception
getAddMultipleFileEntriesErrorMessage
protected String getAddMultipleFileEntriesErrorMessage(ThemeDisplay themeDisplay,
Exception e)
throws Exception
- Throws:
Exception
getSaveAndContinueRedirect
protected String getSaveAndContinueRedirect(PortletConfig portletConfig,
ActionRequest actionRequest,
FileEntry fileEntry,
String redirect)
throws Exception
- Throws:
Exception
moveFileEntries
protected void moveFileEntries(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
revertFileEntry
protected void revertFileEntry(ActionRequest actionRequest)
throws Exception
- Throws:
Exception
updateFileEntry
protected FileEntry updateFileEntry(PortletConfig portletConfig,
ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception
- Throws:
Exception