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. |
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 removedspecNode1
- 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 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