org.broadleafcommerce.openadmin.client.datasource
Class AdvancedCollectionDataSourceFactory
java.lang.Object
org.broadleafcommerce.openadmin.client.datasource.AdvancedCollectionDataSourceFactory
- All Implemented Interfaces:
- DataSourceFactory
public class AdvancedCollectionDataSourceFactory
- extends Object
- implements DataSourceFactory
This factory is responsible for generating a datasource from CollectionMetadata.
The config information is derived from @AdminPresentationCollection, @AdminPresentationAdornedTargetCollection,
and @AdminPresentationMap annotations that inform collections and maps in the
JPA domain.
- Author:
- Jeff Fischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdvancedCollectionDataSourceFactory
public AdvancedCollectionDataSourceFactory(CollectionMetadata collectionMetadata,
DynamicEntityPresenter presenter)
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.