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:
- webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, 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, encode, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getThis, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme |
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getInfoGluePrincipal, getLocalizedString, getRoot, getSession, setCommand, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
equals, 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
- Overrides:
doExecute in class ViewDigitalAssetAction
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
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