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

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

public class SimpleContentXmlAction
extends SimpleXmlServiceAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.applications.common.actions.SimpleXmlServiceAction
action, allowedContentTypeIds, changeNotificationBuffer, createAction, ENCODING, formatter, parent, repositoryId, SERVICEREVISION, showLeafs, TYPE_REPOSITORY, urlArgSeparator, useTemplate
 
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
SimpleContentXmlAction()
           
 
Method Summary
 java.lang.String doContentVersion()
           
 java.lang.String doContentVersions()
           
 java.lang.String doDigitalAssets()
           
 org.dom4j.Element getContentVersionElement(ContentVersionVO vo)
           
 org.dom4j.Element getContentVersionElement(java.lang.Integer contentVersionId)
           
 ContentVersionVO getLatestContentVersionVO(java.lang.Integer contentId, java.lang.Integer languageId)
           
 com.frovi.ss.Tree.INodeSupplier getNodeSupplier()
           
protected  BaseEntityVO getRootEntityVO(java.lang.Integer repositoryId, InfoGluePrincipal principal)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.SimpleXmlServiceAction
doApplicationSettings, doContentTypeDefinitions, doExecute, doGetChangeNotifications, doGetChangeNotificationsStream, doLanguage, encode, formatDate, getAction, getAllowedContentTypeIds, getAllowedContentTypeIdsAsUrlEncodedString, getContentTypeDefinitions, getFormattedDocument, getFormattedDocument, getParent, getRepositoryId, getShowLeafs, isCreateAction, isUseTemplate, makeAction, out, setAction, setAllowedContentTypeIds, setCreateAction, setParent, setRepositoryId, setShowLeafs, setUseTemplate
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, 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, 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

SimpleContentXmlAction

public SimpleContentXmlAction()
Method Detail

getNodeSupplier

public com.frovi.ss.Tree.INodeSupplier getNodeSupplier()
                                                throws SystemException
Specified by:
getNodeSupplier in class SimpleXmlServiceAction
Throws:
SystemException

doDigitalAssets

public java.lang.String doDigitalAssets()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getLatestContentVersionVO

public ContentVersionVO getLatestContentVersionVO(java.lang.Integer contentId,
                                                  java.lang.Integer languageId)

getContentVersionElement

public org.dom4j.Element getContentVersionElement(java.lang.Integer contentVersionId)
                                           throws SystemException,
                                                  Bug,
                                                  java.io.UnsupportedEncodingException
Throws:
SystemException
Bug
java.io.UnsupportedEncodingException

getContentVersionElement

public org.dom4j.Element getContentVersionElement(ContentVersionVO vo)
                                           throws SystemException,
                                                  Bug,
                                                  java.io.UnsupportedEncodingException
Throws:
SystemException
Bug
java.io.UnsupportedEncodingException

doContentVersion

public java.lang.String doContentVersion()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

doContentVersions

public java.lang.String doContentVersions()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getRootEntityVO

protected BaseEntityVO getRootEntityVO(java.lang.Integer repositoryId,
                                       InfoGluePrincipal principal)
                                throws ConstraintException,
                                       SystemException
Specified by:
getRootEntityVO in class SimpleXmlServiceAction
Throws:
ConstraintException
SystemException


Copyright © 2005 InfoGlue.org All Rights Reserved.