Uses of Class
org.kiwiproject.beta.dao.AllowedFields
Packages that use AllowedFields
-
Uses of AllowedFields in org.kiwiproject.beta.dao
Methods in org.kiwiproject.beta.dao that return AllowedFieldsModifier and TypeMethodDescriptionstatic AllowedFieldsCreate a new instance from the given field names.static AllowedFieldsAllowedFields.of(Collection<String> fieldNames) Create a new instance from the collection of field names.Methods in org.kiwiproject.beta.dao with parameters of type AllowedFieldsModifier and TypeMethodDescriptionstatic voidDaoHelpers.addSort(StringBuilder query, AllowedFields allowedSortFields, String sortField, @Nullable org.kiwiproject.spring.data.KiwiSort.Direction sortDirection) Add a sort to the query restricting by theAllowedFieldsfor the sort field and direction.static voidDaoHelpers.addSort(StringBuilder query, AllowedFields allowedSortFields, org.kiwiproject.spring.data.KiwiSort sort) Add a sort to the query restricting by theAllowedFieldsfor theKiwiSort.static voidDaoHelpers.addSorts(StringBuilder query, AllowedFields allowedSortFields, @Nullable String primarySortField, @Nullable org.kiwiproject.spring.data.KiwiSort.Direction primarySortDirection, @Nullable String secondarySortField, @Nullable org.kiwiproject.spring.data.KiwiSort.Direction secondarySortDirection) Add sorts to the query restricting by theAllowedFieldsfor the primary and secondary sort fields and directions.static voidDaoHelpers.addSorts(StringBuilder query, AllowedFields allowedSortFields, List<org.kiwiproject.spring.data.KiwiSort> sorts) Adds sorts to the query restricting by theAllowedFieldsfor all the specified sorts.static voidDaoHelpers.addSorts(StringBuilder query, AllowedFields allowedSortFields, org.kiwiproject.spring.data.KiwiSort... sorts) Adds sorts to the query restricting by theAllowedFieldsfor all the specified sorts.static voidDaoHelpers.addSorts(StringBuilder query, AllowedFields allowedSortFields, org.kiwiproject.spring.data.KiwiSort primarySort, org.kiwiproject.spring.data.KiwiSort secondarySort) Add sorts to the query restricting by theAllowedFieldsfor the primary and secondary sort criteria.static voidDaoHelpers.addSorts(StringBuilder query, AllowedFields allowedSortFields, org.kiwiproject.spring.data.PagingRequest pagingRequest) Add sorts to the query restricting by theAllowedFieldsfor thePagingRequest.