org.infoglue.cms.applications.contenttool.actions
Class CreateContentAction
java.lang.Object
|
+--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
|
+--org.infoglue.cms.applications.contenttool.actions.CreateContentAction
- All Implemented Interfaces:
- webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
- public class CreateContentAction
- extends WebworkAbstractAction
This action represents the CreateContent Usecase.
- 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.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 |
CreateContentAction
public CreateContentAction()
CreateContentAction
public CreateContentAction(ContentVO contentVO)
setParentContentId
public void setParentContentId(java.lang.Integer parentContentId)
getParentContentId
public java.lang.Integer getParentContentId()
setRepositoryId
public void setRepositoryId(java.lang.Integer repositoryId)
getRepositoryId
public java.lang.Integer getRepositoryId()
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)
getContentId
public java.lang.Integer getContentId()
getDefaultFolderContentTypeName
public java.lang.String getDefaultFolderContentTypeName()
getContentTypeDefinitions
public java.util.List getContentTypeDefinitions()
throws java.lang.Exception
- This method fetches the list of ContentTypeDefinitions
java.lang.Exception
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- Overrides:
doExecute in class WebworkAbstractAction
java.lang.Exception
doBindingView
public java.lang.String doBindingView()
throws java.lang.Exception
java.lang.Exception
doTreeView
public java.lang.String doTreeView()
throws java.lang.Exception
java.lang.Exception
doInput
public java.lang.String doInput()
throws java.lang.Exception
java.lang.Exception
getAllowedContentTypeNames
public java.lang.String getAllowedContentTypeNames()
getDefaultContentTypeName
public java.lang.String getDefaultContentTypeName()