public interface ModelHistoryRepository extends org.springframework.data.jpa.repository.JpaRepository<ModelHistory,String>
| Modifier and Type | Method and Description |
|---|---|
List<ModelHistory> |
findByCreatedByAndModelTypeAndRemovalDateIsNull(String createdBy,
Integer modelType) |
List<ModelHistory> |
findByModelIdAndRemovalDateIsNullOrderByVersionDesc(String modelId) |
List<ModelHistory> |
findByModelIdOrderByVersionDesc(Long modelId) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, flush, getOne, save, saveAndFlushList<ModelHistory> findByCreatedByAndModelTypeAndRemovalDateIsNull(String createdBy, Integer modelType)
List<ModelHistory> findByModelIdAndRemovalDateIsNullOrderByVersionDesc(String modelId)
List<ModelHistory> findByModelIdOrderByVersionDesc(Long modelId)
Copyright © 2017 Alfresco. All rights reserved.