com.ibm.ccd.ui.portlets.catalog.util
Class ItemCatalogUtilPortlet
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.catalog.ItemCatalogPortlet
com.ibm.ccd.ui.portlets.catalog.util.ItemCatalogUtilPortlet
- All Implemented Interfaces:
- ICatalogAction, 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.event.MessageListener, org.apache.jetspeed.portlet.PortletSessionListener
public class ItemCatalogUtilPortlet
- extends ItemCatalogPortlet
- implements ICatalogAction
A sample portlet based on PortletAdapter
- 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 |
Fields inherited from interface com.ibm.ccd.ui.portlets.catalog.ICatalogAction |
ACTION_COMMAND, ACTIVE_TAB, CANCEL, CATALOG, CATALOG_CONFIG, CATALOG_CONFIG_CLEAR_VIEW, CATALOG_CONFIG_SUBMIT, CATALOG_TREE, CATALOG_VIEW, CATALOG_VIEW_LIST, CATALOG_VIEW_NAME, CATALOG_VIEW_NAMES, CATALOGID, CATEGORY, CATEGORY_HIERARCHY, CLONE, COMMAND, COMMAND_PREV, CREATE, DELETE, EXPAND_COMMAND, HIER_NAME, HIER_TYPE, ITEM, ITEMCATALOGPORTLET, ITEMID, JSP2RENDER, MESSAGEPAGE, OK, PARENTID, PRINT, REFRESH, RETURN_URL, SEARCH, SEARCH_VIEW_MODE, SELECT_COMMAND, STEPNAME, SWITCH_TAB, SWITCH_TAB_NO_SUBMIT, UNASSIGNED, UPDATE, VIEW, WORKFLOW, WORKFLOWNAME, WORKWITHITEMPORTLET |
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 |
ItemCatalogUtilPortlet
public ItemCatalogUtilPortlet()
init
public void init(org.apache.jetspeed.portlet.PortletConfig portletConfig)
throws org.apache.jetspeed.portlet.UnavailableException,
java.lang.NullPointerException
- Overrides:
init
in class ItemCatalogPortlet
- Throws:
org.apache.jetspeed.portlet.UnavailableException
java.lang.NullPointerException
- 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
- Overrides:
doView
in class ItemCatalogPortlet
- Parameters:
request
- is PortletRequestresponse
- is PortletResponse
- Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException
- See Also:
PortletAdapter.doView(PortletRequest,
PortletResponse)
getCatalogs
protected void getCatalogs(org.apache.jetspeed.portlet.PortletRequest request)
- Overrides:
getCatalogs
in class ItemCatalogPortlet
actionPerformed
public void actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent event)
throws org.apache.jetspeed.portlet.PortletException
- Specified by:
actionPerformed
in interface org.apache.jetspeed.portlet.event.ActionListener
- Overrides:
actionPerformed
in class ItemCatalogPortlet
- Throws:
org.apache.jetspeed.portlet.PortletException
- See Also:
ActionListener.actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent)
displayExpandedNode
protected void displayExpandedNode(org.apache.jetspeed.portlet.PortletRequest request,
ItemNodeCatalog node)
- Description copied from class:
ItemCatalogPortlet
- receives the children of this node and displays under this node
- Overrides:
displayExpandedNode
in class ItemCatalogPortlet
getSelecteItemCatalogId
protected java.lang.String getSelecteItemCatalogId(ItemCatalogForm catalogForm)
- Overrides:
getSelecteItemCatalogId
in class ItemCatalogPortlet
getSelectedCategoryParentId
protected java.lang.String getSelectedCategoryParentId(ItemCatalogForm catalogForm)
- Overrides:
getSelectedCategoryParentId
in class ItemCatalogPortlet
getSelectedItemParentId
protected java.lang.String getSelectedItemParentId(ItemCatalogForm catalogForm)
- Overrides:
getSelectedItemParentId
in class ItemCatalogPortlet
getItemID
protected java.lang.String getItemID(java.lang.String path)
- Overrides:
getItemID
in class ItemCatalogPortlet