|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.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.massupdate.MassUpdatePortlet
public class MassUpdatePortlet
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.jetspeed.portlet.Portlet |
---|
org.apache.jetspeed.portlet.Portlet.Mode, org.apache.jetspeed.portlet.Portlet.ModeModifier |
Field Summary |
---|
Fields inherited from class com.ibm.ccd.ui.portlets.BasePortlet |
---|
alertDataSource, log |
Constructor Summary | |
---|---|
MassUpdatePortlet()
|
Method Summary | |
---|---|
void |
actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent event)
Handles all action events |
void |
deleteSelectedItems(org.apache.jetspeed.portlet.PortletRequest request,
MassUpdateBean massUpdateBean)
Method used for deleting selected Items.It deletes all the checked Items in Mass Edit Portlet |
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 |
doEdit(org.apache.jetspeed.portlet.PortletRequest request,
org.apache.jetspeed.portlet.PortletResponse response)
Handles the Edit mode event |
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 |
boolean |
getEditableAttribute(Attribute attribute)
Method decides which attributes are editable in bulk edit screen |
void |
init(org.apache.jetspeed.portlet.PortletConfig portletConfig)
This method is called by container while doing initialisation. |
protected java.util.List |
orderAttributes(java.util.List itemAttrList,
int selectedAttributeSize)
Ordrs the list according to user selection |
protected void |
setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest request)
Set th business function |
void |
updateSelectedItems(org.apache.jetspeed.portlet.PortletRequest request,
MassUpdateBean massUpdateBean)
Method saves all changes done by all the displayed attributes of Item. |
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, 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 |
Constructor Detail |
---|
public MassUpdatePortlet()
Method Detail |
---|
protected void setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest request)
setBusinessFunction
in class BasePortlet
public void init(org.apache.jetspeed.portlet.PortletConfig portletConfig) throws org.apache.jetspeed.portlet.UnavailableException
init
in class BasePortlet
portletConfig
-
org.apache.jetspeed.portlet.UnavailableException
Portlet.init(PortletConfig)
public void doView(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response) throws org.apache.jetspeed.portlet.PortletException, java.io.IOException
doView
in class org.apache.jetspeed.portlet.PortletAdapter
request
- response
-
PortletException,
- IOException
org.apache.jetspeed.portlet.PortletException
java.io.IOException
public boolean getEditableAttribute(Attribute attribute)
attribute
-
public void doEdit(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response) throws org.apache.jetspeed.portlet.PortletException, java.io.IOException
doEdit
in class org.apache.jetspeed.portlet.PortletAdapter
org.apache.jetspeed.portlet.PortletException
java.io.IOException
public void doHelp(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response) throws org.apache.jetspeed.portlet.PortletException, java.io.IOException
doHelp
in class BasePortlet
request
- response
-
org.apache.jetspeed.portlet.PortletException
java.io.IOException
public void doConfigure(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response) throws org.apache.jetspeed.portlet.PortletException, java.io.IOException
doConfigure
in class org.apache.jetspeed.portlet.PortletAdapter
request
- , response
org.apache.jetspeed.portlet.PortletException
java.io.IOException
public void actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent event) throws org.apache.jetspeed.portlet.PortletException
actionPerformed
in interface org.apache.jetspeed.portlet.event.ActionListener
org.apache.jetspeed.portlet.PortletException
public void updateSelectedItems(org.apache.jetspeed.portlet.PortletRequest request, MassUpdateBean massUpdateBean) throws java.lang.Exception
request
- massUpdateBean
-
java.lang.Exception
public void deleteSelectedItems(org.apache.jetspeed.portlet.PortletRequest request, MassUpdateBean massUpdateBean) throws java.lang.Exception
request
- massUpdateBean
-
java.lang.Exception
protected java.util.List orderAttributes(java.util.List itemAttrList, int selectedAttributeSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |