org.jboss.portal.core.cms.ui.admin
Class CMSAdminPortlet

java.lang.Object
  extended by org.jboss.portlet.JBossPortlet
      extended by org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet
All Implemented Interfaces:
Portlet

public class CMSAdminPortlet
extends JBossPortlet

Author:
Roy Russo, Thomas Heute, Sohil Shah

Constructor Summary
CMSAdminPortlet()
           
 
Method Summary
 java.lang.String buildURL(JBossRenderRequest req, java.lang.String path)
          Rewrites urls.
protected  void doView(JBossRenderRequest rReq, JBossRenderResponse rRes)
          Throw a PortletException.
 ApprovePublish getApprovePublish()
           
 void init()
           
 void processAction(JBossActionRequest aReq, JBossActionResponse aRes)
          Calls doDispatch(JBossActionRequest,JBossActionResponse).
 void setApprovePublish(ApprovePublish approvePublish)
           
 
Methods inherited from class org.jboss.portlet.JBossPortlet
destroy, doDispatch, doEdit, doHelp, getDefaultOperation, getInitParameter, getInitParameterNames, getOperationName, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, processAction, processDispatch, processEdit, processHelp, processView, render, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSAdminPortlet

public CMSAdminPortlet()
Method Detail

init

public void init()
          throws PortletException
Overrides:
init in class JBossPortlet
Throws:
PortletException

doView

protected void doView(JBossRenderRequest rReq,
                      JBossRenderResponse rRes)
               throws PortletException,
                      java.io.IOException,
                      UnavailableException
Description copied from class: JBossPortlet
Throw a PortletException.

Overrides:
doView in class JBossPortlet
Throws:
PortletException
java.io.IOException
UnavailableException

processAction

public void processAction(JBossActionRequest aReq,
                          JBossActionResponse aRes)
                   throws PortletException
Description copied from class: JBossPortlet
Calls doDispatch(JBossActionRequest,JBossActionResponse).

Overrides:
processAction in class JBossPortlet
Throws:
PortletException

buildURL

public java.lang.String buildURL(JBossRenderRequest req,
                                 java.lang.String path)
Rewrites urls. Typically, this is used for image src calls from the html, so they route thru the CMSObjectCommandMapper and invoke the StreamObjectCommand. TODO : need to make this not a hack


getApprovePublish

public ApprovePublish getApprovePublish()

setApprovePublish

public void setApprovePublish(ApprovePublish approvePublish)