org.infoglue.cms.applications.contenttool.wizards.actions
Class CreateContentWizardInputContentAction

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

public class CreateContentWizardInputContentAction
extends InfoGlueAbstractAction

This action represents the create content step in the wizards.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CreateContentWizardInputContentAction()
           
CreateContentWizardInputContentAction(ContentVO contentVO)
           
 
Method Summary
 java.lang.String doExecute()
          This method validates the input and handles any deviations.
 java.lang.String doInput()
          This method presents the user with the initial input screen for creating a content.
 java.lang.Integer getContentTypeDefinitionId()
           
 java.util.List getContentTypeDefinitions()
          This method fetches the list of ContentTypeDefinitions
 java.lang.String getExpireDateTime()
           
 long getExpireDateTimeAsLong()
           
 java.lang.Boolean getIsBranch()
           
 java.lang.String getName()
           
 java.lang.String getPublishDateTime()
           
 long getPublishDateTimeAsLong()
           
 java.lang.String getReturnAddress()
           
 void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
           
 void setExpireDateTime(java.lang.String expireDateTime)
           
 void setIsBranch(java.lang.Boolean isBranch)
           
 void setName(java.lang.String name)
           
 void setPublishDateTime(java.lang.String publishDateTime)
           
 void setReturnAddress(java.lang.String string)
           
 
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

CreateContentWizardInputContentAction

public CreateContentWizardInputContentAction()

CreateContentWizardInputContentAction

public CreateContentWizardInputContentAction(ContentVO contentVO)
Method Detail

doInput

public java.lang.String doInput()
                         throws java.lang.Exception
This method presents the user with the initial input screen for creating a content.

Returns:
Throws:
java.lang.Exception

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
This method validates the input and handles any deviations.

Overrides:
doExecute in class WebworkAbstractAction
Returns:
Throws:
java.lang.Exception

getContentTypeDefinitions

public java.util.List getContentTypeDefinitions()
                                         throws java.lang.Exception
This method fetches the list of ContentTypeDefinitions

java.lang.Exception

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getPublishDateTime

public java.lang.String getPublishDateTime()

setPublishDateTime

public void setPublishDateTime(java.lang.String publishDateTime)

getExpireDateTime

public java.lang.String getExpireDateTime()

setExpireDateTime

public void setExpireDateTime(java.lang.String expireDateTime)

getPublishDateTimeAsLong

public long getPublishDateTimeAsLong()

getExpireDateTimeAsLong

public long getExpireDateTimeAsLong()

getIsBranch

public java.lang.Boolean getIsBranch()

setIsBranch

public void setIsBranch(java.lang.Boolean isBranch)

getContentTypeDefinitionId

public java.lang.Integer getContentTypeDefinitionId()

setContentTypeDefinitionId

public void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)

getReturnAddress

public java.lang.String getReturnAddress()

setReturnAddress

public void setReturnAddress(java.lang.String string)