Class ModelingModelsSteps
- java.lang.Object
-
- org.activiti.cloud.acc.modeling.steps.ModelingContextSteps<org.activiti.cloud.modeling.api.Model>
-
- org.activiti.cloud.acc.modeling.steps.ModelingModelsSteps
-
public class ModelingModelsSteps extends ModelingContextSteps<org.activiti.cloud.modeling.api.Model>
Modeling steps for models
-
-
Field Summary
-
Fields inherited from class org.activiti.cloud.acc.modeling.steps.ModelingContextSteps
modelingContextHandler
-
-
Constructor Summary
Constructors Constructor Description ModelingModelsSteps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProcessVariableInCurrentModel(List<String> processVariable)voidaddProcessVariableToModelModel(org.activiti.cloud.modeling.api.Model model, List<String> processVariable)voidcheckCurrentModelContainsVariables(String... processVariables)voidcheckCurrentModelValidation()voidcheckCurrentModelValidationFailureForExtensions(String errorMessage)voidcheckCurrentModelVersion(String expectedModelVersion)org.springframework.hateoas.EntityModel<org.activiti.cloud.modeling.api.Model>create(String modelName, String modelType, List<String> processVariables)protected Optional<String>getRel()voidremoveProcessVariableInCurrentModel(String processVariable)voidsaveCurrentModel(boolean updateContent)voidsaveModel(org.springframework.hateoas.EntityModel<org.activiti.cloud.modeling.api.Model> model)ModelingModelsServiceservice()feign.ResponsevalidateExtensions(org.springframework.hateoas.EntityModel<org.activiti.cloud.modeling.api.Model> model, feign.form.FormData file)feign.ResponsevalidateModel(org.springframework.hateoas.EntityModel<org.activiti.cloud.modeling.api.Model> model, feign.form.FormData file)-
Methods inherited from class org.activiti.cloud.acc.modeling.steps.ModelingContextSteps
checkAndGetCurrentContext, checkExists, checkExistsInCurrentContext, create, cutQueryParams, deleteAll, dirty, exists, existsInCollection, existsInCurrentContext, findAll, findAllByUri, findByUri, getAvailableModelingObjects, getModelType, getRelUri, modelingUri, openModelingObject, toFileContent, updateCurrentModelingObject
-
-
-
-
Method Detail
-
create
public org.springframework.hateoas.EntityModel<org.activiti.cloud.modeling.api.Model> create(String modelName, String modelType, List<String> processVariables)
-
removeProcessVariableInCurrentModel
public void removeProcessVariableInCurrentModel(String processVariable)
-
addProcessVariableInCurrentModel
public void addProcessVariableInCurrentModel(List<String> processVariable)
-
addProcessVariableToModelModel
public void addProcessVariableToModelModel(org.activiti.cloud.modeling.api.Model model, List<String> processVariable)
-
saveCurrentModel
public void saveCurrentModel(boolean updateContent)
-
saveModel
public void saveModel(org.springframework.hateoas.EntityModel<org.activiti.cloud.modeling.api.Model> model)
-
checkCurrentModelValidation
public void checkCurrentModelValidation() throws IOException- Throws:
IOException
-
checkCurrentModelValidationFailureForExtensions
public void checkCurrentModelValidationFailureForExtensions(String errorMessage) throws IOException
- Throws:
IOException
-
validateModel
public feign.Response validateModel(org.springframework.hateoas.EntityModel<org.activiti.cloud.modeling.api.Model> model, feign.form.FormData file)
-
validateExtensions
public feign.Response validateExtensions(org.springframework.hateoas.EntityModel<org.activiti.cloud.modeling.api.Model> model, feign.form.FormData file)
-
checkCurrentModelVersion
public void checkCurrentModelVersion(String expectedModelVersion)
-
checkCurrentModelContainsVariables
public void checkCurrentModelContainsVariables(String... processVariables)
-
getRel
protected Optional<String> getRel()
- Specified by:
getRelin classModelingContextSteps<org.activiti.cloud.modeling.api.Model>
-
service
public ModelingModelsService service()
- Specified by:
servicein classModelingContextSteps<org.activiti.cloud.modeling.api.Model>
-
-