Class ModelingContextSteps<M>

    • Constructor Detail

      • ModelingContextSteps

        public ModelingContextSteps()
    • Method Detail

      • create

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

        public void checkExistsInCurrentContext​(ModelingIdentifier<M> identifier)
      • getRelUri

        protected java.util.Optional<java.lang.String> getRelUri​(org.springframework.hateoas.Resource<?> resource)
      • cutQueryParams

        protected java.lang.String cutQueryParams​(java.lang.String uri)
      • updateCurrentModelingObject

        protected void updateCurrentModelingObject()
      • checkAndGetCurrentContext

        protected org.springframework.hateoas.Resource<M> checkAndGetCurrentContext​(java.lang.Class<M> expectedCurrentContextClass)
      • getAvailableModelingObjects

        protected java.util.Collection<org.springframework.hateoas.Resource<M>> getAvailableModelingObjects()
      • existsInCurrentContext

        public boolean existsInCurrentContext​(ModelingIdentifier<M> identifier)
      • existsInCollection

        protected boolean existsInCollection​(ModelingIdentifier<M> identifier,
                                             java.util.Collection<org.springframework.hateoas.Resource<M>> modelingObjects)
      • dirty

        protected org.springframework.hateoas.Resource<M> dirty​(org.springframework.hateoas.Resource<M> resource)
      • findByUri

        protected org.springframework.hateoas.Resource<M> findByUri​(java.lang.String uri)
      • findAllByUri

        protected org.springframework.hateoas.PagedResources<org.springframework.hateoas.Resource<M>> findAllByUri​(java.lang.String uri)
      • findAll

        protected org.springframework.hateoas.PagedResources<org.springframework.hateoas.Resource<M>> findAll()
      • toFileContent

        protected org.activiti.cloud.services.common.file.FileContent toFileContent​(feign.Response response)
                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • modelingUri

        protected java.lang.String modelingUri​(java.lang.String uri)
      • getModelType

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

        protected abstract java.util.Optional<java.lang.String> getRel()
      • service

        public abstract <S extends org.activiti.cloud.acc.shared.rest.feign.FeignRestDataClient<S,​M>> S service()