com.ibm.ccd.ui.portlets.user
Class UserApprovalPortlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet
              extended by org.apache.jetspeed.portlet.Portlet
                  extended by org.apache.jetspeed.portlet.PortletAdapter
                      extended by com.ibm.ccd.ui.portlets.BasePortlet
                          extended by com.ibm.ccd.ui.portlets.user.UserApprovalPortlet
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 UserApprovalPortlet
extends BasePortlet
implements org.apache.jetspeed.portlet.event.ActionListener

LdapNavigationPortlet is used for Directory Server Navigation.

See Also:
Serialized Form

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
static java.lang.String APPROVE_USER
          Parameter name for User(s) Approve button
static java.lang.String LDAP_CONFIG_ERROR
          Parameter name for Ldap not configured
static java.lang.String LDAP_CONFIG_INFO
          Parameter name for Ldap Configuration Info
static java.lang.String LDAP_CONFIGURED
          Parameter name for Ldap not Configured Info
static java.lang.String LDAP_NOT_CONFIGURED
          Parameter name for Ldap not Configured Info
static java.lang.String LDAP_USER_LIST
          Parameter name for Ldap not Configured Info
static java.lang.String LDAP_WEB_TOOL_URL
          Parameter name for IBM Tivoli Directory Server Web Admin tool
static java.lang.String USER_APPROVAL
          Parameter name for Business function attribute
static java.lang.String VIEW_BEAN
          Bean name for the view mode request
static java.lang.String VIEW_JSP
          JSP file name to be rendered on the view mode
 
Fields inherited from class com.ibm.ccd.ui.portlets.BasePortlet
alertDataSource, log
 
Constructor Summary
UserApprovalPortlet()
           
 
Method Summary
 void actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent event)
           
 void approveSelectedUsers(org.apache.jetspeed.portlet.PortletRequest request)
          approveSelectedUsers: Does the Approval and Disapproval of User(s)
 void doView(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
           
 void init(org.apache.jetspeed.portlet.PortletConfig portletConfig)
           
 void initConcrete(org.apache.jetspeed.portlet.PortletSettings arg)
           
protected  void setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest portletRequest)
          setBusinessFunction: All Portlets should override this method to set the business function in session variable() (SESSION_BUS_FUNCT)
 
Methods inherited from class com.ibm.ccd.ui.portlets.BasePortlet
addTransaction, addTransaction, createCommand, createCommand, createContext, doHelp, getMessageMap, getReqParamArray, getTextLabel, getTextMessages, getWPSContext, handleException
 
Methods inherited from class org.apache.jetspeed.portlet.PortletAdapter
destroy, destroyConcrete, doConfigure, doEdit, getLastModified, getPortletConfig, getPortletLog, getVariable, 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
 

Field Detail

VIEW_JSP

public static final java.lang.String VIEW_JSP
JSP file name to be rendered on the view mode

See Also:
Constant Field Values

VIEW_BEAN

public static final java.lang.String VIEW_BEAN
Bean name for the view mode request

See Also:
Constant Field Values

USER_APPROVAL

public static final java.lang.String USER_APPROVAL
Parameter name for Business function attribute

See Also:
Constant Field Values

LDAP_WEB_TOOL_URL

public static java.lang.String LDAP_WEB_TOOL_URL
Parameter name for IBM Tivoli Directory Server Web Admin tool


LDAP_CONFIG_ERROR

public static final java.lang.String LDAP_CONFIG_ERROR
Parameter name for Ldap not configured

See Also:
Constant Field Values

LDAP_CONFIG_INFO

public static final java.lang.String LDAP_CONFIG_INFO
Parameter name for Ldap Configuration Info

See Also:
Constant Field Values

LDAP_NOT_CONFIGURED

public static final java.lang.String LDAP_NOT_CONFIGURED
Parameter name for Ldap not Configured Info

See Also:
Constant Field Values

LDAP_CONFIGURED

public static final java.lang.String LDAP_CONFIGURED
Parameter name for Ldap not Configured Info

See Also:
Constant Field Values

LDAP_USER_LIST

public static final java.lang.String LDAP_USER_LIST
Parameter name for Ldap not Configured Info

See Also:
Constant Field Values

APPROVE_USER

public static final java.lang.String APPROVE_USER
Parameter name for User(s) Approve button

See Also:
Constant Field Values
Constructor Detail

UserApprovalPortlet

public UserApprovalPortlet()
Method Detail

init

public void init(org.apache.jetspeed.portlet.PortletConfig portletConfig)
          throws org.apache.jetspeed.portlet.UnavailableException
Overrides:
init in class BasePortlet
Throws:
org.apache.jetspeed.portlet.UnavailableException
See Also:
Portlet.init(PortletConfig)

initConcrete

public void initConcrete(org.apache.jetspeed.portlet.PortletSettings arg)
                  throws org.apache.jetspeed.portlet.UnavailableException
Overrides:
initConcrete in class org.apache.jetspeed.portlet.PortletAdapter
Throws:
org.apache.jetspeed.portlet.UnavailableException
See Also:
Portlet.init(PortletConfig)

setBusinessFunction

protected void setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest portletRequest)
Description copied from class: BasePortlet
setBusinessFunction: All Portlets should override this method to set the business function in session variable() (SESSION_BUS_FUNCT)

Specified by:
setBusinessFunction in class BasePortlet
See Also:
BasePortlet.setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest)

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 org.apache.jetspeed.portlet.PortletAdapter
Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException
See Also:
PortletAdapter.doView(PortletRequest, PortletResponse)

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
Throws:
org.apache.jetspeed.portlet.PortletException
See Also:
ActionListener.actionPerformed(ActionEvent)

approveSelectedUsers

public void approveSelectedUsers(org.apache.jetspeed.portlet.PortletRequest request)
                          throws java.lang.Exception
approveSelectedUsers: Does the Approval and Disapproval of User(s)

Parameters:
request -
Throws:
java.lang.Exception