@Repository public interface GxTermRepository extends GxJpaRepository<GxTerm,Integer>
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByTermKeyAndOidNameSpace(String termKey,
Integer oidNamespace) |
List<GxTerm> |
findByGxNamespaceOid(Integer oidNamespace) |
org.springframework.data.domain.Page<GxTerm> |
findByGxNamespaceOid(org.springframework.data.domain.Pageable pageable,
Integer oidNamespace) |
List<GxTerm> |
findByGxNamespaceOidAndGxSupportedLocaleOid(Integer oidNamespace,
Integer oidSupportedLocale) |
org.springframework.data.domain.Page<GxTerm> |
findByGxNamespaceOidAndGxSupportedLocaleOid(org.springframework.data.domain.Pageable pageable,
Integer oidNamespace,
Integer oidSupportedLocale) |
List<GxTerm> |
findByGxSupportedLocaleOid(Integer oidSupportedLocale) |
org.springframework.data.domain.Page<GxTerm> |
findByGxSupportedLocaleOid(org.springframework.data.domain.Pageable pageable,
Integer oidSupportedLocale) |
List<GxTerm> |
findByTermKey(String termKey) |
List<GxTerm> |
findByTermKeyAndGxSupportedLocaleLocaleCodeStartingWith(String termKey,
String localeCode) |
GxTerm |
findTopByTermKeyAndGxSupportedLocaleLocaleCodeStartingWithOrderByOidDesc(String termKey,
String localeCode) |
delete, findAll, findOne, savedeleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlushfindAllList<GxTerm> findByTermKeyAndGxSupportedLocaleLocaleCodeStartingWith(String termKey, String localeCode)
GxTerm findTopByTermKeyAndGxSupportedLocaleLocaleCodeStartingWithOrderByOidDesc(String termKey, String localeCode)
@Modifying
@Query(value="Delete from GxTerm t WHERE t.termKey = :termKey AND t.gxNamespace.oid = :oidNamespace")
void deleteByTermKeyAndOidNameSpace(@Param(value="termKey")
String termKey,
@Param(value="oidNamespace")
Integer oidNamespace)
org.springframework.data.domain.Page<GxTerm> findByGxNamespaceOid(org.springframework.data.domain.Pageable pageable, Integer oidNamespace)
org.springframework.data.domain.Page<GxTerm> findByGxSupportedLocaleOid(org.springframework.data.domain.Pageable pageable, Integer oidSupportedLocale)
org.springframework.data.domain.Page<GxTerm> findByGxNamespaceOidAndGxSupportedLocaleOid(org.springframework.data.domain.Pageable pageable, Integer oidNamespace, Integer oidSupportedLocale)
Copyright © 2019. All rights reserved.