public interface DataProviderManager
Modifier and Type | Method and Description |
---|---|
DataProvider |
createDataProvider()
Factory method for the creation of a DataProvider brand new instance.
|
Set<DataProvider> |
getAllDataProviders()
Get all the data providers instances created.
|
DataProvider |
getDataProviderByCode(String code)
Get a persistent provider by its universal code.
|
DataProvider |
getDataProviderById(Long id)
Get a persistent provider by its identifier.
|
DataProviderType[] |
getDataProviderTypes()
Get installed data providers.
|
DataProviderType |
getProviderTypeByUid(String uid)
Get a provider type by its UID.
|
void |
removeDataProvider(DataProvider dataProvider)
Remove data provider
|
void |
sortDataPropertiesByName(List<DataProperty> propList,
boolean ascending)
Sort a list of properties by name.
|
void |
sortDataProvidersByDescription(List<DataProvider> propList,
boolean ascending)
Sort a list of data provider by description.
|
DataProviderType[] getDataProviderTypes()
DataProviderType getProviderTypeByUid(String uid)
DataProvider createDataProvider()
Set<DataProvider> getAllDataProviders() throws Exception
Exception
DataProvider getDataProviderById(Long id) throws Exception
Exception
DataProvider getDataProviderByCode(String code) throws Exception
Exception
void removeDataProvider(DataProvider dataProvider) throws Exception
Exception
void sortDataProvidersByDescription(List<DataProvider> propList, boolean ascending)
void sortDataPropertiesByName(List<DataProperty> propList, boolean ascending)
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.