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
- Author:
- Brian Wing Shun Chan, Alexander Chow, Sergio González
| Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
|
Method Summary |
protected void |
addMultipleFileEntries(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
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 |
addTempFileEntry(javax.portlet.ActionRequest actionRequest)
|
protected void |
cancelFileEntriesCheckOut(javax.portlet.ActionRequest actionRequest)
|
protected void |
checkInFileEntries(javax.portlet.ActionRequest actionRequest)
|
protected void |
checkOutFileEntries(javax.portlet.ActionRequest actionRequest)
|
protected void |
deleteFileEntries(javax.portlet.ActionRequest actionRequest)
|
protected void |
deleteTempFileEntry(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
protected java.lang.String |
getAddMultipleFileEntriesErrorMessage(com.liferay.portal.theme.ThemeDisplay themeDisplay,
java.lang.Exception e)
|
protected void |
moveFileEntries(javax.portlet.ActionRequest actionRequest)
|
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)
|
protected void |
revertFileEntry(javax.portlet.ActionRequest actionRequest)
|
void |
serveResource(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.portlet.PortletConfig portletConfig,
javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
|
protected void |
updateFileEntry(javax.portlet.PortletConfig portletConfig,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
| 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 |
EditFileEntryAction
public EditFileEntryAction()
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 PortletAction
- 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 PortletAction
- Throws:
java.lang.Exception
serveResource
public void serveResource(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.portlet.PortletConfig portletConfig,
javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
- Overrides:
serveResource in class PortletAction
- Throws:
java.lang.Exception
addMultipleFileEntries
protected void addMultipleFileEntries(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
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
- Throws:
java.lang.Exception
getAddMultipleFileEntriesErrorMessage
protected java.lang.String getAddMultipleFileEntriesErrorMessage(com.liferay.portal.theme.ThemeDisplay themeDisplay,
java.lang.Exception e)
throws java.lang.Exception
- Throws:
java.lang.Exception
addTempFileEntry
protected void addTempFileEntry(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
cancelFileEntriesCheckOut
protected void cancelFileEntriesCheckOut(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkInFileEntries
protected void checkInFileEntries(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkOutFileEntries
protected void checkOutFileEntries(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteFileEntries
protected void deleteFileEntries(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteTempFileEntry
protected void deleteTempFileEntry(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveFileEntries
protected void moveFileEntries(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
revertFileEntry
protected void revertFileEntry(javax.portlet.ActionRequest actionRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateFileEntry
protected void updateFileEntry(javax.portlet.PortletConfig portletConfig,
javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
- Throws:
java.lang.Exception