org.infoglue.cms.applications.contenttool.actions
Class UpdateDigitalAssetAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.contenttool.actions.ViewDigitalAssetAction
org.infoglue.cms.applications.contenttool.actions.UpdateDigitalAssetAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public class UpdateDigitalAssetAction
- extends ViewDigitalAssetAction
This is the action-class for UpdateDigitalAssetVersion
- Author:
- Mattias Bogeblad
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getLogger, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId |
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateDigitalAssetAction
public UpdateDigitalAssetAction()
setDigitalAssetKey
public void setDigitalAssetKey(java.lang.String digitalAssetKey)
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- Description copied from class:
WebworkAbstractAction
- Subclasses implement this
- Overrides:
doExecute in class ViewDigitalAssetAction
- Throws:
java.lang.Exception
getDigitalAssetUrl
public java.lang.String getDigitalAssetUrl()
throws java.lang.Exception
- This method fetches the blob from the database and saves it on the disk.
Then it returnes a url for it
- Throws:
java.lang.Exception
getAssetThumbnailUrl
public java.lang.String getAssetThumbnailUrl()
getDigitalAssetId
public java.lang.Integer getDigitalAssetId()
- Overrides:
getDigitalAssetId in class ViewDigitalAssetAction
setDigitalAssetId
public void setDigitalAssetId(java.lang.Integer digitalAssetId)
- Overrides:
setDigitalAssetId in class ViewDigitalAssetAction
getDigitalAssetKey
public java.lang.String getDigitalAssetKey()
- Overrides:
getDigitalAssetKey in class ViewDigitalAssetAction
getIsUpdated
public boolean getIsUpdated()
getContentVersionId
public java.lang.Integer getContentVersionId()
- Overrides:
getContentVersionId in class ViewDigitalAssetAction
setContentVersionId
public void setContentVersionId(java.lang.Integer contentVersionId)
- Overrides:
setContentVersionId in class ViewDigitalAssetAction
getReasonKey
public java.lang.String getReasonKey()
getCloseOnLoad
public java.lang.String getCloseOnLoad()
setCloseOnLoad
public void setCloseOnLoad(java.lang.String closeOnLoad)
setContentTypeDefinitionId
public void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
getContentTypeDefinitionVO
public ContentTypeDefinitionVO getContentTypeDefinitionVO()
- Overrides:
getContentTypeDefinitionVO in class ViewDigitalAssetAction
Copyright © 2005 InfoGlue.org All Rights Reserved.