Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.sitemap.action
Class PublishVersionedPublishableAction  view PublishVersionedPublishableAction download PublishVersionedPublishableAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.RuntimeCollective.sitemap.action.PublishVersionedPublishableAction

public class PublishVersionedPublishableAction
extends org.apache.struts.action.Action

This Action publishes a Live version of a Versioned Publishable.

The Trunk version is marked as Live and published as normal, but it is also copied into a Live version, which should be what users will see on the Website. Only the live version is indexed for the search.

Version:
$Id: PublishVersionedPublishableAction.java,v 1.8 2003/09/30 15:12:59 joe Exp $

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
PublishVersionedPublishableAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          The Trunk version is marked as Live and published as normal, but it is also copied into a Live version, which should be what users will see on the Website.
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishVersionedPublishableAction

public PublishVersionedPublishableAction()
Method Detail

perform

public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
The Trunk version is marked as Live and published as normal, but it is also copied into a Live version, which should be what users will see on the Website.

The following error messages are returned:
error.db.connection - if there was a problem connecting to the database.