Skip to content

TreeJdbcService

nimamoosavi edited this page Aug 25, 2021 · 1 revision

his interface used for connect to table that create structure is parent child, and you can fetch some data with pagination and Query etc...

List findAllParent()

find all root parent

return List of parent

List findAllParent(Query query)

query the Object you can set for where clause

return the list of Parent

PageDTO<List> findAllParent(int page, int pageSize, Query query)

page the page number that you want find in pagination

pageSize the total of data that you need to fetch in per page

query the Object you can set for where clause

return PageDTO<List> that object of pagination

PageDTO<List> findAllParent(int page, int pageSize)

page the page number that you want find in pagination

pageSize the total of data that you need to fetch in per page

return PageDTO<List> that object of pagination

List findAll(I pid)

pid the parent id for get child

return the list of Parent

PageDTO<List> findAll(int page, int pageSize, I pid)

page the page number that you want find in pagination

pageSize the total of data that you need to fetch in per page

pid the parent id for get child

PageDTO<List> findAll(int page, int pageSize, Query query, I pid)

page the page number that you want find in pagination

pageSize the total of data that you need to fetch in per page

query the Object you can set for where clause

pid the parent id for get child

return PageDTO<List> that object of pagination

Clone this wiki locally