Package org.adempiere.base
Interface IMappedColumnCalloutFactory
- All Known Implementing Classes:
MappedColumnCalloutFactory
public interface IMappedColumnCalloutFactory
Factory interface for mapping of tableName+columnName to
IColumnCallout implementation.- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMapping(String tableName, String columnName, Supplier<IColumnCallout> supplier) add mapping for calloutvoidremoveMapping(String tableName, String columnName, Supplier<IColumnCallout> supplier) remove mapping for calloutvoidscan, discover and register classes withCalloutannotation
-
Method Details
-
addMapping
add mapping for callout- Parameters:
tableName- case insensitive table name or * to match all tablecolumnName- case insensitive column name or * to match all columnsupplier- supplier forIColumnCalloutinstance
-
removeMapping
remove mapping for callout- Parameters:
tableName- case insensitive table name or * to match all tablecolumnName- case insensitive column name or * to match all columnsupplier- supplier forIColumnCalloutinstance
-
scan
scan, discover and register classes withCalloutannotation- Parameters:
context-packages-
-