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

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

public class ViewUserPropertiesAction
extends ViewEntityPropertiesAction

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
ViewUserPropertiesAction()
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String getCancelAddress()
           
 java.util.List getDigitalAssets()
          Returns a list of digital assets available for this content version.
 java.lang.Integer getEntityId()
           
 java.util.List getRelatedCategories(java.lang.String attribute)
          Returns all current Category relationships for th specified attrbiute name
 java.lang.String getReturnAddress()
           
 java.lang.String getUserName()
          Get the username for the currently logged in user
 UserPropertiesVO getUserPropertiesVO()
           
 java.util.List getUserPropertiesVOList()
           
 java.lang.String getXML()
           
protected  void initialize(java.lang.String userName)
          Initializes all properties needed for the usecase.
 void setOwnerEntityId(java.lang.String ownerEntityId)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class org.infoglue.cms.applications.managementtool.actions.ViewEntityPropertiesAction
getArguments, getAttributeName, getAttributeValue, getAvailableCategories, getAvailableLanguages, getCancelAction, getCategoryController, getContentRelationQualifyers, getContentTypeAttributes, getContentTypeDefinitionId, getContentTypeDefinitionVO, getContentTypeDefinitionVOList, getCurrentAction, getDefinedCategoryKeys, getDigitalAssetThumbnailUrl, getDigitalAssetUrl, getEntityName, getLanguageId, getOwnerEntityId, getOwnerEntityName, getPropertiesCategoryController, getQualifyerPath, getSiteNodeRelationQualifyers, getTextAreaId, getTitleKey, getToolbarKey, getUnescapedAttributeValue, getUpdateAction, initialize, setArguments, setAttributeName, setAttributes, setAvailableLanguages, setCancelAction, setContentTypeDefinitionId, setContentTypeDefinitionVO, setContentTypeDefinitionVOList, setCurrentAction, setEntityId, setEntityName, setLanguageId, setOwnerEntityName, setTextAreaId, setTitleKey, setToolbarKey, setUpdateAction
 
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, 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

ViewUserPropertiesAction

public ViewUserPropertiesAction()
Method Detail

initialize

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

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

getDigitalAssets

public java.util.List getDigitalAssets()
Returns a list of digital assets available for this content version.


getRelatedCategories

public java.util.List getRelatedCategories(java.lang.String attribute)
Returns all current Category relationships for th specified attrbiute name

Parameters:
attribute -
Returns:

getXML

public java.lang.String getXML()
Specified by:
getXML in class ViewEntityPropertiesAction

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

getUserPropertiesVO

public UserPropertiesVO getUserPropertiesVO()

getUserPropertiesVOList

public java.util.List getUserPropertiesVOList()

setUserName

public void setUserName(java.lang.String userName)

getEntityId

public java.lang.Integer getEntityId()
Overrides:
getEntityId in class ViewEntityPropertiesAction

setOwnerEntityId

public void setOwnerEntityId(java.lang.String ownerEntityId)
Overrides:
setOwnerEntityId in class ViewEntityPropertiesAction

getReturnAddress

public java.lang.String getReturnAddress()
                                  throws java.lang.Exception
Specified by:
getReturnAddress in class ViewEntityPropertiesAction
Throws:
java.lang.Exception

getCancelAddress

public java.lang.String getCancelAddress()
                                  throws java.lang.Exception
Specified by:
getCancelAddress in class ViewEntityPropertiesAction
Throws:
java.lang.Exception


Copyright © 2005 InfoGlue.org All Rights Reserved.