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

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

public class ViewSystemUserPropertiesAction
extends InfoGlueAbstractAction

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
ViewSystemUserPropertiesAction()
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String getAttributeName()
           
 java.lang.String getAttributeValue(java.lang.String key)
          This method fetches a value from the xml that is the contentVersions Value.
 java.util.List getAvailableLanguages()
           
 java.util.List getContentTypeAttributes()
          This method returns the attributes in the content type definition for generation.
 java.lang.Integer getContentTypeDefinitionId()
           
 java.lang.String getCurrentAction()
           
 java.lang.Integer getCurrentEditorId()
           
 java.lang.String getExtraParameters()
           
 java.lang.String getLabelKey()
           
 java.lang.Integer getLanguageId()
           
 java.lang.String getTextAreaId()
           
 java.lang.String getTitle()
           
 java.lang.String getUpdateAction()
           
 java.lang.String getUserName()
          Get the username for the currently logged in user
 UserPropertiesVO getUserPropertiesVO()
           
 java.lang.String getXML()
           
protected  void initialize(java.lang.String userName)
          Initializes all properties needed for the usecase.
 void setAttributeName(java.lang.String attributeName)
           
 void setCurrentEditorId(java.lang.Integer integer)
           
 void setLanguageId(java.lang.Integer languageId)
           
 void setTextAreaId(java.lang.String textAreaId)
           
 void setUserName(java.lang.String userName)
           
 
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, 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

ViewSystemUserPropertiesAction

public ViewSystemUserPropertiesAction()
Method Detail

initialize

protected void initialize(java.lang.String userName)
                   throws java.lang.Exception
Initializes all properties needed for the usecase.

Parameters:
systemUserId -
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

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String key)
This method fetches a value from the xml that is the contentVersions Value. If the contentVersioVO is null the contentVersion has not been created yet and no values are present.


getAvailableLanguages

public java.util.List getAvailableLanguages()

getContentTypeDefinitionId

public java.lang.Integer getContentTypeDefinitionId()

getUserPropertiesVO

public UserPropertiesVO getUserPropertiesVO()

getExtraParameters

public java.lang.String getExtraParameters()

getLabelKey

public java.lang.String getLabelKey()

getTitle

public java.lang.String getTitle()

getUpdateAction

public java.lang.String getUpdateAction()

getCurrentAction

public java.lang.String getCurrentAction()

getXML

public java.lang.String getXML()

getLanguageId

public java.lang.Integer getLanguageId()

setLanguageId

public void setLanguageId(java.lang.Integer languageId)

getCurrentEditorId

public java.lang.Integer getCurrentEditorId()

setCurrentEditorId

public void setCurrentEditorId(java.lang.Integer integer)

getAttributeName

public java.lang.String getAttributeName()

setAttributeName

public void setAttributeName(java.lang.String attributeName)

getTextAreaId

public java.lang.String getTextAreaId()

setTextAreaId

public void setTextAreaId(java.lang.String textAreaId)

getContentTypeAttributes

public java.util.List getContentTypeAttributes()
This method returns the attributes in the content type definition for generation.


getUserName

public java.lang.String getUserName()
Description copied from class: InfoGlueAbstractAction
Get the username for the currently logged in user

Overrides:
getUserName in class InfoGlueAbstractAction

setUserName

public void setUserName(java.lang.String userName)


Copyright © 2005 InfoGlue.org All Rights Reserved.