Class TableRequest
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.components.ant.table.TableRequest
-
public class TableRequest extends java.lang.Object
Handles the conversion of the HttpRequestBody into an object. This specifically has information need to handle the paging for the Projects listing table in the UI - filter, search, sort.
-
-
Constructor Summary
Constructors Constructor Description TableRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrent()
int
getPageSize()
java.lang.String
getSearch()
org.springframework.data.domain.Sort
getSort()
Since we he need an actualSort
object and cannot pass this from the client, we create one from the information fathered from the client Direction of sort Column (attribute) of sortorg.springframework.data.domain.Sort.Direction
getSortDirection()
java.lang.String
getSortField()
void
setCurrent(int current)
void
setPageSize(int pageSize)
void
setSearch(java.lang.String search)
void
setSortDirection(java.lang.String sortDirection)
void
setSortField(java.lang.String sortField)
-
-
-
Method Detail
-
getSearch
public java.lang.String getSearch()
-
setSearch
public void setSearch(java.lang.String search)
-
getCurrent
public int getCurrent()
-
setCurrent
public void setCurrent(int current)
-
getPageSize
public int getPageSize()
-
setPageSize
public void setPageSize(int pageSize)
-
setSortField
public void setSortField(java.lang.String sortField)
-
getSortField
public java.lang.String getSortField()
-
setSortDirection
public void setSortDirection(java.lang.String sortDirection)
-
getSortDirection
public org.springframework.data.domain.Sort.Direction getSortDirection()
-
getSort
public org.springframework.data.domain.Sort getSort()
Since we he need an actualSort
object and cannot pass this from the client, we create one from the information fathered from the client Direction of sort Column (attribute) of sort- Returns:
Sort
-
-