org.infoglue.cms.applications.contenttool.actions
Class ViewAssetListAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.contenttool.actions.ViewAssetListAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public class ViewAssetListAction
- extends InfoGlueAbstractAction
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| 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, 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 |
contentTypeDefinitionVO
public ContentTypeDefinitionVO contentTypeDefinitionVO
availableLanguages
public java.util.List availableLanguages
attributes
public java.util.List attributes
ViewAssetListAction
public ViewAssetListAction()
ViewAssetListAction
public ViewAssetListAction(ContentVO contentVO)
initialize
protected void initialize(java.lang.Integer contentId,
java.lang.Integer languageId)
throws java.lang.Exception
- 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
doBrowser
public java.lang.String doBrowser()
throws java.lang.Exception
- Throws:
java.lang.Exception
getContentPath
public java.lang.String getContentPath(java.lang.Integer contentId)
throws ConstraintException,
SystemException,
Bug,
java.lang.Exception
- Throws:
ConstraintException
SystemException
Bug
java.lang.Exception
getMathHelper
public MathHelper getMathHelper()
getContentId
public java.lang.Integer getContentId()
setContentId
public void setContentId(java.lang.Integer contentId)
getContentTypeDefinitionId
public java.lang.Integer getContentTypeDefinitionId()
getContentTypeDefinitionName
public java.lang.String getContentTypeDefinitionName()
setLanguageId
public void setLanguageId(java.lang.Integer languageId)
getLanguageId
public java.lang.Integer getLanguageId()
getName
public java.lang.String getName()
getRepositoryId
public java.lang.Integer getRepositoryId()
getAvailableLanguages
public java.util.List getAvailableLanguages()
getInheritedDigitalAssets
public java.util.List getInheritedDigitalAssets()
- Returns a list of digital assets available for this content and all the child contents.
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
getDigitalAssetUrl
public java.lang.String getDigitalAssetUrl(java.lang.Integer contentId,
java.lang.Integer languageId)
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 contentId,
java.lang.Integer languageId)
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
setRepositoryId
public void setRepositoryId(java.lang.Integer repositoryId)
getRepositories
public java.util.List getRepositories()
getAssetKey
public java.lang.String getAssetKey()
setAssetKey
public void setAssetKey(java.lang.String assetKey)
getTreatAsLink
public boolean getTreatAsLink()
setTreatAsLink
public void setTreatAsLink(boolean treatAsLink)
getContentVO
public ContentVO getContentVO()
getLatestContentVersionVO
protected ContentVersionVO getLatestContentVersionVO(java.lang.Integer contentId)
throws SystemException,
java.lang.Exception
- Throws:
SystemException
java.lang.Exception
isShowLeafs
public boolean isShowLeafs()
setShowLeafs
public void setShowLeafs(boolean showLeafs)
getFilters
public java.util.List getFilters()
getFilter
public java.lang.String getFilter()
setFilter
public void setFilter(java.lang.String filter)
Copyright © 2005 InfoGlue.org All Rights Reserved.