org.infoglue.cms.applications.managementtool.actions
Class UpdateContentTypeDefinitionAction

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.managementtool.actions.ViewContentTypeDefinitionAction
              extended by org.infoglue.cms.applications.managementtool.actions.UpdateContentTypeDefinitionAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class UpdateContentTypeDefinitionAction
extends ViewContentTypeDefinitionAction

This is the action-class for UpdateContentTypeDefinition

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.applications.managementtool.actions.ViewContentTypeDefinitionAction
USE_EDITOR
 
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
UpdateContentTypeDefinitionAction()
           
UpdateContentTypeDefinitionAction(ContentTypeDefinitionVO contentTypeDefinitionVO)
           
 
Method Summary
 java.lang.String doExecute()
          The main method that fetches the Value-object for this use-case
 java.lang.String doSaveAndExit()
           
 java.lang.Integer getContentTypeDefinitionId()
           
 java.lang.String getName()
           
 java.lang.String getSchemaValue()
           
 java.lang.Integer getType()
           
 void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
           
 void setName(java.lang.String name)
           
 void setSchemaValue(java.lang.String schemaValue)
           
 void setType(java.lang.Integer type)
           
 
Methods inherited from class org.infoglue.cms.applications.managementtool.actions.ViewContentTypeDefinitionAction
doDeleteAssetKey, doDeleteAttribute, doDeleteAttributeParameterValue, doDeleteAttributeValidator, doDeleteCategoryKey, doInsertAssetKey, doInsertAttribute, doInsertAttributeParameterValue, doInsertAttributeValidator, doInsertCategoryKey, doMoveAssetKeyDown, doMoveAssetKeyUp, doMoveAttributeDown, doMoveAttributeUp, doUpdateAssetKey, doUpdateAttribute, doUpdateAttributeParameterValue, doUpdateAttributeValidatorArguments, doUpdateCategoryKey, doUseEditor, doUseSimple, getActivatedName, getAllCategories, getAllowedContentTypes, getAssetKey, getAttributeName, getAttributeParameterId, getAttributeParameterValueId, getAttributeParameterValueLabel, getAttributeParameterValueLocale, getAttributeToExpand, getAvailableLanguages, getCategoryController, getCategoryKey, getCategoryName, getContentTypeAttributes, getCurrentContentTypeEditorViewLanguageCode, getDefinedAssetKeys, getDefinedCategoryKeys, getErrorKey, getImageHeight, getImageWidth, getInputTypeId, getIsMandatory, getMaximumSize, getNewAssetKey, getNewAttributeParameterValueId, getNewCategoryKey, getReturnAddress, getTitle, initialize, setAllowedContentTypes, setAssetKey, setAttributeName, setAttributeParameterId, setAttributeParameterValueId, setAttributeParameterValueLabel, setAttributeParameterValueLocale, setAttributeToExpand, setCategoryKey, setCurrentContentTypeEditorViewLanguageCode, setDescription, setImageHeight, setImageWidth, setInputTypeId, setIsMandatory, setMaximumSize, setNewAssetKey, setNewAttributeName, setNewAttributeParameterValueId, setNewCategoryKey, setTitle
 
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

UpdateContentTypeDefinitionAction

public UpdateContentTypeDefinitionAction()

UpdateContentTypeDefinitionAction

public UpdateContentTypeDefinitionAction(ContentTypeDefinitionVO contentTypeDefinitionVO)
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Description copied from class: ViewContentTypeDefinitionAction
The main method that fetches the Value-object for this use-case

Overrides:
doExecute in class ViewContentTypeDefinitionAction
Throws:
java.lang.Exception

doSaveAndExit

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

setContentTypeDefinitionId

public void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
                                throws java.lang.Exception
Overrides:
setContentTypeDefinitionId in class ViewContentTypeDefinitionAction
Throws:
java.lang.Exception

getContentTypeDefinitionId

public java.lang.Integer getContentTypeDefinitionId()
Overrides:
getContentTypeDefinitionId in class ViewContentTypeDefinitionAction

getName

public java.lang.String getName()
Overrides:
getName in class ViewContentTypeDefinitionAction

setName

public void setName(java.lang.String name)

getSchemaValue

public java.lang.String getSchemaValue()
Overrides:
getSchemaValue in class ViewContentTypeDefinitionAction

setSchemaValue

public void setSchemaValue(java.lang.String schemaValue)

getType

public java.lang.Integer getType()
Overrides:
getType in class ViewContentTypeDefinitionAction

setType

public void setType(java.lang.Integer type)


Copyright © 2005 InfoGlue.org All Rights Reserved.