org.jminor.framework.client.model
Class DefaultPropertySearchModelProvider
java.lang.Object
org.jminor.framework.client.model.DefaultPropertySearchModelProvider
- All Implemented Interfaces:
- PropertySearchModelProvider
public class DefaultPropertySearchModelProvider
- extends Object
- implements PropertySearchModelProvider
A default PropertySearchModelProvider implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPropertySearchModelProvider
public DefaultPropertySearchModelProvider()
initializePropertySearchModel
public PropertySearchModel<? extends Property.SearchableProperty> initializePropertySearchModel(Property.SearchableProperty property,
EntityConnectionProvider connectionProvider)
- Initializes a PropertySearchModel for the given property
- Specified by:
initializePropertySearchModel
in interface PropertySearchModelProvider
- Parameters:
property
- the Property for which to create a PropertySearchModelconnectionProvider
- the EntityConnectionProvider instance to use in case the property is a ForeignKeyProperty
- Returns:
- a PropertySearchModel for the given property, null if this property is not searchable or if searching
should not be allowed for this property