|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExampleDefinition
Marker interface to indicate a valid FilterProvider.
The @see ScrollingListProviderFactory will use this definition to initiantiate appropriate
Scrolling list objects.
This interface is typically used on entity objects to define instances as examples to the underlying filter.
A simple implementation in a user object would just return the uninitialized object meaning no filtering
is performed and the ListProvider will just return all available instances from the database.
public ModelCreation getNewModelTemplate() {
// initialize properties here as required
return new User();
}
Note that you will usually have to annotate FilterDefinition.getNewModelTemplate() with a @Transient for entity models.
| Method Summary |
|---|
| Methods inherited from interface org.shept.beans.support.FilterDefinition |
|---|
getNewModelTemplate |
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||