|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.dotmarketing.portal.struts.DotPortletAction
public class DotPortletAction
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
DotPortletAction()
|
|
| Method Summary | |
|---|---|
protected void |
_checkCopyAndMovePermissions(Inode webAsset,
Folder parentFolder,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.lang.String action)
|
protected void |
_checkCopyAndMovePermissions(Inode webAsset,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.lang.String action)
|
protected void |
_checkDeletePermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
|
protected void |
_checkDeletePermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.util.ArrayList<java.lang.String> adminRoles)
|
static void |
_checkPermissions(Inode webAsset,
Folder parentFolder,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
|
protected void |
_checkPermissions(Inode webAsset,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
|
protected void |
_checkReadPermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
|
protected void |
_checkReadPermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.util.ArrayList<java.lang.String> adminRoles)
|
protected static void |
_checkUserPermissions(Inode webAsset,
com.liferay.portal.model.User user,
int permission)
|
protected void |
_checkWritePermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
|
protected void |
_checkWritePermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.util.ArrayList<java.lang.String> adminRoles)
|
protected void |
_copyPermissions(Inode from,
Inode to)
|
void |
_deleteVersionWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit)
Generic method to delete a WebAsset version |
void |
_deleteWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit)
Generic method to delete a WebAsset |
protected Folder |
_editWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKey)
Generic Edit WebAsset method. |
protected com.liferay.portal.model.User |
_getUser(javax.portlet.ActionRequest req)
Method to obtain the User from Liferay on an ActionRequest |
protected com.liferay.portal.model.User |
_getUser(javax.portlet.RenderRequest req)
Method to obtain the User from Liferay on a RenderRequest |
protected WebAsset |
_getVersionBackWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.Class className,
java.lang.String webKey)
Generic method to get a version back from an asset. |
void |
_getVersionsWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit,
java.lang.String webKeyVersions)
Generic Method to Get Versions of a WebAsset |
protected void |
_handleException(java.lang.Exception e,
javax.portlet.ActionRequest req)
Method to handle an exception. |
protected void |
_handleException(java.lang.Exception e,
javax.portlet.ActionRequest req,
boolean showStackTrace)
Method to handle an exception. |
protected org.apache.struts.action.ActionForward |
_handleException(java.lang.Exception e,
javax.portlet.RenderRequest req,
org.apache.struts.action.ActionMapping mapping)
Method to handle an exception. |
void |
_moveWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.Class webAssetClass,
java.lang.String webKey)
Generic method to move a WebAsset to another Folder |
void |
_publishWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String formWebKey)
Generic method to publish a WebAsset |
void |
_retrieveWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.Class myClass,
java.lang.String webkey)
Generic method to retrieve a WebAsset based on the inode on the request |
protected void |
_sendToReferral(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
java.lang.String referer)
Method to redirect to the referer if set, if not to the redirect. |
void |
_undeleteWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit)
Generic method to undelete a WebAsset |
void |
_unLockWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKey)
Generic Method to unlock a WebAsset |
void |
_unPublishWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit)
Generic method to unpublish a WebAsset |
protected void |
_viewWebAssets(javax.portlet.RenderRequest req,
com.liferay.portal.model.User user,
java.lang.Class className,
java.lang.String tableName,
java.lang.String countWebKey,
java.lang.String viewWebKey,
java.lang.String queryWebKey,
java.lang.String showDeletedWebKey,
java.lang.String hostChangedWebKey)
Generic method for View Assets Actions. |
protected void |
_viewWebAssets(javax.portlet.RenderRequest req,
com.liferay.portal.model.User user,
java.lang.Class className,
java.lang.String tableName,
java.lang.String countWebKey,
java.lang.String viewWebKey,
java.lang.String queryWebKey,
java.lang.String showDeletedWebKey,
java.lang.String hostChangedWebKey,
java.lang.String parent)
|
CategoryAPI |
getCategoryAPI()
|
java.lang.String |
getForward(javax.portlet.ActionRequest req)
|
java.lang.String |
getForward(javax.portlet.ActionRequest req,
java.lang.String defaultValue)
|
void |
setCategoryAPI(CategoryAPI categoryAPI)
|
| Methods inherited from class com.liferay.portal.struts.PortletAction |
|---|
execute, getForward, getForward, getResources, getResources, getResources, getResources, processAction, render, setForward |
| 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, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DotPortletAction()
| Method Detail |
|---|
public void _deleteVersionWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit -
java.lang.Exception
public void _undeleteWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit -
java.lang.Exception
public void _deleteWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit -
java.lang.Exception
public void _unPublishWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit -
java.lang.Exception
public void _getVersionsWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKeyEdit,
java.lang.String webKeyVersions)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit - webKeyVersions -
java.lang.Exception
public void _unLockWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKey)
throws java.lang.Exception
req - res - config - form - user - webKey -
java.lang.Exception
public void _moveWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.Class webAssetClass,
java.lang.String webKey)
throws java.lang.Exception
req - res - config - form - user - webAssetClass - webKey -
java.lang.Exception
public void _publishWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String formWebKey)
throws WebAssetException,
java.lang.Exception
req - res - config - form - user - formWebKey -
java.lang.Exception
WebAssetException
public void _retrieveWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.Class myClass,
java.lang.String webkey)
throws java.lang.Exception
req - res - config - form - user - myClass - webkey -
java.lang.Exception
protected Folder _editWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.String webKey)
throws java.lang.Exception
req - res - config - form - user - webKey -
java.lang.Exception
protected WebAsset _getVersionBackWebAsset(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
javax.portlet.PortletConfig config,
org.apache.struts.action.ActionForm form,
com.liferay.portal.model.User user,
java.lang.Class className,
java.lang.String webKey)
throws java.lang.Exception
req - res - config - form - user - className - webKey -
java.lang.Exception
protected void _viewWebAssets(javax.portlet.RenderRequest req,
com.liferay.portal.model.User user,
java.lang.Class className,
java.lang.String tableName,
java.lang.String countWebKey,
java.lang.String viewWebKey,
java.lang.String queryWebKey,
java.lang.String showDeletedWebKey,
java.lang.String hostChangedWebKey)
throws java.lang.Exception
req - user - className: - Asset ClasstableName: - Table NamecountWebKey: - WebKey to store the CountviewWebKey: - WebKey to store the Listings
java.lang.Exception
protected void _viewWebAssets(javax.portlet.RenderRequest req,
com.liferay.portal.model.User user,
java.lang.Class className,
java.lang.String tableName,
java.lang.String countWebKey,
java.lang.String viewWebKey,
java.lang.String queryWebKey,
java.lang.String showDeletedWebKey,
java.lang.String hostChangedWebKey,
java.lang.String parent)
throws java.lang.Exception
java.lang.Exception
protected void _handleException(java.lang.Exception e,
javax.portlet.ActionRequest req)
e - req -
protected void _handleException(java.lang.Exception e,
javax.portlet.ActionRequest req,
boolean showStackTrace)
e - req -
protected org.apache.struts.action.ActionForward _handleException(java.lang.Exception e,
javax.portlet.RenderRequest req,
org.apache.struts.action.ActionMapping mapping)
e - req -
protected void _sendToReferral(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
java.lang.String referer)
throws java.lang.Exception
req - res - referer -
java.lang.Exceptionprotected com.liferay.portal.model.User _getUser(javax.portlet.ActionRequest req)
req -
protected com.liferay.portal.model.User _getUser(javax.portlet.RenderRequest req)
req -
public java.lang.String getForward(javax.portlet.ActionRequest req)
public java.lang.String getForward(javax.portlet.ActionRequest req,
java.lang.String defaultValue)
protected static void _checkUserPermissions(Inode webAsset,
com.liferay.portal.model.User user,
int permission)
throws com.liferay.portal.struts.ActionException,
DotDataException
com.liferay.portal.struts.ActionException
DotDataException
public static void _checkPermissions(Inode webAsset,
Folder parentFolder,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkPermissions(Inode webAsset,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkWritePermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkWritePermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.util.ArrayList<java.lang.String> adminRoles)
throws java.lang.Exception
java.lang.Exception
protected void _checkReadPermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkReadPermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.util.ArrayList<java.lang.String> adminRoles)
throws java.lang.Exception
java.lang.Exception
protected void _checkDeletePermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkDeletePermissions(Inode inode,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.util.ArrayList<java.lang.String> adminRoles)
throws java.lang.Exception
java.lang.Exception
protected void _checkCopyAndMovePermissions(Inode webAsset,
Folder parentFolder,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.lang.String action)
throws java.lang.Exception
java.lang.Exception
protected void _checkCopyAndMovePermissions(Inode webAsset,
com.liferay.portal.model.User user,
javax.servlet.http.HttpServletRequest httpReq,
java.lang.String action)
throws java.lang.Exception
java.lang.Exception
protected void _copyPermissions(Inode from,
Inode to)
throws com.liferay.portal.struts.ActionException,
DotDataException
com.liferay.portal.struts.ActionException
DotDataExceptionpublic CategoryAPI getCategoryAPI()
public void setCategoryAPI(CategoryAPI categoryAPI)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||