com.ibm.ccd.portal
Class PortalItemHelper
java.lang.Object
com.ibm.ccd.portal.PortalItemHelper
- All Implemented Interfaces:
- WPCPortalItemHelper
public class PortalItemHelper
- extends java.lang.Object
- implements WPCPortalItemHelper
Method Summary |
void |
removeMultiOccurenceNodes(com.ibm.pim.catalog.item.Item item,
java.lang.String attrPath,
com.ibm.pim.attribute.AttributeDefinition specNode1,
java.util.HashMap infoMap)
Removes all the occurences of the multi occurence nodes |
java.lang.String |
setItemAttributes(java.lang.String nodePath,
com.ibm.pim.catalog.item.Item item,
java.util.HashMap reconstructedSpecs,
java.lang.String grpOccur,
java.util.HashMap infoMap)
It parses the values from the incoming message and sets the same in the given item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalItemHelper
public PortalItemHelper()
removeMultiOccurenceNodes
public void removeMultiOccurenceNodes(com.ibm.pim.catalog.item.Item item,
java.lang.String attrPath,
com.ibm.pim.attribute.AttributeDefinition specNode1,
java.util.HashMap infoMap)
throws com.ibm.pim.common.exceptions.PIMException,
com.ibm.pim.common.exceptions.PIMInternalException,
java.lang.IllegalArgumentException
- Description copied from interface:
WPCPortalItemHelper
- Removes all the occurences of the multi occurence nodes
- Specified by:
removeMultiOccurenceNodes
in interface WPCPortalItemHelper
attrPath
- the attribute of the item whose occurrences have to be removedinfoMap
- the hashmap containing the header information
- Throws:
com.ibm.pim.common.exceptions.PIMException
com.ibm.pim.common.exceptions.PIMInternalException
java.lang.IllegalArgumentException
setItemAttributes
public java.lang.String setItemAttributes(java.lang.String nodePath,
com.ibm.pim.catalog.item.Item item,
java.util.HashMap reconstructedSpecs,
java.lang.String grpOccur,
java.util.HashMap infoMap)
throws com.ibm.pim.common.exceptions.PIMException,
com.ibm.pim.common.exceptions.PIMInternalException,
java.lang.IllegalArgumentException
- Description copied from interface:
WPCPortalItemHelper
- It parses the values from the incoming message and sets the same in the given item.
- Specified by:
setItemAttributes
in interface WPCPortalItemHelper
- Parameters:
nodePath
- the node name which contains the attributesitem
- item whose values need to be setreconstructedSpecs
- the specs associated with the itemgrpOccur
- parameter that tells if the attribute is a grouping attributeinfoMap
- the hashmap containing the header information
- Throws:
com.ibm.pim.common.exceptions.PIMException
com.ibm.pim.common.exceptions.PIMInternalException
java.lang.IllegalArgumentException