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

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.common.actions.InfoGluePropertiesAbstractAction
              extended by org.infoglue.cms.applications.contenttool.actions.ViewContentPropertiesAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, 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 class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
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()
           
 java.lang.String getInitialLanguageId()
           
 java.util.List getLanguageVOList()
           
protected  void initialize(java.lang.Integer contentId)
           
 void setContentId(java.lang.Integer contentId)
           
 void setDefaultContentTypeName(java.lang.String defaultContentTypeName)
           
 void setInitialLanguageId(java.lang.String initialLanguageId)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getLogger, 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

ViewContentPropertiesAction

public ViewContentPropertiesAction()
Method Detail

initialize

protected void initialize(java.lang.Integer contentId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

doExecute

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

Specified by:
doExecute in class WebworkAbstractAction
Throws:
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

Throws:
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

Throws:
java.lang.Exception

getContentId

public java.lang.Integer getContentId()

setContentId

public void setContentId(java.lang.Integer contentId)
                  throws java.lang.Exception
Throws:
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)

getLanguageVOList

public java.util.List getLanguageVOList()

getInitialLanguageId

public java.lang.String getInitialLanguageId()

setInitialLanguageId

public void setInitialLanguageId(java.lang.String initialLanguageId)


Copyright © 2005 InfoGlue.org All Rights Reserved.