Class ModelRepositoryImpl
java.lang.Object
org.activiti.cloud.services.modeling.jpa.ModelRepositoryImpl
- All Implemented Interfaces:
ModelRepository<ProjectEntity,ModelEntity>
public class ModelRepositoryImpl
extends Object
implements ModelRepository<ProjectEntity,ModelEntity>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyModel(ModelEntity model, ProjectEntity project) createModel(ModelEntity model) voiddeleteModel(ModelEntity model) findGlobalModelByNameAndType(String modelName, String modelTypeFilter) findModelById(String modelId) findModelByNameInProject(ProjectEntity project, String modelName, String modelTypeFilter) org.springframework.data.domain.Page<ModelEntity> getGlobalModels(ModelType modelTypeFilter, boolean includeOrphans, org.springframework.data.domain.Pageable pageable) byte[]getModelContent(ModelEntity model) byte[]getModelExport(ModelEntity model) org.springframework.data.domain.Page<ModelEntity> getModels(ProjectEntity project, ModelType modelTypeFilter, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<ModelEntity> getModelsByName(ProjectEntity project, String name, org.springframework.data.domain.Pageable pageable) updateModel(ModelEntity modelToBeUpdated, ModelEntity newModel) updateModelContent(ModelEntity modelToBeUpdate, org.activiti.cloud.services.common.file.FileContent fileContent)
-
Constructor Details
-
ModelRepositoryImpl
-
-
Method Details
-
getModels
public org.springframework.data.domain.Page<ModelEntity> getModels(ProjectEntity project, ModelType modelTypeFilter, org.springframework.data.domain.Pageable pageable) - Specified by:
getModelsin interfaceModelRepository<ProjectEntity,ModelEntity>
-
getModelsByName
public org.springframework.data.domain.Page<ModelEntity> getModelsByName(ProjectEntity project, String name, org.springframework.data.domain.Pageable pageable) - Specified by:
getModelsByNamein interfaceModelRepository<ProjectEntity,ModelEntity>
-
findModelByNameInProject
public Optional<ModelEntity> findModelByNameInProject(ProjectEntity project, String modelName, String modelTypeFilter) - Specified by:
findModelByNameInProjectin interfaceModelRepository<ProjectEntity,ModelEntity>
-
findGlobalModelByNameAndType
- Specified by:
findGlobalModelByNameAndTypein interfaceModelRepository<ProjectEntity,ModelEntity>
-
findModelById
- Specified by:
findModelByIdin interfaceModelRepository<ProjectEntity,ModelEntity>
-
getModelContent
- Specified by:
getModelContentin interfaceModelRepository<ProjectEntity,ModelEntity>
-
getModelExport
- Specified by:
getModelExportin interfaceModelRepository<ProjectEntity,ModelEntity>
-
createModel
- Specified by:
createModelin interfaceModelRepository<ProjectEntity,ModelEntity>
-
updateModel
- Specified by:
updateModelin interfaceModelRepository<ProjectEntity,ModelEntity>
-
copyModel
- Specified by:
copyModelin interfaceModelRepository<ProjectEntity,ModelEntity>
-
updateModelContent
public ModelEntity updateModelContent(ModelEntity modelToBeUpdate, org.activiti.cloud.services.common.file.FileContent fileContent) - Specified by:
updateModelContentin interfaceModelRepository<ProjectEntity,ModelEntity>
-
deleteModel
- Specified by:
deleteModelin interfaceModelRepository<ProjectEntity,ModelEntity>
-
getGlobalModels
public org.springframework.data.domain.Page<ModelEntity> getGlobalModels(ModelType modelTypeFilter, boolean includeOrphans, org.springframework.data.domain.Pageable pageable) - Specified by:
getGlobalModelsin interfaceModelRepository<ProjectEntity,ModelEntity>
-
getModelType
- Specified by:
getModelTypein interfaceModelRepository<ProjectEntity,ModelEntity>
-