org.jminor.framework.client.model
Interface PropertySearchModelProvider

All Known Implementing Classes:
DefaultPropertySearchModelProvider

public interface PropertySearchModelProvider

Specifies an object responsible for providing property search models


Method Summary
 PropertySearchModel<? extends Property.SearchableProperty> initializePropertySearchModel(Property.SearchableProperty property, EntityConnectionProvider connectionProvider)
          Initializes a PropertySearchModel for the given property
 

Method Detail

initializePropertySearchModel

PropertySearchModel<? extends Property.SearchableProperty> initializePropertySearchModel(Property.SearchableProperty property,
                                                                                         EntityConnectionProvider connectionProvider)
Initializes a PropertySearchModel for the given property

Parameters:
property - the Property for which to create a PropertySearchModel
connectionProvider - 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