ilog.cpl.datasource.css
Interface IlpAdapterCustomization

All Known Subinterfaces:
IlpAbstractTreeAdapterCustomization, IlpEquipmentAdapterCustomization, IlpHierarchyAdapterCustomization, IlpNetworkAdapterCustomization, IlpTableAdapterCustomization

public interface IlpAdapterCustomization

This interface externalizes the properties that can be configured with cascading style sheets for an IlpAbstractAdapter.

The adapter can be configured like this in a CSS file:

 Adapter {
   filter : @+myFilter;
 }

 Subobject#myFilter {
   class: "myFilterClass";
   /* Other Bean properties could be added here. */
 }
 

Since:
JViews 8.0

Method Summary
 String[] getExcludedClasses()
          Returns the list of business classes whose instances will not be considered by the adapter.
 IlpFilter getFilter()
          Returns the filter used to filter the business objects who will be represented in the component.
 

Method Detail

getFilter

IlpFilter getFilter()
Returns the filter used to filter the business objects who will be represented in the component.

Note: This property can be customized using CSS, as illustrated below:

 Adapter {
   filter: @+filterDef;
 }
 Subobject#filterDef {
   ...
 }
 

Returns:
Business object filter

getExcludedClasses

String[] getExcludedClasses()
Returns the list of business classes whose instances will not be considered by the adapter.

Note:This property can be customized using CSS, as illustrated below:

 Adapter {
   excludedClasses: "business class A, business class B";
 }
 
or
 Adapter {
   excludedClasses[0]: "mypackage.myclass1";
   excludedClasses[1]: "mypackage.myclass2";
 }
 

To represent all classes:

 Adapter {
   excludedClasses: '';
 }
 

Returns:
List of excluded classes.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.