org.infoglue.cms.applications.contenttool.wizards.actions
Class CreateContentWizardAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.contenttool.wizards.actions.CreateContentWizardAction
- All Implemented Interfaces:
- java.io.Serializable, ViewContentTreeActionInterface, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public class CreateContentWizardAction
- extends InfoGlueAbstractAction
- implements ViewContentTreeActionInterface
This action represents the CreateContent with help of a wizard. It guides the user through creating a new content
and allows a developer to control it's flow and basic parameters a bit so it steers the user to make correct descisions.
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| 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 |
contentTypeDefinitionVO
public ContentTypeDefinitionVO contentTypeDefinitionVO
availableLanguages
public java.util.List availableLanguages
attributes
public java.util.List attributes
CreateContentWizardAction
public CreateContentWizardAction()
CreateContentWizardAction
public CreateContentWizardAction(ContentVO contentVO)
initialize
protected void initialize(java.lang.Integer contentVersionId,
java.lang.Integer contentId,
java.lang.Integer languageId)
throws java.lang.Exception
- Throws:
java.lang.Exception
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
doCreateContent
public java.lang.String doCreateContent()
throws java.lang.Exception
- 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 interface ViewContentTreeActionInterface- Specified by:
doExecute in class WebworkAbstractAction
- Throws:
java.lang.Exception
getTopRepositoryId
public java.lang.Integer getTopRepositoryId()
throws ConstraintException,
SystemException,
Bug
- Throws:
ConstraintException
SystemException
Bug
setContentId
public void setContentId(java.lang.Integer contentId)
- Specified by:
setContentId in interface ViewContentTreeActionInterface
getContentId
public java.lang.Integer getContentId()
- Specified by:
getContentId in interface ViewContentTreeActionInterface
setHideLeafs
public void setHideLeafs(java.lang.String hideLeafs)
- Specified by:
setHideLeafs in interface ViewContentTreeActionInterface
getHideLeafs
public java.lang.String getHideLeafs()
- Specified by:
getHideLeafs in interface ViewContentTreeActionInterface
getTree
public java.lang.String getTree()
- Specified by:
getTree in interface ViewContentTreeActionInterface
setTree
public void setTree(java.lang.String tree)
- Specified by:
setTree in interface ViewContentTreeActionInterface
setParentContentId
public void setParentContentId(java.lang.Integer parentContentId)
getParentContentId
public java.lang.Integer getParentContentId()
setRepositoryId
public void setRepositoryId(java.lang.Integer repositoryId)
- Specified by:
setRepositoryId in interface ViewContentTreeActionInterface
getRepositoryId
public java.lang.Integer getRepositoryId()
- Returns the repositoryId either sent in or last used by the user or lastly the top one.
- Specified by:
getRepositoryId in interface ViewContentTreeActionInterface
setContentTypeDefinitionId
public void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
getContentTypeDefinitionId
public java.lang.Integer getContentTypeDefinitionId()
getName
public java.lang.String getName()
getPublishDateTime
public java.lang.String getPublishDateTime()
getExpireDateTime
public java.lang.String getExpireDateTime()
getPublishDateTimeAsLong
public long getPublishDateTimeAsLong()
getExpireDateTimeAsLong
public long getExpireDateTimeAsLong()
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)
getNewContentId
public java.lang.Integer getNewContentId()
getContentTypeDefinitions
public java.util.List getContentTypeDefinitions()
throws java.lang.Exception
- Throws:
java.lang.Exception
getAllowedContentTypeDefinitionId
public java.lang.String[] getAllowedContentTypeDefinitionId()
setAllowedContentTypeDefinitionId
public void setAllowedContentTypeDefinitionId(java.lang.String[] strings)
getContentVersionId
public java.lang.Integer getContentVersionId()
setContentVersionId
public void setContentVersionId(java.lang.Integer contentVersionId)
getAttributes
public java.util.List getAttributes()
getAvailableLanguages
public java.util.List getAvailableLanguages()
getContentTypeDefinitionVO
public ContentTypeDefinitionVO getContentTypeDefinitionVO()
getContentVersionVO
public ContentVersionVO getContentVersionVO()
getContentVO
public ContentVO getContentVO()
getCurrentEditorId
public java.lang.Integer getCurrentEditorId()
getLanguageId
public java.lang.Integer getLanguageId()
getNewContentVO
public ContentVO getNewContentVO()
getTextAreaId
public java.lang.String getTextAreaId()
setAttributes
public void setAttributes(java.util.List list)
getContentTypeAttributes
public java.util.List getContentTypeAttributes()
- This method returns the attributes in the content type definition for generation.
setAvailableLanguages
public void setAvailableLanguages(java.util.List list)
setContentTypeDefinitionVO
public void setContentTypeDefinitionVO(ContentTypeDefinitionVO definitionVO)
setContentVersionVO
public void setContentVersionVO(ContentVersionVO versionVO)
setContentVO
public void setContentVO(ContentVO contentVO)
setCurrentEditorId
public void setCurrentEditorId(java.lang.Integer integer)
setLanguageId
public void setLanguageId(java.lang.Integer integer)
setNewContentVO
public void setNewContentVO(ContentVO contentVO)
setTextAreaId
public void setTextAreaId(java.lang.String string)
Copyright © 2005 InfoGlue.org All Rights Reserved.