org.infoglue.cms.applications.structuretool.actions
Class ChangeMultiSiteNodeVersionStatePublishAction

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.structuretool.actions.ChangeMultiSiteNodeVersionStatePublishAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class ChangeMultiSiteNodeVersionStatePublishAction
extends InfoGlueAbstractAction

This class implements submit to publish on many sitenode versions at once.

Author:
Mattias Bogeblad
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
ChangeMultiSiteNodeVersionStatePublishAction()
           
 
Method Summary
 java.lang.String doExecute()
          This method gets called when calling this action.
 boolean getOverrideVersionModifyer()
           
 java.lang.String getRecipientFilter()
           
 java.lang.Integer getRepositoryId()
           
 java.lang.String getReturnAddress()
           
 java.lang.Integer getSiteNodeId()
           
 java.lang.Integer getStateId()
           
 java.lang.String getVersionComment()
           
 void setAttemptDirectPublishing(java.lang.String attemptDirectPublishing)
           
 void setOverrideVersionModifyer(boolean overrideVersionModifyer)
           
 void setRecipientFilter(java.lang.String recipientFilter)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 void setReturnAddress(java.lang.String returnAddress)
           
 void setSiteNodeId(java.lang.Integer siteNodeId)
           
 void setStateId(java.lang.Integer stateId)
           
 void setVersionComment(java.lang.String versionComment)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableImageEditor, 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

ChangeMultiSiteNodeVersionStatePublishAction

public ChangeMultiSiteNodeVersionStatePublishAction()
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
This method gets called when calling this action. If the stateId is 2 which equals that the user tries to prepublish the page. If so we ask the user for a comment as this is to be regarded as a new version.

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

getSiteNodeId

public java.lang.Integer getSiteNodeId()

setSiteNodeId

public void setSiteNodeId(java.lang.Integer siteNodeId)

setStateId

public void setStateId(java.lang.Integer stateId)

setVersionComment

public void setVersionComment(java.lang.String versionComment)

getVersionComment

public java.lang.String getVersionComment()

getStateId

public java.lang.Integer getStateId()

getRepositoryId

public java.lang.Integer getRepositoryId()

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)

setAttemptDirectPublishing

public void setAttemptDirectPublishing(java.lang.String attemptDirectPublishing)

getOverrideVersionModifyer

public boolean getOverrideVersionModifyer()

setOverrideVersionModifyer

public void setOverrideVersionModifyer(boolean overrideVersionModifyer)

getReturnAddress

public java.lang.String getReturnAddress()

setReturnAddress

public void setReturnAddress(java.lang.String returnAddress)

getRecipientFilter

public java.lang.String getRecipientFilter()

setRecipientFilter

public void setRecipientFilter(java.lang.String recipientFilter)


Copyright © 2005 InfoGlue.org All Rights Reserved.