Package org.genesys.blocks.persistence
Interface ClassPKRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ClassPK,Long>,org.springframework.data.jpa.repository.JpaRepository<ClassPK,Long>,org.springframework.data.repository.PagingAndSortingRepository<ClassPK,Long>,org.springframework.data.repository.query.QueryByExampleExecutor<ClassPK>,org.springframework.data.repository.Repository<ClassPK,Long>
@Repository public interface ClassPKRepository extends org.springframework.data.jpa.repository.JpaRepository<ClassPK,Long>
The Interface ClassPKRepository.- Author:
- Matija Obreza
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassPKfindByShortName(String shortName)Find by short name.ClassPKgetByClassname(String classname)Gets the ClassPK by classname.LonggetClassPkId(String classname)Gets the class pk id.-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
-
-
-
Method Detail
-
getByClassname
ClassPK getByClassname(String classname)
Gets the ClassPK by classname.- Parameters:
classname- the fully qualified class name- Returns:
- the ClassPK
-
findByShortName
ClassPK findByShortName(String shortName)
Find by short name.- Parameters:
shortName- the short name- Returns:
- the class PK
-
-