org.infoglue.cms.applications.contenttool.actions
Class CreateContentAction

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

public class CreateContentAction
extends InfoGlueAbstractAction

This action represents the CreateContent 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
CreateContentAction()
           
CreateContentAction(ContentVO contentVO)
           
 
Method Summary
 java.lang.String doBindingView()
           
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String doInput()
           
 java.lang.String doTreeView()
           
 java.lang.String getAllowedContentTypeNames()
           
 java.lang.Integer getContentId()
           
 java.lang.Integer getContentTypeDefinitionId()
           
 java.util.List getContentTypeDefinitions()
          This method fetches the list of ContentTypeDefinitions
 java.lang.String getDefaultContentTypeName()
           
 java.lang.String getDefaultFolderContentTypeName()
           
 java.lang.String getExpireDateTime()
           
 long getExpireDateTimeAsLong()
           
 java.lang.Boolean getIsBranch()
           
 java.lang.String getName()
           
 java.lang.Integer getParentContentId()
           
 java.lang.String getPublishDateTime()
           
 long getPublishDateTimeAsLong()
           
 java.lang.Integer getRepositoryId()
           
 void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
           
 void setExpireDateTime(java.lang.String expireDateTime)
           
 void setIsBranch(java.lang.Boolean isBranch)
           
 void setName(java.lang.String name)
           
 void setParentContentId(java.lang.Integer parentContentId)
           
 void setPublishDateTime(java.lang.String publishDateTime)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableImageEditor, 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

CreateContentAction

public CreateContentAction()

CreateContentAction

public CreateContentAction(ContentVO contentVO)
Method Detail

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

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

doBindingView

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

doTreeView

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

doInput

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

getAllowedContentTypeNames

public java.lang.String getAllowedContentTypeNames()

getDefaultContentTypeName

public java.lang.String getDefaultContentTypeName()


Copyright © 2005 InfoGlue.org All Rights Reserved.