org.infoglue.cms.applications.structuretool.wizards.actions
Class CreateSiteNodeWizardInputSiteNodeAction

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

public class CreateSiteNodeWizardInputSiteNodeAction
extends CreateSiteNodeWizardAbstractAction

This action represents the create SiteNode 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
CreateSiteNodeWizardInputSiteNodeAction()
           
 
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 SiteNode.
 java.lang.String getDigitalAssetUrl(java.lang.Integer contentId, java.lang.String key)
          This method fetches an url to the asset for the component.
 java.lang.String getExpireDateTime()
           
 long getExpireDateTimeAsLong()
           
 java.lang.String getName()
           
 java.lang.Integer getPageTemplateContentId()
           
 java.lang.String getPublishDateTime()
           
 long getPublishDateTimeAsLong()
           
 java.lang.String getReturnAddress()
           
 java.lang.Integer getSiteNodeTypeDefinitionId()
           
 java.util.List getSiteNodeTypeDefinitions()
          This method fetches the list of SiteNodeTypeDefinitions
 java.util.List getSortedPageTemplates(java.lang.String sortProperty)
          This method returns the contents that are of contentTypeDefinition "PageTemplate" sorted on the property given.
 void setExpireDateTime(java.lang.String expireDateTime)
           
 void setName(java.lang.String name)
           
 void setPageTemplateContentId(java.lang.Integer pageTemplateContentId)
           
 void setPublishDateTime(java.lang.String publishDateTime)
           
 void setReturnAddress(java.lang.String string)
           
 void setSiteNodeTypeDefinitionId(java.lang.Integer siteNodeTypeDefinitionId)
           
 
Methods inherited from class org.infoglue.cms.applications.structuretool.wizards.actions.CreateSiteNodeWizardAbstractAction
getCreateSiteNodeWizardInfoBean, invalidateCreateSiteNodeWizardInfoBean
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableCustomIcons, getDisableImageEditor, getEnableDateTimeDirectEditing, 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

CreateSiteNodeWizardInputSiteNodeAction

public CreateSiteNodeWizardInputSiteNodeAction()
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 SiteNode.

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

getSortedPageTemplates

public java.util.List getSortedPageTemplates(java.lang.String sortProperty)
                                      throws java.lang.Exception
This method returns the contents that are of contentTypeDefinition "PageTemplate" sorted on the property given.

Throws:
java.lang.Exception

getDigitalAssetUrl

public java.lang.String getDigitalAssetUrl(java.lang.Integer contentId,
                                           java.lang.String key)
                                    throws java.lang.Exception
This method fetches an url to the asset for the component.

Throws:
java.lang.Exception

getSiteNodeTypeDefinitions

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

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()

getSiteNodeTypeDefinitionId

public java.lang.Integer getSiteNodeTypeDefinitionId()

setSiteNodeTypeDefinitionId

public void setSiteNodeTypeDefinitionId(java.lang.Integer siteNodeTypeDefinitionId)

setPageTemplateContentId

public void setPageTemplateContentId(java.lang.Integer pageTemplateContentId)

getPageTemplateContentId

public java.lang.Integer getPageTemplateContentId()

getReturnAddress

public java.lang.String getReturnAddress()

setReturnAddress

public void setReturnAddress(java.lang.String string)


Copyright © 2005 InfoGlue.org All Rights Reserved.