Class ModelingContextSteps<M>
- java.lang.Object
-
- org.activiti.cloud.acc.modeling.steps.ModelingContextSteps<M>
-
- Direct Known Subclasses:
ModelingModelsSteps,ModelingProjectsSteps
public abstract class ModelingContextSteps<M> extends Object
Modeling context steps
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelingContextHandlermodelingContextHandler
-
Constructor Summary
Constructors Constructor Description ModelingContextSteps()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.springframework.hateoas.EntityModel<M>checkAndGetCurrentContext(Class<M> expectedCurrentContextClass)voidcheckExists(ModelingIdentifier<M> identifier)voidcheckExistsInCurrentContext(ModelingIdentifier<M> identifier)protected org.springframework.hateoas.EntityModel<M>create(M m)protected StringcutQueryParams(String uri)voiddeleteAll(ModelingIdentifier<M> identifier)protected org.springframework.hateoas.EntityModel<M>dirty(org.springframework.hateoas.EntityModel<M> resource)booleanexists(ModelingIdentifier<M> identifier)protected booleanexistsInCollection(ModelingIdentifier<M> identifier, Collection<org.springframework.hateoas.EntityModel<M>> modelingObjects)booleanexistsInCurrentContext(ModelingIdentifier<M> identifier)protected org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<M>>findAll()protected org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<M>>findAllByUri(String uri)protected org.springframework.hateoas.EntityModel<M>findByUri(String uri)protected Collection<org.springframework.hateoas.EntityModel<M>>getAvailableModelingObjects()org.activiti.cloud.modeling.api.ModelTypegetModelType(String modelType)protected abstract Optional<String>getRel()protected Optional<String>getRelUri(org.springframework.hateoas.EntityModel<?> entityModel)protected StringmodelingUri(String uri)voidopenModelingObject(ModelingIdentifier<M> identifier)abstract <S extends FeignRestDataClient<S,M>>
Sservice()protected org.activiti.cloud.services.common.file.FileContenttoFileContent(feign.Response response)protected voidupdateCurrentModelingObject()
-
-
-
Field Detail
-
modelingContextHandler
@Autowired protected ModelingContextHandler modelingContextHandler
-
-
Method Detail
-
checkExists
public void checkExists(ModelingIdentifier<M> identifier)
-
checkExistsInCurrentContext
public void checkExistsInCurrentContext(ModelingIdentifier<M> identifier)
-
deleteAll
public void deleteAll(ModelingIdentifier<M> identifier)
-
exists
public boolean exists(ModelingIdentifier<M> identifier)
-
getRelUri
protected Optional<String> getRelUri(org.springframework.hateoas.EntityModel<?> entityModel)
-
updateCurrentModelingObject
protected void updateCurrentModelingObject()
-
checkAndGetCurrentContext
protected org.springframework.hateoas.EntityModel<M> checkAndGetCurrentContext(Class<M> expectedCurrentContextClass)
-
openModelingObject
public void openModelingObject(ModelingIdentifier<M> identifier)
-
getAvailableModelingObjects
protected Collection<org.springframework.hateoas.EntityModel<M>> getAvailableModelingObjects()
-
existsInCurrentContext
public boolean existsInCurrentContext(ModelingIdentifier<M> identifier)
-
existsInCollection
protected boolean existsInCollection(ModelingIdentifier<M> identifier, Collection<org.springframework.hateoas.EntityModel<M>> modelingObjects)
-
dirty
protected org.springframework.hateoas.EntityModel<M> dirty(org.springframework.hateoas.EntityModel<M> resource)
-
findAllByUri
protected org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<M>> findAllByUri(String uri)
-
findAll
protected org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<M>> findAll()
-
toFileContent
protected org.activiti.cloud.services.common.file.FileContent toFileContent(feign.Response response) throws IOException- Throws:
IOException
-
getModelType
public org.activiti.cloud.modeling.api.ModelType getModelType(String modelType)
-
service
public abstract <S extends FeignRestDataClient<S,M>> S service()
-
-