Package org.ametys.core.datasource
Interface DataSourceConsumer
- All Known Implementing Classes:
CollectionDataSourceConsumer,ConfigurationDataSourceConsumer,GroupDirectoriesDataSourceConsumer,PopulationDataSourceConsumer
public interface DataSourceConsumer
Interface for entities that use data sources
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe type of use of a data source -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the ids of the used data sourcesDetermines if a data source is used
-
Method Details
-
isInUse
Determines if a data source is used- Parameters:
id- The id of data source to check- Returns:
- true if the data source is currently in use
-
getUsedDataSourceIds
Retrieve the ids of the used data sources- Returns:
- the set of ids of the data source(s) used by this data source customer
-