Class ModelingContextSteps<M>

    • Constructor Detail

      • ModelingContextSteps

        public ModelingContextSteps()
    • Method Detail

      • create

        protected org.springframework.hateoas.EntityModel<M> create​(M m)
      • checkExistsInCurrentContext

        public void checkExistsInCurrentContext​(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)
      • 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)