com.sapportals.wcm.rendering.collection

Class CollectionRendererUtil

java.lang.Object
  extended bycom.sapportals.wcm.rendering.collection.CollectionRendererUtil

public class CollectionRendererUtil
extends Object

Since:
EP5 SP6 and EP6 SP1

Field Summary
static String COLLECTION_COMPONENT
           
static String DEFAULT_COMPONENT_LIST
           
 
Constructor Summary
CollectionRendererUtil()
           
 
Method Summary
static Component renderBackground(ICollectionRenderer collRenderer, Component comp)
          Renders the background image for a given collection renderer From collection renderer, it reads the BackgroundImagePath and BackgroundImageStyle parameters If the BackgroundImagePath is null or invalid the it returns the given component
static Component renderDecorations(ICollectionRenderer collRenderer, IProxy proxy, Component comp, Map componentValueMap)
           
static Component renderDecorations(ICollectionRenderer collRenderer, IProxy proxy, Component comp, Map componentValueMap, IResource resource)
           
static Component renderDecorationsOld(ICollectionRenderer collRenderer, IProxy proxy, Component comp, Map componentValueMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_COMPONENT_LIST

public static final String DEFAULT_COMPONENT_LIST
See Also:
Constant Field Values

COLLECTION_COMPONENT

public static final String COLLECTION_COMPONENT
See Also:
Constant Field Values
Constructor Detail

CollectionRendererUtil

public CollectionRendererUtil()
Method Detail

renderBackground

public static Component renderBackground(ICollectionRenderer collRenderer,
                                         Component comp)
Renders the background image for a given collection renderer From collection renderer, it reads the BackgroundImagePath and BackgroundImageStyle parameters If the BackgroundImagePath is null or invalid the it returns the given component

Parameters:
collRenderer -
comp -
Returns:
The resulted component
Since:
EP5 SP6 and EP6 SP1

renderDecorations

public static Component renderDecorations(ICollectionRenderer collRenderer,
                                          IProxy proxy,
                                          Component comp,
                                          Map componentValueMap,
                                          IResource resource)
                                   throws WcmException
Throws:
WcmException

renderDecorations

public static Component renderDecorations(ICollectionRenderer collRenderer,
                                          IProxy proxy,
                                          Component comp,
                                          Map componentValueMap)
                                   throws WcmException
Throws:
WcmException

renderDecorationsOld

public static Component renderDecorationsOld(ICollectionRenderer collRenderer,
                                             IProxy proxy,
                                             Component comp,
                                             Map componentValueMap)
                                      throws WcmException
Throws:
WcmException


Copyright 2006 SAP AG Complete Copyright Notice