public interface RuntimeAppDefinitionRepository extends org.springframework.data.jpa.repository.JpaRepository<RuntimeAppDefinition,Long>
Modifier and Type | Method and Description |
---|---|
RuntimeAppDefinition |
findByModelAndUser(Long modelId,
User user) |
RuntimeAppDefinition |
findByModelId(Long modelId) |
List<RuntimeAppDefinition> |
findByNameIgnoreCase(String name,
org.springframework.data.domain.Pageable pageable) |
List<RuntimeAppDefinition> |
findByTenantId(Long tenantId) |
List<RuntimeAppDefinition> |
findByUser(User user) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, flush, getOne, save, saveAndFlush
RuntimeAppDefinition findByModelId(Long modelId)
List<RuntimeAppDefinition> findByTenantId(Long tenantId)
List<RuntimeAppDefinition> findByNameIgnoreCase(String name, org.springframework.data.domain.Pageable pageable)
@Query(value="select app.appDefinition from RuntimeApp app where app.user = :user") List<RuntimeAppDefinition> findByUser(@Param(value="user") User user)
@Query(value="from RuntimeAppDefinition def where def.modelId = :modelId and def.createdBy = :user") RuntimeAppDefinition findByModelAndUser(@Param(value="modelId") Long modelId, @Param(value="user") User user)
Copyright © 2014–2015 Alfresco. All rights reserved.