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

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.publishingtool.actions.ViewPublicationsAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
CreateEditionAction, DeleteEditionAction, PreviewEditionAction

public class ViewPublicationsAction
extends WebworkAbstractAction

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 interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewPublicationsAction()
           
 
Method Summary
 java.lang.String doExecute()
           
 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()
           
 ViewPublicationsAction getThis()
           
 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.WebworkAbstractAction
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getInfoGluePrincipal, getLocalizedString, getRoot, getSession, setCommand, setServletRequest, setServletResponse
 
Methods inherited from class java.lang.Object
equals, 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)

getThis

public ViewPublicationsAction getThis()

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Overrides:
doExecute in class WebworkAbstractAction
java.lang.Exception

doShowPublicationDetails

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

getPublicationDetails

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

getOwningContent

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

getOwningSiteNode

public SiteNodeVO getOwningSiteNode(java.lang.Integer id)
                             throws SystemException
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()