Package com.blazebit.persistence.view
Class ViewFilterProvider
java.lang.Object
com.blazebit.persistence.view.ViewFilterProvider
public abstract class ViewFilterProvider extends Object
A view filter provider is an object that applies restrictions on a
WhereBuilder
.
View filter providers must have a no-arg constructor if they are used in conjunction with ViewFilter
.- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors Constructor Description ViewFilterProvider()
-
Method Summary
Modifier and Type Method Description abstract <T extends WhereBuilder<T>>
Tapply(T whereBuilder)
Applies restrictions on the given where builder.
-
Constructor Details
-
ViewFilterProvider
public ViewFilterProvider()
-
-
Method Details
-
apply
Applies restrictions on the given where builder.- Type Parameters:
T
- The actual type of the where builder- Parameters:
whereBuilder
- The where builder on which the restrictions should be applied- Returns:
- The where builder after applying restrictions
-