Class PaginationConfig
java.lang.Object
org.emau.icmvc.ganimed.ttp.psn.config.PaginationConfig
- All Implemented Interfaces:
Serializable
parameter for get...Paginated functions
firstEntry
default = 0
pageSize
default = 10
filter
default = empty map
filter values; for possible keys see PSNField
startDate
default = null
consents with date >= startDate are returned
endDate
default = null
consents with date <= endDate are returned
templateType
default = null
filterFieldsAreTreatedAsConjuction
default = true
has no effect on template type
filterIsCaseSensitive
default = true
sortField
see PSNField
default = null
sortIsAscending
default = true
- Author:
- geidell
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPaginationConfig
(int firstEntry, int pageSize) PaginationConfig
(int firstEntry, int pageSize, Map<PSNField, String> filter, boolean filterFieldsAreTreatedAsConjuction, boolean filterIsCaseSensitive) PaginationConfig
(int firstEntry, int pageSize, Map<PSNField, String> filter, boolean filterFieldsAreTreatedAsConjuction, boolean filterIsCaseSensitive, PSNField sortField, boolean sortIsAscending) PaginationConfig
(int firstEntry, int pageSize, PSNField sortField, boolean sortIsAscending) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
int
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
void
void
setFilterFieldsAreTreatedAsConjunction
(boolean filterFieldsAreTreatedAsConjuction) void
setFilterIsCaseSensitive
(boolean filterIsCaseSensitive) void
setFirstEntry
(int firstEntry) void
setPageSize
(int pageSize) void
setSortField
(PSNField sortField) void
setSortIsAscending
(boolean sortIsAscending) toString()
-
Constructor Details
-
PaginationConfig
public PaginationConfig() -
PaginationConfig
public PaginationConfig(int firstEntry, int pageSize) -
PaginationConfig
-
PaginationConfig
-
PaginationConfig
-
-
Method Details
-
getFirstEntry
public int getFirstEntry() -
setFirstEntry
public void setFirstEntry(int firstEntry) -
getPageSize
public int getPageSize() -
setPageSize
public void setPageSize(int pageSize) -
isUsingPaging
public boolean isUsingPaging() -
getSortField
-
setSortField
-
isUsingSorting
public boolean isUsingSorting() -
getFilter
-
setFilter
-
isUsingFiltering
public boolean isUsingFiltering() -
isFilterFieldsAreTreatedAsConjunction
public boolean isFilterFieldsAreTreatedAsConjunction() -
setFilterFieldsAreTreatedAsConjunction
public void setFilterFieldsAreTreatedAsConjunction(boolean filterFieldsAreTreatedAsConjuction) -
isFilterIsCaseSensitive
public boolean isFilterIsCaseSensitive() -
setFilterIsCaseSensitive
public void setFilterIsCaseSensitive(boolean filterIsCaseSensitive) -
isSortIsAscending
public boolean isSortIsAscending() -
setSortIsAscending
public void setSortIsAscending(boolean sortIsAscending) -
hashCode
public int hashCode() -
equals
-
equalsWhenPagingAndSortingIsIgnored
-
toString
-