Package com.decs.application.services
Class SamplePersonService
java.lang.Object
com.decs.application.services.SamplePersonService
Sample Person Repository Class
This class represents the repository service class for the system's persons.
- Version:
- 1.0
- Author:
- Bruno Guiomar
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcount()voidorg.springframework.data.domain.Page<SamplePerson> list(org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<SamplePerson> list(org.springframework.data.domain.Pageable pageable, org.springframework.data.jpa.domain.Specification<SamplePerson> filter) update(SamplePerson entity)
-
Field Details
-
repository
-
-
Constructor Details
-
SamplePersonService
-
-
Method Details
-
get
-
update
-
delete
-
list
public org.springframework.data.domain.Page<SamplePerson> list(org.springframework.data.domain.Pageable pageable) -
list
public org.springframework.data.domain.Page<SamplePerson> list(org.springframework.data.domain.Pageable pageable, org.springframework.data.jpa.domain.Specification<SamplePerson> filter) -
count
public int count()
-