@Component public class ModelRelationRepositoryImpl extends Object implements ModelRelationRepository
| Modifier and Type | Field and Description |
|---|---|
protected UuidIdGenerator |
idGenerator |
protected org.mybatis.spring.SqlSessionTemplate |
sqlSessionTemplate |
| Constructor and Description |
|---|
ModelRelationRepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(ModelRelation modelRelation) |
void |
deleteModelRelationsForParentModel(String parentModelId) |
List<ModelRelation> |
findByParentModelIdAndType(String parentModelId,
String type) |
List<ModelInformation> |
findModelInformationByChildModelId(String modelId) |
List<ModelInformation> |
findModelInformationByParentModelId(String parentModelId) |
void |
save(ModelRelation modelRelation) |
@Autowired protected org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate
@Autowired protected UuidIdGenerator idGenerator
public List<ModelRelation> findByParentModelIdAndType(String parentModelId, String type)
findByParentModelIdAndType in interface ModelRelationRepositorypublic List<ModelInformation> findModelInformationByParentModelId(String parentModelId)
findModelInformationByParentModelId in interface ModelRelationRepositorypublic List<ModelInformation> findModelInformationByChildModelId(String modelId)
findModelInformationByChildModelId in interface ModelRelationRepositorypublic void deleteModelRelationsForParentModel(String parentModelId)
deleteModelRelationsForParentModel in interface ModelRelationRepositorypublic void save(ModelRelation modelRelation)
save in interface ModelRelationRepositorypublic void delete(ModelRelation modelRelation)
delete in interface ModelRelationRepositoryCopyright © 2018 Flowable. All rights reserved.