|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.tc.webdynpro.progmodel.api.WDValueServices
Helper class to create some special value sets.
IWDOnDemandValueSetService,
IWDBoundValueSet| Inner Class Summary | |
static interface |
WDValueServices.IWDValueServices
Interface to the framework class doing the work. |
| Constructor Summary | |
WDValueServices()
|
|
| Method Summary | |
static void |
addOVSExtension(java.lang.String providerName,
IWDAttributeInfo[] startupAttributes,
com.sap.tc.cmi.model.ICMIQuery cmiQuery,
IWDOVSNotificationListener queryListener)
adds ovs extension to a valuenode/modelnode |
static void |
addOVSExtension(java.lang.String providerName,
IWDAttributeInfo[] startupAttributes,
IWDNode queryInputNode,
IWDNode queryResultNode,
IWDOVSContextNotificationListener queryListener)
adds ovs functionalities for the specified attributes. |
static IWDBoundValueSet |
createBoundValueSet(IWDAttributeInfo attrInfoSelectedKey,
IWDNode dataSource,
IWDAttributeInfo attrInfoKey,
IWDAttributeInfo attrInfoValue)
Create an IWDBoundValueSet. |
static IWDBoundValueSet |
createBoundValueSet(IWDAttributeInfo attrInfoSelectedKey,
IWDNode dataSource,
IWDAttributeInfo attrInfoKey,
IWDAttributeInfo attrInfoValue,
IWDBoundValueSet.IWDFilterListener selection)
Create an IWDBoundValueSet. |
static IWDOnDemandValueSetService |
createOnDemandValueSet(IWDValueSupplier theSupplier,
IWDAttributeInfo attrInfo)
Create an instance of IWDOnDemandValueSetService for context attributes using attrInfo as metadata. |
static void |
removeOVSExtension(java.lang.String providerName,
IWDAttributeInfo[] startupAttributes)
removes the ovs extension from the specified attributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WDValueServices()
| Method Detail |
public static IWDOnDemandValueSetService createOnDemandValueSet(IWDValueSupplier theSupplier,
IWDAttributeInfo attrInfo)
attrInfo as metadata. theSupplier is a
reference to an application provided interface. This implementation is in
charge of retrieving the valueset on demand. There is no guarantee about
the time the supplying methods of this interface are called. It is up to
the framework to call at any time.
IMPORTANT NOTE: This class creates a modifiable type for attrInfo
theSupplier - is a reference to the supplying applcation code filling the valueset on demandattrInfo - is the context attribute using this valueset on demand
public static IWDBoundValueSet createBoundValueSet(IWDAttributeInfo attrInfoSelectedKey,
IWDNode dataSource,
IWDAttributeInfo attrInfoKey,
IWDAttributeInfo attrInfoValue)
IMPORTANT NOTE: This class creates a modifiable type for attrInfoSelectedKey
attrInfoSelectedKey - selectedKey's attribute infodataSource - context node containing the valuesetattrInfoKey - attribute info of the element storing the key in dataSourceattrInfoValue - attribute info of the element storing the value in dataSource.isStaticValueSet - true if the valueset content does not change at runtime.IWDBoundValueSet
public static IWDBoundValueSet createBoundValueSet(IWDAttributeInfo attrInfoSelectedKey,
IWDNode dataSource,
IWDAttributeInfo attrInfoKey,
IWDAttributeInfo attrInfoValue,
IWDBoundValueSet.IWDFilterListener selection)
IMPORTANT NOTE: This class creates a modifiable type for attrInfoSelectedKey
attrInfoSelectedKey - selectedKey's attribute infodataSource - context node containing the valuesetattrInfoKey - attribute info of the element storing the key in dataSourceattrInfoValue - attribute info of the element storing the value in dataSource.listener - interface for custom filterIWDBoundValueSet
public static void addOVSExtension(java.lang.String providerName,
IWDAttributeInfo[] startupAttributes,
IWDNode queryInputNode,
IWDNode queryResultNode,
IWDOVSContextNotificationListener queryListener)
providerName - - the name of the service, it is possiblestartupAttributes - - the attributes, which will be marked as startup attributes / bound uielements will be shown with ovs buttonqueryInputNode - - the node for the query input structurequeryResultNode - - the node for the result structurequeryListener - - a listener which can be implemented, also null can be used. It receives the hooks for apply input values, query and apply result values.
public static void addOVSExtension(java.lang.String providerName,
IWDAttributeInfo[] startupAttributes,
com.sap.tc.cmi.model.ICMIQuery cmiQuery,
IWDOVSNotificationListener queryListener)
providerName - - the name of the servicestartupAttributes - - the attributes, which will be marked as startup attributes / bound uielements will be shown with ovs buttoncmiQuery - - the queryqueryListener - - a listener which can be implemented, also null can be used. It receives the hooks for apply input values, query and apply result values.
public static void removeOVSExtension(java.lang.String providerName,
IWDAttributeInfo[] startupAttributes)
providerName - - the name of the extension: if does not match, it is not removed.startupAttributes - - array of pointer to the attributes, where extension is removed.
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||