com.ibm.interfaces.portal
Interface WPCPortalItemHelper

All Known Implementing Classes:
PortalItemHelper

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

Method Detail

removeMultiOccurenceNodes

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
Removes all the occurences of the multi occurence nodes

Parameters:
item -
attrPath - the attribute of the item whose occurrences have to be removed
specNode1 -
infoMap - the hashmap containing the header information
Throws:
com.ibm.pim.common.exceptions.PIMException
com.ibm.pim.common.exceptions.PIMInternalException
java.lang.IllegalArgumentException

setItemAttributes

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
It parses the values from the incoming message and sets the same in the given item.

Parameters:
nodePath - the node name which contains the attributes
item - item whose values need to be set
reconstructedSpecs - the specs associated with the item
grpOccur - parameter that tells if the attribute is a grouping attribute
infoMap - the hashmap containing the header information
Throws:
com.ibm.pim.common.exceptions.PIMException
com.ibm.pim.common.exceptions.PIMInternalException
java.lang.IllegalArgumentException