Interface AnyObjectRepo
- All Superinterfaces:
AnyDAO<AnyObject>,AnyObjectDAO,AnyObjectRepoExt,AnyRepoExt<AnyObject>,DAO<AnyObject>,org.springframework.data.repository.PagingAndSortingRepository<JPAAnyObject,,String> org.springframework.data.repository.Repository<JPAAnyObject,String>
public interface AnyObjectRepo
extends org.springframework.data.repository.PagingAndSortingRepository<JPAAnyObject,String>, AnyObjectRepoExt, AnyObjectDAO
-
Field Summary
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
DEFAULT_PAGE_SIZEFields inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
DEFAULT_SORT -
Method Summary
Methods inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
authFind, findAll, findAllowedSchemas, findAllResourceKeys, findByDerAttrValue, findByResourcesContaining, findDynRealms, findLastChange, getAllMatchingCondMethods inherited from interface org.apache.syncope.core.persistence.api.dao.AnyObjectDAO
countByRealm, countByType, deleteMembership, findAllGroupKeys, findAllGroups, findAllRelationships, findAllResources, findDynGroups, findMembership, saveAndGetDynGroupMembs, securityChecksMethods inherited from interface org.apache.syncope.core.persistence.jpa.dao.repo.AnyObjectRepoExt
countByRealm, countByType, delete, deleteMembership, findAllGroupKeys, findAllGroups, findAllRelationships, findAllResources, findDynGroups, findMembership, save, saveAndGetDynGroupMembs, securityChecksMethods inherited from interface org.apache.syncope.core.persistence.jpa.dao.repo.AnyRepoExt
authFind, deleteById, findAllowedSchemas, findAllResourceKeys, findByDerAttrValue, findDynRealms, findLastChangeMethods inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
count, delete, deleteById, existsById, findAll, findById, saveMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
findKey
@Query("SELECT e.id FROM #{#entityName} e WHERE e.type.id = :type AND e.name = :name") Optional<String> findKey(@Param("type") String type, @Param("name") String name) - Specified by:
findKeyin interfaceAnyObjectDAO
-
findByName
@Query("SELECT e FROM #{#entityName} e WHERE e.type.id = :type AND e.name = :name") Optional<? extends AnyObject> findByName(@Param("type") String type, @Param("name") String name) - Specified by:
findByNamein interfaceAnyObjectDAO
-
findByName
@Query("SELECT e FROM #{#entityName} e WHERE e.name = :name") List<AnyObject> findByName(@Param("name") String name) - Specified by:
findByNamein interfaceAnyObjectDAO
-
findByKeys
@Query("SELECT e FROM #{#entityName} e WHERE e.id IN (:keys)") List<AnyObject> findByKeys(@Param("keys") List<String> keys) - Specified by:
findByKeysin interfaceAnyDAO<AnyObject>
-