Class SamplePersonService

java.lang.Object
com.decs.application.services.SamplePersonService

@Service public class SamplePersonService extends Object
Sample Person Repository Class

This class represents the repository service class for the system's persons.

Version:
1.0
Author:
Bruno Guiomar
  • Field Details

  • Constructor Details

  • Method Details

    • get

      public Optional<SamplePerson> get(Long id)
    • update

      public SamplePerson update(SamplePerson entity)
    • delete

      public void delete(Long id)
    • 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()