com.ibm.ccd.portal
Class PortalUserHelper

java.lang.Object
  extended by com.ibm.ccd.portal.PortalUserHelper
All Implemented Interfaces:
WPCPortalUserHelper

public class PortalUserHelper
extends java.lang.Object
implements WPCPortalUserHelper


Constructor Summary
PortalUserHelper()
           
 
Method Summary
 java.lang.String constructResponseForRoleList4User(java.util.HashMap infoMap)
          Builds xml representation for all the roles for the currrent user
 java.lang.String constructResponseForUserList(java.util.HashMap infoMap)
          Builds xml representation of all the users of the current user company.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalUserHelper

public PortalUserHelper()
Method Detail

constructResponseForUserList

public java.lang.String constructResponseForUserList(java.util.HashMap infoMap)
                                              throws com.ibm.pim.common.exceptions.PIMException,
                                                     com.ibm.pim.common.exceptions.PIMInternalException
Description copied from interface: WPCPortalUserHelper
Builds xml representation of all the users of the current user company.

Specified by:
constructResponseForUserList in interface WPCPortalUserHelper
Parameters:
infoMap - A hashMap containing the header informationl
Returns:
A xml representation containing the names of all the users of the current user company
Throws:
com.ibm.pim.common.exceptions.PIMException
com.ibm.pim.common.exceptions.PIMInternalException

constructResponseForRoleList4User

public java.lang.String constructResponseForRoleList4User(java.util.HashMap infoMap)
                                                   throws com.ibm.pim.common.exceptions.PIMException,
                                                          com.ibm.pim.common.exceptions.PIMInternalException
Description copied from interface: WPCPortalUserHelper
Builds xml representation for all the roles for the currrent user

Specified by:
constructResponseForRoleList4User in interface WPCPortalUserHelper
Parameters:
infoMap - A map containing the header information.
Returns:
A xml representation of all the roles for the current user
Throws:
com.ibm.pim.common.exceptions.PIMException
com.ibm.pim.common.exceptions.PIMInternalException