com.ibm.interfaces.portal
Interface WPCPortalXLSHelper

All Known Implementing Classes:
PortalXLSHelper

public interface 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 .
 

Method Detail

uploadXLSContent

java.lang.String[] uploadXLSContent(java.lang.String strDocPath,
                                    java.util.HashMap infoMap)
                                    throws com.ibm.pim.common.exceptions.PIMException
Takes docPath and fetches the document . Reads the item information from the document and populates the item with the values read

Parameters:
strDocPath - path to fetch the document
infoMap - 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

java.lang.String constructDownloadResponse(java.util.HashMap infoMap)
                                           throws com.ibm.pim.common.exceptions.PIMException
construct a xml document with the item information specified in the infoMap and then downloads the document into the docstore.

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