@Service public class AppService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
APP_BY_DEPLOYMENT_URL |
static String |
APP_IMPORT_AND_PUBLISH_AS_NEW_VERSION_URL |
static String |
APP_IMPORT_AND_PUBLISH_URL |
static String |
APP_LIST_URL |
static String |
APP_URL |
protected FlowableClientService |
clientUtil |
static String |
DECISION_TABLES_URL |
static String |
EXPORT_APP_URL |
static String |
EXPORT_DEPLOYED_APP_URL |
static String |
FORMS_URL |
static String |
PROCESS_DEFINITIONS_URL |
| Constructor and Description |
|---|
AppService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParametersToBuilder(org.apache.http.client.utils.URIBuilder builder,
Map<String,String[]> parameterMap) |
void |
deleteAppDeployment(ServerConfig serverConfig,
javax.servlet.http.HttpServletResponse httpResponse,
String appDeploymentId) |
com.fasterxml.jackson.databind.JsonNode |
exportApp(ServerConfig serverConfig,
String deploymentId,
javax.servlet.http.HttpServletResponse httpResponse) |
com.fasterxml.jackson.databind.JsonNode |
getAppDefinition(ServerConfig serverConfig,
String appDeploymentId) |
void |
getAppDefinitionByDeployment(ServerConfig serverConfig,
javax.servlet.http.HttpServletResponse httpResponse,
Map<String,String[]> parameterMap) |
com.fasterxml.jackson.databind.JsonNode |
getDecisionDefinitionsForDeploymentId(ServerConfig serverConfig,
String dmnDeploymentId) |
com.fasterxml.jackson.databind.JsonNode |
getFormsForAppDeploymentId(ServerConfig serverConfig,
String appDeploymentId) |
com.fasterxml.jackson.databind.JsonNode |
getProcessDefinitionsForDeploymentId(ServerConfig serverConfig,
String deploymentId) |
com.fasterxml.jackson.databind.JsonNode |
listAppDefinitions(ServerConfig serverConfig,
Map<String,String[]> parameterMap) |
com.fasterxml.jackson.databind.JsonNode |
redeployApp(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
ServerConfig targetServerConfig,
String deploymentId) |
com.fasterxml.jackson.databind.JsonNode |
redeployReplaceApp(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
ServerConfig targetServerConfig,
String deploymentId,
String appId) |
protected void |
uploadAppDefinition(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
String name,
byte[] bytes) |
void |
uploadAppDefinition(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
String name,
InputStream inputStream) |
protected void |
uploadNewAppDefinitionVersion(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
String name,
byte[] bytes,
String appId) |
public static final String APP_LIST_URL
public static final String APP_URL
public static final String PROCESS_DEFINITIONS_URL
public static final String DECISION_TABLES_URL
public static final String FORMS_URL
public static final String APP_IMPORT_AND_PUBLISH_URL
public static final String APP_IMPORT_AND_PUBLISH_AS_NEW_VERSION_URL
public static final String EXPORT_DEPLOYED_APP_URL
public static final String EXPORT_APP_URL
public static final String APP_BY_DEPLOYMENT_URL
@Autowired protected FlowableClientService clientUtil
public com.fasterxml.jackson.databind.JsonNode listAppDefinitions(ServerConfig serverConfig, Map<String,String[]> parameterMap)
public com.fasterxml.jackson.databind.JsonNode getAppDefinition(ServerConfig serverConfig, String appDeploymentId)
public void getAppDefinitionByDeployment(ServerConfig serverConfig, javax.servlet.http.HttpServletResponse httpResponse, Map<String,String[]> parameterMap)
public void deleteAppDeployment(ServerConfig serverConfig, javax.servlet.http.HttpServletResponse httpResponse, String appDeploymentId)
public com.fasterxml.jackson.databind.JsonNode getProcessDefinitionsForDeploymentId(ServerConfig serverConfig, String deploymentId)
public com.fasterxml.jackson.databind.JsonNode getDecisionDefinitionsForDeploymentId(ServerConfig serverConfig, String dmnDeploymentId)
public com.fasterxml.jackson.databind.JsonNode getFormsForAppDeploymentId(ServerConfig serverConfig, String appDeploymentId)
public void uploadAppDefinition(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
String name,
InputStream inputStream)
throws IOException
IOExceptionpublic com.fasterxml.jackson.databind.JsonNode exportApp(ServerConfig serverConfig, String deploymentId, javax.servlet.http.HttpServletResponse httpResponse) throws IOException
IOExceptionpublic com.fasterxml.jackson.databind.JsonNode redeployApp(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
ServerConfig targetServerConfig,
String deploymentId)
throws IOException
IOExceptionpublic com.fasterxml.jackson.databind.JsonNode redeployReplaceApp(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
ServerConfig targetServerConfig,
String deploymentId,
String appId)
throws IOException
IOExceptionprotected void uploadAppDefinition(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
String name,
byte[] bytes)
throws IOException
IOExceptionprotected void uploadNewAppDefinitionVersion(javax.servlet.http.HttpServletResponse httpResponse,
ServerConfig serverConfig,
String name,
byte[] bytes,
String appId)
throws IOException
IOExceptionCopyright © 2020 Flowable. All rights reserved.