org.broadleafcommerce.openadmin.client.datasource
Class ForeignKeyLookupDataSourceFactory
java.lang.Object
org.broadleafcommerce.openadmin.client.datasource.ForeignKeyLookupDataSourceFactory
- All Implemented Interfaces:
- DataSourceFactory
public class ForeignKeyLookupDataSourceFactory
- extends Object
- implements DataSourceFactory
This factory is responsible for generating a datasource from a ForeignKey instance. It is primarily
used to generate the datasource that drives the search grid for ManyToOne and OneToOne lookups.
- Author:
- Jeff Fischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForeignKeyLookupDataSourceFactory
public ForeignKeyLookupDataSourceFactory(ForeignKey foreignKey,
String[] customCriteria,
Boolean useServerSideInspectionCache)
createDataSource
public void createDataSource(String name,
OperationTypes operationTypes,
Object[] additionalItems,
com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb)
- Specified by:
createDataSource in interface DataSourceFactory
Copyright © 2013. All Rights Reserved.