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

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
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
ViewGroupPropertiesAction, ViewRolePropertiesAction, ViewUserPropertiesAction

public abstract class ViewEntityPropertiesAction
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
ViewEntityPropertiesAction()
           
 
Method Summary
 java.lang.String getArguments()
           
 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 getAvailableCategories(java.lang.Integer categoryId)
          Returns the Category tree for the given Category id.
 java.util.List getAvailableLanguages()
           
 java.lang.String getCancelAction()
           
abstract  java.lang.String getCancelAddress()
           
 CategoryController getCategoryController()
           
 java.util.List getContentRelationQualifyers(java.lang.String qualifyerXML)
          Returns the content relation qualifyers
 java.util.List getContentTypeAttributes()
           
 java.lang.Integer getContentTypeDefinitionId()
           
 ContentTypeDefinitionVO getContentTypeDefinitionVO()
           
 java.util.List getContentTypeDefinitionVOList()
           
 java.lang.String getCurrentAction()
           
 java.util.List getDefinedCategoryKeys()
          Return the listing of Category attributes for this type of Content
 java.lang.String getDigitalAssetThumbnailUrl(java.lang.Integer digitalAssetId)
          This method fetches the blob from the database and saves it on the disk.
 java.lang.String getDigitalAssetUrl(java.lang.Integer digitalAssetId)
          This method fetches the blob from the database and saves it on the disk.
 java.lang.Integer getEntityId()
           
 java.lang.String getEntityName()
           
 java.lang.Integer getLanguageId()
           
 java.lang.String getOwnerEntityId()
           
 java.lang.String getOwnerEntityName()
           
 PropertiesCategoryController getPropertiesCategoryController()
           
 java.lang.String getQualifyerPath(java.lang.String entity, java.lang.String entityId)
          Gets the path to a content/sitenode.
abstract  java.lang.String getReturnAddress()
           
 java.util.List getSiteNodeRelationQualifyers(java.lang.String qualifyerXML)
          Returns the sitenode relation qualifyers
 java.lang.String getTextAreaId()
           
 java.lang.String getTitleKey()
           
 java.lang.String getToolbarKey()
           
 java.lang.String getUnescapedAttributeValue(java.lang.String key)
          This method fetches a value from the xml that is the property Value.
 java.lang.String getUpdateAction()
           
abstract  java.lang.String getXML()
           
 void initialize()
           
 void setArguments(java.lang.String arguments)
           
 void setAttributeName(java.lang.String attributeName)
           
 void setAttributes(java.util.List contentTypeAttributes)
           
 void setAvailableLanguages(java.util.List availableLanguages)
           
 void setCancelAction(java.lang.String cancelAction)
           
 void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
           
 void setContentTypeDefinitionVO(ContentTypeDefinitionVO contentTypeDefinitionVO)
           
 void setContentTypeDefinitionVOList(java.util.List contentTypeDefinitionVOList)
           
 void setCurrentAction(java.lang.String currentAction)
           
 void setEntityId(java.lang.Integer entityId)
           
 void setEntityName(java.lang.String entityName)
           
 void setLanguageId(java.lang.Integer languageId)
           
 void setOwnerEntityId(java.lang.String ownerEntityId)
           
 void setOwnerEntityName(java.lang.String ownerEntityName)
           
 void setTextAreaId(java.lang.String textAreaId)
           
 void setTitleKey(java.lang.String titleKey)
           
 void setToolbarKey(java.lang.String toolbarKey)
           
 void setUpdateAction(java.lang.String updateAction)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableImageEditor, 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, doExecute, 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

ViewEntityPropertiesAction

public ViewEntityPropertiesAction()
Method Detail

getXML

public abstract java.lang.String getXML()

getCancelAddress

public abstract java.lang.String getCancelAddress()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

getReturnAddress

public abstract java.lang.String getReturnAddress()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

initialize

public void initialize()
                throws SystemException,
                       Bug
Throws:
SystemException
Bug

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 xml is null the property has not been created yet and no values are present.


getUnescapedAttributeValue

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


getDigitalAssetUrl

public java.lang.String getDigitalAssetUrl(java.lang.Integer digitalAssetId)
                                    throws java.lang.Exception
