org.infoglue.cms.applications.contenttool.actions
Class DeleteContentVersionAction

java.lang.Object
  extended by org.infoglue.cms.applications.common.actions.WebworkAbstractAction
      extended by org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
          extended by org.infoglue.cms.applications.contenttool.actions.DeleteContentVersionAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class DeleteContentVersionAction
extends InfoGlueAbstractAction

This action removes a contentversion from the system.

Author:
Stefan Sik
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
DeleteContentVersionAction()
           
DeleteContentVersionAction(ContentVersionVO contentVersionVO)
           
 
Method Summary
protected  java.lang.String doExecute()
          Subclasses implement this
 java.lang.Integer getContentId()
           
 java.lang.Integer getContentVersionId()
           
 java.lang.Integer getRepositoryId()
           
 void setContentId(java.lang.Integer integer)
           
 void setContentVersionId(java.lang.Integer contentId)
           
 void setRepositoryId(java.lang.Integer integer)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableCustomIcons, getDisableImageEditor, getEnableDateTimeDirectEditing, getInfoGluePrincipal, getLanguageCode, getLocale, 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
 

Constructor Detail

DeleteContentVersionAction

public DeleteContentVersionAction()

DeleteContentVersionAction

public DeleteContentVersionAction(ContentVersionVO contentVersionVO)
Method Detail

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Description copied from class: WebworkAbstractAction
Subclasses implement this

Specified by:
doExecute in class WebworkAbstractAction
Throws:
java.lang.Exception

setContentVersionId

public void setContentVersionId(java.lang.Integer contentId)

getContentVersionId

public java.lang.Integer getContentVersionId()

getRepositoryId

public java.lang.Integer getRepositoryId()
Returns:

setRepositoryId

public void setRepositoryId(java.lang.Integer integer)
Parameters:
integer -

getContentId

public java.lang.Integer getContentId()
Returns:

setContentId

public void setContentId(java.lang.Integer integer)
Parameters:
integer -


Copyright © 2005 InfoGlue.org All Rights Reserved.