org.infoglue.cms.applications.publishingtool.actions
Class DeleteEditionAction

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.publishingtool.actions.ViewPublicationsAction
              extended by org.infoglue.cms.applications.publishingtool.actions.DeleteEditionAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class DeleteEditionAction
extends ViewPublicationsAction

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
DeleteEditionAction()
           
 
Method Summary
 java.lang.String doCheckForModifiedVersions()
          This method checks if some of the versions has later working-versions and if so we show another dialog asking the editor to confirm what to do with the interfering version.
 java.lang.String doExecute()
          This method checks if some of the versions has later working-versions and if so we show another dialog asking the editor to confirm what to do with the interfering version.
 java.util.List getProblematicPublicationDetails()
           
 java.lang.Integer getPublicationId()
           
 java.lang.Integer getRepositoryId()
           
 void setPublicationId(java.lang.Integer publicationId)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 
Methods inherited from class org.infoglue.cms.applications.publishingtool.actions.ViewPublicationsAction
doShowPublicationDetails, escape, getEditionBrowser, getOwningContent, getOwningSiteNode, getPublicationDetails, getPublicationDetailVOList, getPublicationEvents, getRepositoryVO, getStartIndex, setEditionBrowser, setStartIndex
 
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
 

Constructor Detail

DeleteEditionAction

public DeleteEditionAction()
Method Detail

getProblematicPublicationDetails

public java.util.List getProblematicPublicationDetails()

setPublicationId

public void setPublicationId(java.lang.Integer publicationId)
Overrides:
setPublicationId in class ViewPublicationsAction

getPublicationId

public java.lang.Integer getPublicationId()

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)
Overrides:
setRepositoryId in class ViewPublicationsAction

getRepositoryId

public java.lang.Integer getRepositoryId()
Overrides:
getRepositoryId in class ViewPublicationsAction

doCheckForModifiedVersions

public java.lang.String doCheckForModifiedVersions()
                                            throws java.lang.Exception
This method checks if some of the versions has later working-versions and if so we show another dialog asking the editor to confirm what to do with the interfering version. If there are no interfering versions we unpublish all.

Throws:
java.lang.Exception

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
This method checks if some of the versions has later working-versions and if so we show another dialog asking the editor to confirm what to do with the interfering version. If there are no interfering versions we unpublish all.

Overrides:
doExecute in class ViewPublicationsAction
Throws:
java.lang.Exception


Copyright © 2005 InfoGlue.org All Rights Reserved.