Interface BaseService<M extends BaseModelAbstract<I>,​C extends BaseCriteria<I>,​D,​I extends Comparable<? super I>,​U>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long delete​(I id, U user)  
      org.springframework.data.domain.Page<M> get​(C criteria, org.springframework.data.domain.Pageable pageable, U user)  
      M get​(I id, U user)  
      M save​(D dto, U user)  
      M update​(I id, D dto, U user)  
    • Method Detail

      • get

        M get​(I id,
              U user)
      • delete

        long delete​(I id,
                    U user)
      • save

        M save​(D dto,
               U user)
      • update

        M update​(I id,
                 D dto,
                 U user)
      • get

        org.springframework.data.domain.Page<M> get​(C criteria,
                                                    org.springframework.data.domain.Pageable pageable,
                                                    U user)