com.ibm.ccd.ui.portlets.fileupload
Class FileUploadPortlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet
org.apache.jetspeed.portlet.Portlet
org.apache.jetspeed.portlet.PortletAdapter
com.ibm.ccd.ui.portlets.BasePortlet
com.ibm.ccd.ui.portlets.fileupload.FileUploadPortlet
- All Implemented Interfaces:
- com.ibm.websphere.servlet.cache.CacheableServlet, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.apache.jetspeed.portlet.event.ActionListener, org.apache.jetspeed.portlet.PortletSessionListener
public class FileUploadPortlet
- extends BasePortlet
- implements org.apache.jetspeed.portlet.event.ActionListener
This is a Portlet class for File upload function
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.apache.jetspeed.portlet.Portlet |
org.apache.jetspeed.portlet.Portlet.Mode, org.apache.jetspeed.portlet.Portlet.ModeModifier |
Method Summary |
void |
actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent event)
This method is called by container when a user sends a http request to server |
void |
doConfigure(org.apache.jetspeed.portlet.PortletRequest request,
org.apache.jetspeed.portlet.PortletResponse response)
This method is called by container when administrator clicks on the configure button on toolbar. |
void |
doHelp(org.apache.jetspeed.portlet.PortletRequest request,
org.apache.jetspeed.portlet.PortletResponse response)
Handles the Portlet help events |
void |
doView(org.apache.jetspeed.portlet.PortletRequest request,
org.apache.jetspeed.portlet.PortletResponse response)
This method is called by the container in view mode to display view to user |
void |
init(org.apache.jetspeed.portlet.PortletConfig portletConfig)
This method is called by container while doing initialisation. |
protected void |
setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest request)
This method sets the business function in session. |
Methods inherited from class com.ibm.ccd.ui.portlets.BasePortlet |
addTransaction, addTransaction, createCommand, createCommand, createContext, getMessageMap, getReqParamArray, getTextLabel, getTextMessages, getWPSContext, handleException |
Methods inherited from class org.apache.jetspeed.portlet.PortletAdapter |
destroy, destroyConcrete, doEdit, getLastModified, getPortletConfig, getPortletLog, getVariable, initConcrete, login, logout, removeVariable, service, setVariable |
Methods inherited from class org.apache.jetspeed.portlet.Portlet |
destroy, doGet, doPost, doPut, getId, getInitParameter, getInitParameterNames, getLastModified, getPortletSettings, getServletContext, getServletInfo, init, service |
Methods inherited from class com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet |
getSharingPolicy, service |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doTrace |
Methods inherited from class javax.servlet.GenericServlet |
getServletConfig, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUploadPortlet
public FileUploadPortlet()
init
public void init(org.apache.jetspeed.portlet.PortletConfig portletConfig)
throws org.apache.jetspeed.portlet.UnavailableException
- This method is called by container while doing initialisation.
- Overrides:
init
in class BasePortlet
- Parameters:
portletConfig
-
- Throws:
org.apache.jetspeed.portlet.UnavailableException
- See Also:
Portlet.init(PortletConfig)
doView
public void doView(org.apache.jetspeed.portlet.PortletRequest request,
org.apache.jetspeed.portlet.PortletResponse response)
throws org.apache.jetspeed.portlet.PortletException,
java.io.IOException
- This method is called by the container in view mode to display view to user
- Overrides:
doView
in class org.apache.jetspeed.portlet.PortletAdapter
- Parameters:
request
- response
-
- Throws:
PortletException,
- IOException
org.apache.jetspeed.portlet.PortletException
java.io.IOException
actionPerformed
public void actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent event)
throws org.apache.jetspeed.portlet.PortletException
- This method is called by container when a user sends a http request to server
- Specified by:
actionPerformed
in interface org.apache.jetspeed.portlet.event.ActionListener
- Parameters:
event
-
- Throws:
org.apache.jetspeed.portlet.PortletException
doConfigure
public void doConfigure(org.apache.jetspeed.portlet.PortletRequest request,
org.apache.jetspeed.portlet.PortletResponse response)
throws org.apache.jetspeed.portlet.PortletException,
java.io.IOException
- This method is called by container when administrator clicks on the configure button on toolbar.
- Overrides:
doConfigure
in class org.apache.jetspeed.portlet.PortletAdapter
- Parameters:
request
- , response
- Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException
doHelp
public void doHelp(org.apache.jetspeed.portlet.PortletRequest request,
org.apache.jetspeed.portlet.PortletResponse response)
throws org.apache.jetspeed.portlet.PortletException,
java.io.IOException
- Handles the Portlet help events
- Overrides:
doHelp
in class BasePortlet
- Parameters:
request
- response
-
- Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException
setBusinessFunction
protected void setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest request)
- This method sets the business function in session.
- Specified by:
setBusinessFunction
in class BasePortlet
- Parameters:
request
-