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

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

public class CreateSiteNodeAction
extends InfoGlueAbstractAction

This action represents the CreateSiteNode Usecase.

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
CreateSiteNodeAction()
           
CreateSiteNodeAction(SiteNodeVO siteNodeVO)
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String doInput()
           
 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()
           
 java.lang.Boolean getIsBranch()
           
 java.lang.String getName()
           
 java.lang.Integer getPageTemplateContentId()
           
 java.lang.Integer getParentSiteNodeId()
           
 java.lang.String getPublishDateTime()
           
 java.lang.Integer getRepositoryId()
           
 java.lang.Integer getSiteNodeId()
           
 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.
 java.lang.String getSortProperty()
           
 void setExpireDateTime(java.lang.String expireDateTime)
           
 void setIsBranch(java.lang.Boolean isBranch)
           
 void setName(java.lang.String name)
           
 void setPageTemplateContentId(java.lang.Integer pageTemplateContentId)
           
 void setParentSiteNodeId(java.lang.Integer parentSiteNodeId)
           
 void setPublishDateTime(java.lang.String publishDateTime)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 void setSiteNodeTypeDefinitionId(java.lang.Integer siteNodeTypeDefinitionId)
           
 
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

CreateSiteNodeAction

public CreateSiteNodeAction()

CreateSiteNodeAction

public CreateSiteNodeAction(SiteNodeVO siteNodeVO)
Method Detail

setParentSiteNodeId

public void setParentSiteNodeId(java.lang.Integer parentSiteNodeId)

getParentSiteNodeId

public java.lang.Integer getParentSiteNodeId()

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)

getRepositoryId

public java.lang.Integer getRepositoryId()

setSiteNodeTypeDefinitionId

public void setSiteNodeTypeDefinitionId(java.lang.Integer siteNodeTypeDefinitionId)

getSiteNodeTypeDefinitionId

public java.lang.Integer getSiteNodeTypeDefinitionId()

getName

public java.lang.String getName()

getPublishDateTime

public java.lang.String getPublishDateTime()

getExpireDateTime

public java.lang.String getExpireDateTime()

getIsBranch

public java.lang.Boolean getIsBranch()

setName

public void setName(java.lang.String name)

setPublishDateTime

public void setPublishDateTime(java.lang.String publishDateTime)

setExpireDateTime

public void setExpireDateTime(java.lang.String expireDateTime)

setIsBranch

public void setIsBranch(java.lang.Boolean isBranch)

getSiteNodeId

public java.lang.Integer getSiteNodeId()

getSortProperty

public java.lang.String getSortProperty()

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

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

doInput

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

getPageTemplateContentId

public java.lang.Integer getPageTemplateContentId()

setPageTemplateContentId

public void setPageTemplateContentId(java.lang.Integer pageTemplateContentId)


Copyright © 2005 InfoGlue.org All Rights Reserved.