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 Details

  • Constructor Details

    • ModelingContextSteps

      public ModelingContextSteps()
  • Method Details

    • create

      protected org.springframework.hateoas.EntityModel<M> create(M m)
    • 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)
    • cutQueryParams

      protected String cutQueryParams(String uri)
    • 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)
    • findByUri

      protected org.springframework.hateoas.EntityModel<M> findByUri(String uri)
    • 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
    • modelingUri

      protected String modelingUri(String uri)
    • getModelType

      public org.activiti.cloud.modeling.api.ModelType getModelType(String modelType)
    • getRel

      protected abstract Optional<String> getRel()
    • service

      public abstract <S extends FeignRestDataClient<S, M>> S service()