@Component public class ModelHistoryRepositoryImpl extends Object implements ModelHistoryRepository
| Modifier and Type | Field and Description |
|---|---|
protected UuidIdGenerator |
idGenerator |
protected org.mybatis.spring.SqlSessionTemplate |
sqlSessionTemplate |
protected TenantProvider |
tenantProvider |
| Constructor and Description |
|---|
ModelHistoryRepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(ModelHistory modelHistory) |
List<ModelHistory> |
findByModelId(String modelId) |
List<ModelHistory> |
findByModelTypAndCreatedBy(String createdBy,
Integer modelType) |
ModelHistory |
get(String id) |
void |
save(ModelHistory modelHistory) |
@Autowired protected org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate
@Autowired protected UuidIdGenerator idGenerator
@Autowired protected TenantProvider tenantProvider
public ModelHistory get(String id)
get in interface ModelHistoryRepositorypublic List<ModelHistory> findByModelTypAndCreatedBy(String createdBy, Integer modelType)
findByModelTypAndCreatedBy in interface ModelHistoryRepositorypublic List<ModelHistory> findByModelId(String modelId)
findByModelId in interface ModelHistoryRepositorypublic void save(ModelHistory modelHistory)
save in interface ModelHistoryRepositorypublic void delete(ModelHistory modelHistory)
delete in interface ModelHistoryRepositoryCopyright © 2018 Flowable. All rights reserved.