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

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.contenttool.wizards.actions.CreateContentWizardInputContentAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, 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 class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
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.String[] getAllowedContentTypeIds()
           
 java.lang.String getAllowedContentTypeIdsAsUrlEncodedString()
           
 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 setAllowedContentTypeIds(java.lang.String[] allowedContentTypeIds)
           
 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, 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

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.

Specified by:
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

Throws:
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)

getAllowedContentTypeIdsAsUrlEncodedString

public java.lang.String getAllowedContentTypeIdsAsUrlEncodedString()
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

getAllowedContentTypeIds

public java.lang.String[] getAllowedContentTypeIds()

setAllowedContentTypeIds

public void setAllowedContentTypeIds(java.lang.String[] allowedContentTypeIds)


Copyright © 2005 InfoGlue.org All Rights Reserved.