org.infoglue.deliver.applications.actions
Class InfoGlueDefaultInputHandlerAction

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

public class InfoGlueDefaultInputHandlerAction
extends InfoGlueAbstractAction

This is the action that receives most input from the outside and invokes the appropriate class to ensure that the data is treated correctly.

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
InfoGlueDefaultInputHandlerAction()
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.Integer getContentId()
           
 java.lang.Integer getFormContentId()
           
 java.lang.Integer getLanguageId()
           
 java.lang.String getRedirectAddress()
           
 java.lang.Integer getSiteNodeId()
           
protected  void invokeHandler()
          This method invokes the right handler for this input.
 void setContentId(java.lang.Integer contentId)
           
 void setFormContentId(java.lang.Integer formContentId)
           
 void setLanguageId(java.lang.Integer languageId)
           
 void setRedirectAddress(java.lang.String redirectAddress)
           
 void setSiteNodeId(java.lang.Integer siteNodeId)
           
 
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

InfoGlueDefaultInputHandlerAction

public InfoGlueDefaultInputHandlerAction()
Method Detail

doExecute

public 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

invokeHandler

protected void invokeHandler()
                      throws java.lang.Exception
This method invokes the right handler for this input. The handler is declared by the caller but it must conform with the interface of InfoGlueInputHandler.

Throws:
java.lang.Exception

getRedirectAddress

public java.lang.String getRedirectAddress()

setRedirectAddress

public void setRedirectAddress(java.lang.String redirectAddress)

getContentId

public java.lang.Integer getContentId()

getFormContentId

public java.lang.Integer getFormContentId()

getLanguageId

public java.lang.Integer getLanguageId()

getSiteNodeId

public java.lang.Integer getSiteNodeId()

setContentId

public void setContentId(java.lang.Integer contentId)

setFormContentId

public void setFormContentId(java.lang.Integer formContentId)

setLanguageId

public void setLanguageId(java.lang.Integer languageId)

setSiteNodeId

public void setSiteNodeId(java.lang.Integer siteNodeId)


Copyright © 2005 InfoGlue.org All Rights Reserved.