This method fetches the blob from the database and saves it on the disk. Then it returnes a url for it

Throws:
java.lang.Exception

getDigitalAssetThumbnailUrl

public java.lang.String getDigitalAssetThumbnailUrl(java.lang.Integer digitalAssetId)
                                             throws java.lang.Exception
This method fetches the blob from the database and saves it on the disk. Then it returnes a url for it

Throws:
java.lang.Exception

getQualifyerPath

public java.lang.String getQualifyerPath(java.lang.String entity,
                                         java.lang.String entityId)
Gets the path to a content/sitenode.

Parameters:
entity -
entityId -
Returns:

getContentRelationQualifyers

public java.util.List getContentRelationQualifyers(java.lang.String qualifyerXML)
Returns the content relation qualifyers

Parameters:
qualifyerXML -
Returns:

getSiteNodeRelationQualifyers

public java.util.List getSiteNodeRelationQualifyers(java.lang.String qualifyerXML)
Returns the sitenode relation qualifyers

Parameters:
qualifyerXML -
Returns:

getDefinedCategoryKeys

public java.util.List getDefinedCategoryKeys()
Return the listing of Category attributes for this type of Content


getAvailableCategories

public java.util.List getAvailableCategories(java.lang.Integer categoryId)
Returns the Category tree for the given Category id.

Parameters:
categoryId - The base Category
Returns:
A list of all Children (and their children, etc)

getCategoryController

public CategoryController getCategoryController()

getPropertiesCategoryController

public PropertiesCategoryController getPropertiesCategoryController()

getArguments

public java.lang.String getArguments()

getTitleKey

public java.lang.String getTitleKey()

getToolbarKey

public java.lang.String getToolbarKey()

getCurrentAction

public java.lang.String getCurrentAction()

setCurrentAction

public void setCurrentAction(java.lang.String currentAction)

getEntityName

public java.lang.String getEntityName()

setEntityName

public void setEntityName(java.lang.String entityName)

getUpdateAction

public java.lang.String getUpdateAction()

setUpdateAction

public void setUpdateAction(java.lang.String updateAction)

setArguments

public void setArguments(java.lang.String arguments)

setTitleKey

public void setTitleKey(java.lang.String titleKey)

setToolbarKey

public void setToolbarKey(java.lang.String toolbarKey)

getEntityId

public java.lang.Integer getEntityId()

setEntityId

public void setEntityId(java.lang.Integer entityId)

getOwnerEntityId

public java.lang.String getOwnerEntityId()

setOwnerEntityId

public void setOwnerEntityId(java.lang.String ownerEntityId)

getOwnerEntityName

public java.lang.String getOwnerEntityName()

setOwnerEntityName

public void setOwnerEntityName(java.lang.String ownerEntityName)

getAvailableLanguages

public java.util.List getAvailableLanguages()

setAvailableLanguages

public void setAvailableLanguages(java.util.List availableLanguages)

getContentTypeDefinitionId

public java.lang.Integer getContentTypeDefinitionId()

setContentTypeDefinitionId

public void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)

getContentTypeDefinitionVO

public ContentTypeDefinitionVO getContentTypeDefinitionVO()

setContentTypeDefinitionVO

public void setContentTypeDefinitionVO(ContentTypeDefinitionVO contentTypeDefinitionVO)

getContentTypeDefinitionVOList

public java.util.List getContentTypeDefinitionVOList()

setContentTypeDefinitionVOList

public void setContentTypeDefinitionVOList(java.util.List contentTypeDefinitionVOList)

getLanguageId

public java.lang.Integer getLanguageId()

setLanguageId

public void setLanguageId(java.lang.Integer languageId)

getTextAreaId

public java.lang.String getTextAreaId()

setTextAreaId

public void setTextAreaId(java.lang.String textAreaId)

getAttributeName

public java.lang.String getAttributeName()

setAttributeName

public void setAttributeName(java.lang.String attributeName)

getContentTypeAttributes

public java.util.List getContentTypeAttributes()

setAttributes

public void setAttributes(java.util.List contentTypeAttributes)

getCancelAction

public java.lang.String getCancelAction()

setCancelAction

public void setCancelAction(java.lang.String cancelAction)


Copyright © 2005 InfoGlue.org All Rights Reserved.