com.ibm.ccd.portal
Class PortalXLSHelper
java.lang.Object
com.ibm.ccd.portal.PortalXLSHelper
- All Implemented Interfaces:
- WPCPortalXLSHelper
public class PortalXLSHelper
- extends java.lang.Object
- implements WPCPortalXLSHelper
Method Summary |
java.lang.String |
constructDownloadResponse(java.util.HashMap infoMap)
construct a xml document with the item information specified in the infoMap and then downloads the document
into the docstore. |
java.lang.String[] |
uploadXLSContent(java.lang.String strDocPath,
java.util.HashMap infoMap)
Takes docPath and fetches the document . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalXLSHelper
public PortalXLSHelper()
uploadXLSContent
public java.lang.String[] uploadXLSContent(java.lang.String strDocPath,
java.util.HashMap infoMap)
throws com.ibm.pim.common.exceptions.PIMException,
com.ibm.pim.common.exceptions.PIMInternalException,
java.lang.IllegalArgumentException
- Description copied from interface:
WPCPortalXLSHelper
- Takes docPath and fetches the document . Reads the item information from the
document and populates the item with the values read
- Specified by:
uploadXLSContent
in interface WPCPortalXLSHelper
- Parameters:
strDocPath
- path to fetch the documentinfoMap
- hashmap containing the header information
- Returns:
- the array containing the return message and code
- Throws:
com.ibm.pim.common.exceptions.PIMException
com.ibm.pim.common.exceptions.PIMInternalException
java.lang.IllegalArgumentException
constructDownloadResponse
public java.lang.String constructDownloadResponse(java.util.HashMap infoMap)
throws com.ibm.pim.common.exceptions.PIMException,
com.ibm.pim.common.exceptions.PIMInternalException,
java.lang.IllegalArgumentException
- Description copied from interface:
WPCPortalXLSHelper
- construct a xml document with the item information specified in the infoMap and then downloads the document
into the docstore.
- Specified by:
constructDownloadResponse
in interface WPCPortalXLSHelper
- Parameters:
infoMap
- hashmap containing the neccessary information.
- Returns:
- notification indicating the success or failure of the operation
- Throws:
com.ibm.pim.common.exceptions.PIMException
com.ibm.pim.common.exceptions.PIMInternalException
java.lang.IllegalArgumentException