Package org.daisy.dotify.api.table
Interface TableCatalogService
-
- All Known Implementing Classes:
TableCatalog
public interface TableCatalogService
Provides an interface for a TableCatalog service. The purpose of this interface is to expose an implementation of a TableCatalog as an OSGi service.
To comply with this interface, an implementation must be thread safe and address both the possibility that only a single instance is created and used throughout and that new instances are created as desired.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<FactoryProperties>
list()
Lists the tablesCollection<FactoryProperties>
list(TableFilter filter)
Lists the tables that matches the specified filterTable
newTable(String identifier)
Creates a new table with the specified identifier.
-
-
-
Method Detail
-
newTable
Table newTable(String identifier)
Creates a new table with the specified identifier.- Parameters:
identifier
- the identifier- Returns:
- returns a new table
-
list
Collection<FactoryProperties> list()
Lists the tables- Returns:
- returns a collection of table properties
-
list
Collection<FactoryProperties> list(TableFilter filter)
Lists the tables that matches the specified filter- Parameters:
filter
- the filter- Returns:
- returns a collection fo table properties
-
-