com.sapportals.wcm.service.propertyconfig

Interface IPropertyRendererProxy

All Known Implementing Classes:
PropertiesControl

public interface IPropertyRendererProxy


Field Summary
static String DEPENDENCE_EVENT
           
static String DISPATCH_EVENT
           
 
Method Summary
 ArrayList decodeValues(com.sapportals.htmlb.event.Event event)
          Returns the values created via the dispatchableControlIDWithValues or dispatchableControlID methods and returns the list of parameters in the same order they were when submitting them.
 String dispatchableControlID(String value)
          Adds a string to the given parameter to ensure a unique id within a DynPage under certain conditions:
the idpart given is unique within this proxy.
 String dispatchableControlIDWithValues(ArrayList values)
          Create an id that contains dispatch information.
 String getUniqueComponentId(IMetaName metaName, String key)
           
 

Field Detail

DISPATCH_EVENT

static final String DISPATCH_EVENT
See Also:
Constant Field Values

DEPENDENCE_EVENT

static final String DEPENDENCE_EVENT
See Also:
Constant Field Values
Method Detail

getUniqueComponentId

String getUniqueComponentId(IMetaName metaName,
                            String key)

dispatchableControlIDWithValues

String dispatchableControlIDWithValues(ArrayList values)
                                       throws WcmException
Create an id that contains dispatch information.

Parameters:
values - A string array parameter that could be read inside the event handler with decodeValues() (might be null)
Returns:
String The dispatchableControlID, created by a control.
Throws:
WcmException - Exception raised in failure situation
<{WcmException}>

dispatchableControlID

String dispatchableControlID(String value)
                             throws WcmException
Adds a string to the given parameter to ensure a unique id within a DynPage under certain conditions:
the idpart given is unique within this proxy. This means, that no two elements that are rendered by any classes that are again rendered within this proxy must call this method with the same parameter. If several proxies are rendered within one DynPage, the page itself must ensure that the proxies are configured to create different strings to add to the given parameters. So, if Class A, rendered within proxy B calls this method, submitting String S1, the resulting String Unique1 must be different from the String Unique2, that is created when Class A, rendered within proxy C calls this method, submitting String S1

Parameters:
value - must not be null.
Returns:
a String
Throws:
WcmException

decodeValues

ArrayList decodeValues(com.sapportals.htmlb.event.Event event)
                       throws WcmException
Returns the values created via the dispatchableControlIDWithValues or dispatchableControlID methods and returns the list of parameters in the same order they were when submitting them. There will be no en- or decoding done to take care of special characters. If the dispatchableControlID(String, String) method is used, a List with only one entry will be returned.

Parameters:
event - The event that contains the encoded values.
Returns:
String (cardinality = 1)
Throws:
WcmException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice