org.infoglue.cms.applications.publishingtool.actions
Class ViewPublicationsAction

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.publishingtool.actions.ViewPublicationsAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
CreateEditionAction, DeleteEditionAction, PreviewEditionAction

public class ViewPublicationsAction
extends InfoGlueAbstractAction

This returns a list of all events to be published or denied, and a page of previously published editions.

Author:
Stefan Sik, ss@frovi.com, Frank Febbraro, frank@phase2technology.com
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
ViewPublicationsAction()
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String doShowPublicationDetails()
           
 java.lang.String escape(java.lang.String string)
          Escapes the string
 EditionBrowser getEditionBrowser()
           
 ContentVO getOwningContent(java.lang.Integer id)
           
 SiteNodeVO getOwningSiteNode(java.lang.Integer id)
           
static java.util.List getPublicationDetails(java.lang.Integer publicationId)
           
 java.util.List getPublicationDetailVOList()
           
 java.util.List getPublicationEvents()
           
 java.lang.Integer getRepositoryId()
           
 RepositoryVO getRepositoryVO()
           
 int getStartIndex()
           
 void setEditionBrowser(EditionBrowser b)
           
 void setPublicationId(java.lang.Integer publicationId)
           
 void setRepositoryId(java.lang.Integer i)
           
 void setStartIndex(int i)
           
 
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, 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

ViewPublicationsAction

public ViewPublicationsAction()
Method Detail

getStartIndex

public int getStartIndex()

setStartIndex

public void setStartIndex(int i)

getRepositoryId

public java.lang.Integer getRepositoryId()

setRepositoryId

public void setRepositoryId(java.lang.Integer i)

getRepositoryVO

public RepositoryVO getRepositoryVO()

getPublicationEvents

public java.util.List getPublicationEvents()

getEditionBrowser

public EditionBrowser getEditionBrowser()

setEditionBrowser

public void setEditionBrowser(EditionBrowser b)

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

doShowPublicationDetails

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

getPublicationDetails

public static java.util.List getPublicationDetails(java.lang.Integer publicationId)
                                            throws SystemException
Throws:
SystemException

getOwningContent

public ContentVO getOwningContent(java.lang.Integer id)
                           throws SystemException
Throws:
SystemException

getOwningSiteNode

public SiteNodeVO getOwningSiteNode(java.lang.Integer id)
                             throws SystemException
Throws:
SystemException

escape

public java.lang.String escape(java.lang.String string)
Escapes the string


setPublicationId

public void setPublicationId(java.lang.Integer publicationId)

getPublicationDetailVOList

public java.util.List getPublicationDetailVOList()


Copyright © 2005 InfoGlue.org All Rights Reserved.