org.broadleafcommerce.openadmin.client.datasource
Class ForeignKeyLookupDataSourceFactory

java.lang.Object
  extended by 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

Constructor Summary
ForeignKeyLookupDataSourceFactory(ForeignKey foreignKey)
           
 
Method Summary
 void createDataSource(String name, OperationTypes operationTypes, Object[] additionalItems, com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKeyLookupDataSourceFactory

public ForeignKeyLookupDataSourceFactory(ForeignKey foreignKey)
Method Detail

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 © 2012. All Rights Reserved.