Class SimpleMarkLogicRepository<T,​ID extends Serializable>

  • All Implemented Interfaces:
    MarkLogicRepository<T,​ID>, org.springframework.data.repository.CrudRepository<T,​ID>, org.springframework.data.repository.PagingAndSortingRepository<T,​ID>, org.springframework.data.repository.Repository<T,​ID>

    public class SimpleMarkLogicRepository<T,​ID extends Serializable>
    extends Object
    implements MarkLogicRepository<T,​ID>
    • Method Detail

      • findAllById

        public Iterable<T> findAllById​(Iterable<ID> ids)
        Specified by:
        findAllById in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • findAll

        public org.springframework.data.domain.Page<T> findAll​(org.springframework.data.domain.Pageable pageable)
        Specified by:
        findAll in interface org.springframework.data.repository.PagingAndSortingRepository<T,​ID extends Serializable>
      • save

        public <S extends T> S save​(S entity)
        Specified by:
        save in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • saveAll

        public <S extends TIterable<S> saveAll​(Iterable<S> entities)
        Specified by:
        saveAll in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • findById

        public Optional<T> findById​(ID id)
        Specified by:
        findById in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • existsById

        public boolean existsById​(ID id)
        Specified by:
        existsById in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • count

        public long count()
        Specified by:
        count in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • deleteById

        public void deleteById​(ID id)
        Specified by:
        deleteById in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • delete

        public void delete​(T entity)
        Specified by:
        delete in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • deleteAll

        public void deleteAll​(Iterable<? extends T> entities)
        Specified by:
        deleteAll in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>
      • deleteAll

        public void deleteAll()
        Specified by:
        deleteAll in interface org.springframework.data.repository.CrudRepository<T,​ID extends Serializable>