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

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
              |
              +--org.infoglue.cms.applications.contenttool.actions.DeleteContentAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class DeleteContentAction
extends InfoGlueAbstractAction

This action removes a content from the system.

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
DeleteContentAction()
           
DeleteContentAction(ContentVO contentVO)
           
 
Method Summary
 java.lang.String doDeleteReference()
           
 java.lang.String doExecute()
           
 java.lang.String doFixPage()
           
 java.lang.String doFixPageHeader()
           
 java.lang.String doStandalone()
           
 java.lang.Integer getChangeTypeId()
           
 java.lang.Integer getContentId()
           
 java.lang.String getErrorKey()
           
 java.lang.Integer getOriginalContentId()
           
 java.util.List getReferenceBeanList()
           
 java.lang.String[] getRegistryId()
           
 java.lang.String getReturnAddress()
           
 java.lang.Integer getSiteNodeId()
           
 java.lang.Integer getUnrefreshedContentId()
           
 void setChangeTypeId(java.lang.Integer changeTypeId)
           
 void setContentId(java.lang.Integer contentId)
           
 void setParentContentId(java.lang.Integer parentContentId)
           
 void setRegistryId(java.lang.String[] registryId)
           
 void setSiteNodeId(java.lang.Integer siteNodeId)
           
 
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
 

Constructor Detail

DeleteContentAction

public DeleteContentAction()

DeleteContentAction

public DeleteContentAction(ContentVO contentVO)
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Overrides:
doExecute in class WebworkAbstractAction
java.lang.Exception

doStandalone

public java.lang.String doStandalone()
                              throws java.lang.Exception
java.lang.Exception

doDeleteReference

public java.lang.String doDeleteReference()
                                   throws java.lang.Exception
java.lang.Exception

doFixPage

public java.lang.String doFixPage()
                           throws java.lang.Exception
java.lang.Exception

doFixPageHeader

public java.lang.String doFixPageHeader()
                                 throws java.lang.Exception
java.lang.Exception

setContentId

public void setContentId(java.lang.Integer contentId)

setParentContentId

public void setParentContentId(java.lang.Integer parentContentId)

setChangeTypeId

public void setChangeTypeId(java.lang.Integer changeTypeId)

getContentId

public java.lang.Integer getContentId()

getOriginalContentId

public java.lang.Integer getOriginalContentId()

getUnrefreshedContentId

public java.lang.Integer getUnrefreshedContentId()

getChangeTypeId

public java.lang.Integer getChangeTypeId()

getErrorKey

public java.lang.String getErrorKey()

getReturnAddress

public java.lang.String getReturnAddress()

getReferenceBeanList

public java.util.List getReferenceBeanList()

getSiteNodeId

public java.lang.Integer getSiteNodeId()

setSiteNodeId

public void setSiteNodeId(java.lang.Integer siteNodeId)

getRegistryId

public java.lang.String[] getRegistryId()

setRegistryId

public void setRegistryId(java.lang.String[] registryId)