com.ibm.ccd.portal
Class PortalViewHelper

java.lang.Object
  extended by com.ibm.ccd.portal.PortalViewHelper
All Implemented Interfaces:
WPCPortalViewHelper

public class PortalViewHelper
extends java.lang.Object
implements WPCPortalViewHelper


Constructor Summary
PortalViewHelper()
           
 
Method Summary
 java.lang.String getCtgTabsXML(com.ibm.pim.view.View ctgView)
          get an array of tabbed views for the catalog.
 java.lang.String getSpecAttributeXMLPart(java.util.HashMap hmSpecToAttrMap)
          for each element in the map build the xml containing the spec name and the attribute name
 java.lang.String getSpecNameForAttr(java.lang.String attrPath)
          Get the spec name for the attribute
 java.lang.String getViewAttributesXML(com.ibm.pim.view.View ctgView)
          gets an array of attributeCollection with all the details
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalViewHelper

public PortalViewHelper()
Method Detail

getSpecNameForAttr

public java.lang.String getSpecNameForAttr(java.lang.String attrPath)
Description copied from interface: WPCPortalViewHelper
Get the spec name for the attribute

Specified by:
getSpecNameForAttr in interface WPCPortalViewHelper
Returns:
specName

getCtgTabsXML

public java.lang.String getCtgTabsXML(com.ibm.pim.view.View ctgView)
                               throws com.ibm.pim.common.exceptions.PIMInternalException,
                                      java.lang.IllegalArgumentException
Description copied from interface: WPCPortalViewHelper
get an array of tabbed views for the catalog.

Specified by:
getCtgTabsXML in interface WPCPortalViewHelper
Returns:
xml representation specifying the views
Throws:
com.ibm.pim.common.exceptions.PIMInternalException
java.lang.IllegalArgumentException

getSpecAttributeXMLPart

public java.lang.String getSpecAttributeXMLPart(java.util.HashMap hmSpecToAttrMap)
for each element in the map build the xml containing the spec name and the attribute name

Specified by:
getSpecAttributeXMLPart in interface WPCPortalViewHelper
Parameters:
hmSpecToAttrMap - object

getViewAttributesXML

public java.lang.String getViewAttributesXML(com.ibm.pim.view.View ctgView)
Description copied from interface: WPCPortalViewHelper
gets an array of attributeCollection with all the details

Specified by:
getViewAttributesXML in interface WPCPortalViewHelper
Returns:
string