Class SyncopeJPARepository<T,ID>

java.lang.Object
org.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID>
org.apache.syncope.core.persistence.jpa.spring.SyncopeJPARepository<T,ID>
All Implemented Interfaces:
org.springframework.data.jpa.repository.JpaRepository<T,ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, org.springframework.data.jpa.repository.support.JpaRepositoryConfigurationAware, org.springframework.data.jpa.repository.support.JpaRepositoryImplementation<T,ID>, org.springframework.data.repository.CrudRepository<T,ID>, org.springframework.data.repository.ListCrudRepository<T,ID>, org.springframework.data.repository.ListPagingAndSortingRepository<T,ID>, org.springframework.data.repository.PagingAndSortingRepository<T,ID>, org.springframework.data.repository.query.QueryByExampleExecutor<T>, org.springframework.data.repository.Repository<T,ID>

public class SyncopeJPARepository<T,ID> extends org.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final EntityManager
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SyncopeJPARepository(Class<T> domainClass, EntityManager entityManager)
     
    SyncopeJPARepository(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,ID> entityInformation, EntityManager entityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <S extends T>
    S
    save(S entity)
     

    Methods inherited from class org.springframework.data.jpa.repository.support.SimpleJpaRepository

    count, count, count, delete, delete, deleteAll, deleteAll, deleteAllById, deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteById, exists, exists, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findBy, findBy, findById, findOne, findOne, flush, getById, getCountQuery, getCountQuery, getDomainClass, getOne, getQuery, getQuery, getQuery, getQuery, getQueryHints, getQueryHintsForCount, getReferenceById, getRepositoryMethodMetadata, readPage, readPage, saveAll, saveAllAndFlush, saveAndFlush, setEscapeCharacter, setProjectionFactory, setRepositoryMethodMetadata

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteInBatch
  • Field Details

  • Constructor Details

    • SyncopeJPARepository

      public SyncopeJPARepository(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,ID> entityInformation, EntityManager entityManager)
    • SyncopeJPARepository

      public SyncopeJPARepository(Class<T> domainClass, EntityManager entityManager)
  • Method Details

    • save

      public <S extends T> S save(S entity)
      Specified by:
      save in interface org.springframework.data.repository.CrudRepository<T,ID>
      Overrides:
      save in class org.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID>