|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPortletAction
com.dotmarketing.portal.struts.DotPortletAction
public class DotPortletAction
| Constructor Summary | |
|---|---|
DotPortletAction()
|
|
| Method Summary | |
|---|---|
void |
_applyPermissions(ActionRequest req,
Inode inode)
|
void |
_applyPermissions(ActionRequest req,
java.lang.String webKey)
|
protected void |
_checkCopyAndMovePermissions(Inode webAsset,
Folder parentFolder,
User user,
HttpServletRequest httpReq,
java.lang.String action)
|
protected void |
_checkCopyAndMovePermissions(Inode webAsset,
User user,
HttpServletRequest httpReq,
java.lang.String action)
|
protected void |
_checkDeletePermissions(Structure structure,
User user,
HttpServletRequest httpReq)
|
protected void |
_checkPermissions(Inode webAsset,
Folder parentFolder,
User user,
HttpServletRequest httpReq)
|
protected void |
_checkPermissions(Inode webAsset,
User user,
HttpServletRequest httpReq)
|
protected void |
_checkUserPermissions(Inode webAsset,
User user,
int permission)
|
protected void |
_checkWritePermissions(Inode inode,
User user,
HttpServletRequest httpReq)
|
protected void |
_copyPermissions(Inode from,
Inode to)
|
void |
_deleteVersionWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKeyEdit)
Generic method to delete a WebAsset version |
void |
_deleteWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKeyEdit)
Generic method to delete a WebAsset |
protected Folder |
_editWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKey)
Generic Edit WebAsset method. |
protected User |
_getUser(ActionRequest req)
Method to obtain the User from Liferay on an ActionRequest |
protected WebAsset |
_getVersionBackWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.Class className,
java.lang.String webKey)
Generic method to get a version back from an asset. |
void |
_getVersionsWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
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,
ActionRequest req)
Method to handle an exception. |
protected void |
_handleException(java.lang.Exception e,
ActionRequest req,
boolean showStackTrace)
Method to handle an exception. |
void |
_lockWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKey)
|
void |
_moveWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.Class webAssetClass,
java.lang.String webKey)
Generic method to move a WebAsset to another Folder |
void |
_publishWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String formWebKey)
Generic method to publish a WebAsset |
void |
_retrieveWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
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(ActionRequest req,
ActionResponse res,
java.lang.String referer)
Method to redirect to the referer if set, if not to the redirect. |
void |
_undeleteWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKeyEdit)
Generic method to undelete a WebAsset |
void |
_unLockWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKey)
Generic Method to unlock a WebAsset |
void |
_unPublishWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKeyEdit)
Generic method to unpublish a WebAsset |
protected void |
_viewWebAssets(RenderRequest req,
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)
Generic method for View Assets Actions. |
java.lang.String |
getForward(ActionRequest req)
|
java.lang.String |
getForward(ActionRequest req,
java.lang.String defaultValue)
|
| 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(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKeyEdit)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit -
java.lang.Exception
public void _undeleteWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKeyEdit)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit -
java.lang.Exception
public void _deleteWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKeyEdit)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit -
java.lang.Exception
public void _unPublishWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKeyEdit)
throws java.lang.Exception
req - res - config - form - user - webKeyEdit -
java.lang.Exception
public void _getVersionsWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
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(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKey)
throws java.lang.Exception
req - res - config - form - user - webKey -
java.lang.Exception
public void _moveWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
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(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String formWebKey)
throws java.lang.Exception
req - res - config - form - user - formWebKey -
java.lang.Exception
public void _retrieveWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
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(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKey)
throws java.lang.Exception
req - res - config - form - user - webKey -
java.lang.Exception
protected WebAsset _getVersionBackWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
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(RenderRequest req,
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)
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 _handleException(java.lang.Exception e,
ActionRequest req)
e - req -
protected void _handleException(java.lang.Exception e,
ActionRequest req,
boolean showStackTrace)
e - req -
protected void _sendToReferral(ActionRequest req,
ActionResponse res,
java.lang.String referer)
throws java.lang.Exception
req - res - referer -
java.lang.Exceptionprotected User _getUser(ActionRequest req)
req -
public java.lang.String getForward(ActionRequest req)
public java.lang.String getForward(ActionRequest req,
java.lang.String defaultValue)
public void _lockWebAsset(ActionRequest req,
ActionResponse res,
PortletConfig config,
ActionForm form,
User user,
java.lang.String webKey)
throws java.lang.Exception
java.lang.Exception
public void _applyPermissions(ActionRequest req,
java.lang.String webKey)
public void _applyPermissions(ActionRequest req,
Inode inode)
protected void _checkUserPermissions(Inode webAsset,
User user,
int permission)
throws ActionException
ActionException
protected void _checkPermissions(Inode webAsset,
Folder parentFolder,
User user,
HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkPermissions(Inode webAsset,
User user,
HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkWritePermissions(Inode inode,
User user,
HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkDeletePermissions(Structure structure,
User user,
HttpServletRequest httpReq)
throws java.lang.Exception
java.lang.Exception
protected void _checkCopyAndMovePermissions(Inode webAsset,
Folder parentFolder,
User user,
HttpServletRequest httpReq,
java.lang.String action)
throws java.lang.Exception
java.lang.Exception
protected void _checkCopyAndMovePermissions(Inode webAsset,
User user,
HttpServletRequest httpReq,
java.lang.String action)
throws java.lang.Exception
java.lang.Exception
protected void _copyPermissions(Inode from,
Inode to)
throws ActionException
ActionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||