public abstract class AbstractDataSource extends Object implements DataSource
| Constructor and Description |
|---|
AbstractDataSource() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize()
Returns the BatchSize
|
Collection<DataObject> |
getDataObjects()
A collection of object to create
|
List<DataObject> |
getDataObjects(List<String> idList)
Get the full data objects from given list of ids
|
Iterator<DataObject> |
getDataObjectsIterator()
An iterator of data object
|
Collection<IDataSourceExternalAttributesProvider> |
getExternalAttributesProvider()
Get the external providers of attributes for DataSources
|
String |
getId()
Returns the Id
|
List<String> |
getIdDataObjects()
Get the business id of all the data objects to fetch
|
String |
getMappings()
Returns the Mappings
|
String |
getName()
Returns the Name
|
String |
getTargetIndexName()
Returns the TargetIndexName
|
boolean |
isLocalizable()
Returns the Localizable
|
void |
removeDataObjects()
Remove the data objects of the data source
|
void |
setBatchSize(int nBatchSize)
Sets the BatchSize
|
void |
setExternalAttributesProvider(Collection<IDataSourceExternalAttributesProvider> colExternalAttributesProvider)
Set the external attributes provider for the data source
|
void |
setFullIndexingDaemon(boolean bFullIndexingDaemon)
Sets the FullIndexingDaemon
|
void |
setId(String strId)
Sets the Id
|
void |
setLocalizable(boolean bLocalizable)
Sets the Localizable
|
void |
setMappings(String strMappings)
Sets the Mappings
|
void |
setName(String strName)
Sets the Name
|
void |
setTargetIndexName(String strTargetIndexName)
Sets the TargetIndexName
|
boolean |
usesFullIndexingDaemon()
Returns the FullIndexingDaemon
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetchDataObjectspublic String getId()
getId in interface DataSourcepublic void setId(String strId)
strId - The Idpublic String getName()
getName in interface DataSourcepublic void setName(String strName)
strName - The Namepublic String getTargetIndexName()
getTargetIndexName in interface DataSourcepublic void setTargetIndexName(String strTargetIndexName)
strTargetIndexName - The TargetIndexNamepublic int getBatchSize()
getBatchSize in interface DataSourcepublic void setBatchSize(int nBatchSize)
nBatchSize - The BatchSizepublic boolean isLocalizable()
isLocalizable in interface DataSourcepublic void setLocalizable(boolean bLocalizable)
bLocalizable - The Localizablepublic String getMappings()
getMappings in interface DataSourcepublic void setMappings(String strMappings)
strMappings - The Mappingspublic boolean usesFullIndexingDaemon()
usesFullIndexingDaemon in interface DataSourcepublic void setFullIndexingDaemon(boolean bFullIndexingDaemon)
bFullIndexingDaemon - The FullIndexingDaemonpublic Iterator<DataObject> getDataObjectsIterator()
getDataObjectsIterator in interface DataSourcepublic Collection<DataObject> getDataObjects()
getDataObjects in interface DataSourcepublic List<String> getIdDataObjects()
getIdDataObjects in interface DataSourcepublic List<DataObject> getDataObjects(List<String> idList)
getDataObjects in interface DataSourcepublic void removeDataObjects()
removeDataObjects in interface DataSourcepublic Collection<IDataSourceExternalAttributesProvider> getExternalAttributesProvider()
getExternalAttributesProvider in interface DataSourcepublic void setExternalAttributesProvider(Collection<IDataSourceExternalAttributesProvider> colExternalAttributesProvider)
colExternalAttributesProvider - Copyright © 2021 City of Paris. All rights reserved.