Class ModelHistoryRepositoryImpl
- java.lang.Object
-
- org.flowable.ui.modeler.repository.ModelHistoryRepositoryImpl
-
- All Implemented Interfaces:
ModelHistoryRepository
@Component public class ModelHistoryRepositoryImpl extends Object implements ModelHistoryRepository
-
-
Field Summary
Fields Modifier and Type Field Description protected UuidIdGeneratoridGeneratorprotected org.mybatis.spring.SqlSessionTemplatesqlSessionTemplateprotected TenantProvidertenantProvider
-
Constructor Summary
Constructors Constructor Description ModelHistoryRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(ModelHistory modelHistory)List<ModelHistory>findByModelId(String modelId)List<ModelHistory>findByModelTypAndCreatedBy(String createdBy, Integer modelType)ModelHistoryget(String id)voidsave(ModelHistory modelHistory)
-
-
-
Field Detail
-
sqlSessionTemplate
@Autowired @Qualifier("flowableModeler") protected org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate
-
idGenerator
@Autowired protected UuidIdGenerator idGenerator
-
tenantProvider
@Autowired protected TenantProvider tenantProvider
-
-
Method Detail
-
get
public ModelHistory get(String id)
- Specified by:
getin interfaceModelHistoryRepository
-
findByModelTypAndCreatedBy
public List<ModelHistory> findByModelTypAndCreatedBy(String createdBy, Integer modelType)
- Specified by:
findByModelTypAndCreatedByin interfaceModelHistoryRepository
-
findByModelId
public List<ModelHistory> findByModelId(String modelId)
- Specified by:
findByModelIdin interfaceModelHistoryRepository
-
save
public void save(ModelHistory modelHistory)
- Specified by:
savein interfaceModelHistoryRepository
-
delete
public void delete(ModelHistory modelHistory)
- Specified by:
deletein interfaceModelHistoryRepository
-
-