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
| 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, 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 |
CreateContentWizardInputContentAction
public CreateContentWizardInputContentAction()
CreateContentWizardInputContentAction
public CreateContentWizardInputContentAction(ContentVO contentVO)
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)