public interface BeanFacetTableRef extends BeanFacet
BeanElement.addFacetTableRef(com.onwbp.adaptation.AdaptationTable)
Modifier and Type | Method and Description |
---|---|
void |
setDisplay(Class<? extends TableRefDisplay> aDisplayClass)
Sets a programmatic custom display for presenting the selected foreign key in the current record
and the sorted list of possible keys.
|
void |
setDisplayPattern(String aPattern)
Sets a custom display pattern for presenting the selected foreign key in the current record
and the sorted list of possible keys.
|
void |
setDisplayPattern(UserMessage aPattern)
Sets a custom display pattern for presenting the selected foreign key in the current record
and the sorted list of possible keys.
|
void |
setFilter(Class<? extends TableRefFilter> aFilterClass)
Sets a programmatic filter.
|
void |
setFilterPredicate(String aPredicate)
Sets an XPath predicate filter.
|
void |
setFilterPredicate(String aPredicate,
Severity aSeverity,
String aMessage)
Sets an XPath predicate filter.
|
void |
setFilterPredicate(String aPredicate,
String aMessage)
Sets a XPath predicate filter.
|
void |
setFilterPredicate(String aPredicate,
UserMessage aValidationMessage)
Sets an XPath predicate filter.
|
void |
setTableView(String aPublicationName)
Sets the view to use when displaying the referenced table.
|
setMessage, setMessage, setMessage
void setDisplayPattern(String aPattern)
Sets a custom display pattern for presenting the selected foreign key in the current record and the sorted list of possible keys.
aPattern
- the pattern to be used for the display.void setDisplayPattern(UserMessage aPattern)
Sets a custom display pattern for presenting the selected foreign key in the current record and the sorted list of possible keys.
aPattern
- the pattern to be used for the display.void setDisplay(Class<? extends TableRefDisplay> aDisplayClass)
Sets a programmatic custom display for presenting the selected foreign key in the current record and the sorted list of possible keys.
aDisplayClass
- the display class. This class must implement the interface TableRefDisplay
.void setFilterPredicate(String aPredicate)
Sets an XPath predicate filter.
Default error message is used if the current value is not part of the list selected by the filter.
aPredicate
- the XPath predicate expression.void setFilterPredicate(String aPredicate, String aMessage)
Sets a XPath predicate filter.
aPredicate
- the XPath predicate expression.aMessage
- the error message that is used if the current value is not part of the list selected by the
filter.void setFilterPredicate(String aPredicate, Severity aSeverity, String aMessage)
Sets an XPath predicate filter.
aPredicate
- the XPath predicate expression.aSeverity
- the severity of the message that is used if the current value is not part of the list selected
by the filter.aMessage
- the message that is used if the current value is not part of the list selected by the filter.void setFilterPredicate(String aPredicate, UserMessage aValidationMessage)
Sets an XPath predicate filter.
aPredicate
- the XPath predicate expression.aValidationMessage
- the localized message and severity that is used if the current value is not part of the
list selected
by the filter.void setFilter(Class<? extends TableRefFilter> aFilterClass)
Sets a programmatic filter.
aFilterClass
- the filter class. This class must implement the interface TableRefFilter
.void setTableView(String aPublicationName)
aPublicationName
- the publication name of the table view.