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

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
              |
              +--org.infoglue.cms.applications.common.actions.InfoGluePropertiesAbstractAction
                    |
                    +--org.infoglue.cms.applications.contenttool.actions.ViewContentPropertiesAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class ViewContentPropertiesAction
extends InfoGluePropertiesAbstractAction

This class implements the action class for viewContentProperties. The use-case lets the user see all extra-properties for a content

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewContentPropertiesAction()
           
 
Method Summary
 java.lang.String doExecute()
          The main method that fetches the Value-objects for this use-case
 java.lang.String doSave()
          The main method that fetches the Value-objects for this use-case
 java.lang.String doSaveAndExit()
          The main method that fetches the Value-objects for this use-case
 java.lang.String getAllowedContentTypeNames()
           
 java.lang.Integer getContentId()
           
 java.util.List getContentTypeDefinitionVOList()
           
 ContentVO getContentVO()
           
 java.lang.String getDefaultContentTypeName()
           
 void setContentId(java.lang.Integer contentId)
           
 void setDefaultContentTypeName(java.lang.String defaultContentTypeName)
           
 
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
 

Constructor Detail

ViewContentPropertiesAction

public ViewContentPropertiesAction()
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
The main method that fetches the Value-objects for this use-case

Overrides:
doExecute in class WebworkAbstractAction
java.lang.Exception

doSave

public java.lang.String doSave()
                        throws java.lang.Exception
The main method that fetches the Value-objects for this use-case

java.lang.Exception

doSaveAndExit

public java.lang.String doSaveAndExit()
                               throws java.lang.Exception
The main method that fetches the Value-objects for this use-case

java.lang.Exception

getContentId

public java.lang.Integer getContentId()

setContentId

public void setContentId(java.lang.Integer contentId)
                  throws java.lang.Exception
java.lang.Exception

getContentVO

public ContentVO getContentVO()

getContentTypeDefinitionVOList

public java.util.List getContentTypeDefinitionVOList()

getAllowedContentTypeNames

public java.lang.String getAllowedContentTypeNames()

getDefaultContentTypeName

public java.lang.String getDefaultContentTypeName()

setDefaultContentTypeName

public void setDefaultContentTypeName(java.lang.String defaultContentTypeName)