org.sakaiproject.portlets
Class SakaiLaunch

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended byorg.sakaiproject.portlets.SakaiLaunch
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class SakaiLaunch
extends javax.portlet.GenericPortlet

a simple SakaiLaunch Portlet


Constructor Summary
SakaiLaunch()
           
 
Method Summary
 int addToolList(javax.portlet.RenderRequest request, List siteList)
           
 void doEdit(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void doHelp(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
static InputStream getConfigStream(String fileName, Class curClass)
          Get an InputStream for a particular file name - first check the sakai.home area and then revert to the classpath.
 void init(javax.portlet.PortletConfig config)
           
 List loadSiteList(javax.portlet.PortletRequest request, String sakaiHost, String sakaiId, String sakaiPw, boolean doAuto)
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
 void processActionLogin(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
 void processActionMain(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
 void processActionSelect(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SakaiLaunch

public SakaiLaunch()
Method Detail

init

public void init(javax.portlet.PortletConfig config)
          throws javax.portlet.PortletException
Throws:
javax.portlet.PortletException

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   IOException
Throws:
javax.portlet.PortletException
IOException

addToolList

public int addToolList(javax.portlet.RenderRequest request,
                       List siteList)
                throws javax.portlet.PortletException,
                       IOException
Throws:
javax.portlet.PortletException
IOException

doEdit

public void doEdit(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   IOException
Throws:
javax.portlet.PortletException
IOException

doHelp

public void doHelp(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   IOException
Throws:
javax.portlet.PortletException
IOException

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse response)
                   throws javax.portlet.PortletException,
                          IOException
Throws:
javax.portlet.PortletException
IOException

processActionLogin

public void processActionLogin(javax.portlet.ActionRequest request,
                               javax.portlet.ActionResponse response)
                        throws javax.portlet.PortletException,
                               IOException
Throws:
javax.portlet.PortletException
IOException

processActionSelect

public void processActionSelect(javax.portlet.ActionRequest request,
                                javax.portlet.ActionResponse response)
                         throws javax.portlet.PortletException,
                                IOException
Throws:
javax.portlet.PortletException
IOException

processActionMain

public void processActionMain(javax.portlet.ActionRequest request,
                              javax.portlet.ActionResponse response)
                       throws javax.portlet.PortletException,
                              IOException
Throws:
javax.portlet.PortletException
IOException

loadSiteList

public List loadSiteList(javax.portlet.PortletRequest request,
                         String sakaiHost,
                         String sakaiId,
                         String sakaiPw,
                         boolean doAuto)

getConfigStream

public static InputStream getConfigStream(String fileName,
                                          Class curClass)
Get an InputStream for a particular file name - first check the sakai.home area and then revert to the classpath. This is a utility method used several places.