public interface TableRefFilterContext extends DependenciesDefinitionContext
TableRefFilter
in the context of its data model.SchemaFacetTableRef
Modifier and Type | Method and Description |
---|---|
void |
addFilterErrorMessage(String anErrorMessage)
Adds a static non-localized error message to this
filter.
|
void |
addFilterErrorMessage(String anErrorMessage,
Locale aLocale)
Adds a static localized error message to this filter.
|
void |
setFilterForSearch(String anXPathPredicate)
Specifies an XPath filter that will be applied in the user
interface to perform a search on the associated
foreign key field.
|
void |
setFilterValidationMessage(UserMessageLocalized aUserMessage)
Sets a static validation message on this filter.
|
addDependencyToInsertAndDelete, addDependencyToInsertAndDeleteInOtherInstance, addDependencyToInsertAndDeleteInOtherInstance, addDependencyToInsertDeleteAndModify, addDependencyToInsertDeleteAndModifyInOtherInstance, addDependencyToInsertDeleteAndModifyInOtherInstance, addDependencyToModify
addError, addError, addInfo, addMessage, addWarning, getSchemaNode
void addFilterErrorMessage(String anErrorMessage, Locale aLocale)
IllegalStateException
- if a validation message has already been set
using the method setFilterValidationMessage(UserMessageLocalized)
.addFilterErrorMessage(String)
void addFilterErrorMessage(String anErrorMessage)
IllegalStateException
- if a validation message has already been set
using the method setFilterValidationMessage(UserMessageLocalized)
.addFilterErrorMessage(String, Locale)
void setFilterValidationMessage(UserMessageLocalized aUserMessage)
This method also allows specifying the severity of the message added at validation time if a record is not accepted by this filter.
IllegalStateException
- if a default or localized error message has already been set
using the method addFilterErrorMessage(String)
or addFilterErrorMessage(String, Locale)
.TableRefFilter.getValidationMessage(com.onwbp.adaptation.Adaptation,
com.orchestranetworks.instance.ValueContext)
void setFilterForSearch(String anXPathPredicate)
IllegalArgumentException
- null
;${../aField}
);