Class AppService


  • @Service
    public class AppService
    extends Object
    Service for invoking Flowable REST services.
    • Constructor Detail

      • AppService

        public AppService()
    • Method Detail

      • listAppDefinitions

        public com.fasterxml.jackson.databind.JsonNode listAppDefinitions​(ServerConfig serverConfig,
                                                                          Map<String,​String[]> parameterMap)
      • getAppDefinition

        public com.fasterxml.jackson.databind.JsonNode getAppDefinition​(ServerConfig serverConfig,
                                                                        String appDeploymentId)
      • getAppDefinitionByDeployment

        public void getAppDefinitionByDeployment​(ServerConfig serverConfig,
                                                 javax.servlet.http.HttpServletResponse httpResponse,
                                                 Map<String,​String[]> parameterMap)
      • deleteAppDeployment

        public void deleteAppDeployment​(ServerConfig serverConfig,
                                        javax.servlet.http.HttpServletResponse httpResponse,
                                        String appDeploymentId)
      • getProcessDefinitionsForDeploymentId

        public com.fasterxml.jackson.databind.JsonNode getProcessDefinitionsForDeploymentId​(ServerConfig serverConfig,
                                                                                            String deploymentId)
      • getDecisionDefinitionsForDeploymentId

        public com.fasterxml.jackson.databind.JsonNode getDecisionDefinitionsForDeploymentId​(ServerConfig serverConfig,
                                                                                             String dmnDeploymentId)
      • getFormsForAppDeploymentId

        public com.fasterxml.jackson.databind.JsonNode getFormsForAppDeploymentId​(ServerConfig serverConfig,
                                                                                  String appDeploymentId)
      • exportApp

        public com.fasterxml.jackson.databind.JsonNode exportApp​(ServerConfig serverConfig,
                                                                 String deploymentId,
                                                                 javax.servlet.http.HttpServletResponse httpResponse)
                                                          throws IOException
        Throws:
        IOException
      • uploadAppDefinition

        protected void uploadAppDefinition​(javax.servlet.http.HttpServletResponse httpResponse,
                                           ServerConfig serverConfig,
                                           String name,
                                           byte[] bytes)
                                    throws IOException
        Throws:
        IOException
      • uploadNewAppDefinitionVersion

        protected void uploadNewAppDefinitionVersion​(javax.servlet.http.HttpServletResponse httpResponse,
                                                     ServerConfig serverConfig,
                                                     String name,
                                                     byte[] bytes,
                                                     String appId)
                                              throws IOException
        Throws:
        IOException
      • addParametersToBuilder

        protected void addParametersToBuilder​(org.apache.http.client.utils.URIBuilder builder,
                                              Map<String,​String[]> parameterMap)