Package com.flowable.form.rest
Class FormRestUrls
java.lang.Object
com.flowable.form.rest.FormRestUrls
public final class FormRestUrls
extends java.lang.Object
- Author:
- Yvo Swillens
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
static java.lang.String
SEGMENT_DEPLOYMENT_RESOURCES
static java.lang.String
SEGMENT_FORM_DEFINITIONS_RESOURCES
static java.lang.String
SEGMENT_FORM_INSTANCE_MODEL
static java.lang.String
SEGMENT_FORM_INSTANCES_RESOURCES
static java.lang.String
SEGMENT_FORM_MODEL
static java.lang.String
SEGMENT_FORM_RESOURCES
static java.lang.String
SEGMENT_QUERY_RESOURCES
static java.lang.String
SEGMENT_REPOSITORY_RESOURCES
static java.lang.String[]
URL_DEPLOYMENT
URL template for a single deployment: /form-repository/deployments/{0:deploymentId}static java.lang.String[]
URL_DEPLOYMENT_COLLECTION
URL template for a deployment collection: /form-repository/deploymentsstatic java.lang.String[]
URL_DEPLOYMENT_RESOURCE_CONTENT
URL template for the resource of a single deployment: /form-repository/deployments/{0:deploymentId}/resourcedata/{1:resourceId}static java.lang.String[]
URL_FORM_DEFINITION
URL template for a single form: /form-repository/form-definitions/{0:formDefinitionId}static java.lang.String[]
URL_FORM_DEFINITION_COLLECTION
URL template for a form collection: /form-repository/form-definitionsstatic java.lang.String[]
URL_FORM_DEFINITION_MODEL
URL template for a single form model: /form-repository/form-definitions/{0:formDefinitionId}/modelstatic java.lang.String[]
URL_FORM_DEFINITION_RESOURCE_CONTENT
URL template for the resource of a single form: /form-repository/form-definitions/{0:formDefinitionId}/resourcedatastatic java.lang.String[]
URL_FORM_INSTANCE_MODEL
URL template for a form instance model: /form/form-instance-modelstatic java.lang.String[]
URL_FORM_INSTANCE_QUERY
URL template for the resource of a form instance query: /query/form-instancesstatic java.lang.String[]
URL_FORM_MODEL
URL template for a form model: /form/model -
Method Summary
Modifier and Type Method Description static java.lang.String
createRelativeResourceUrl(java.lang.String[] segments, java.lang.Object... arguments)
Creates an url based on the passed fragments and replaces any placeholders with the given arguments.
-
Field Details
-
SEGMENT_FORM_RESOURCES
public static final java.lang.String SEGMENT_FORM_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_REPOSITORY_RESOURCES
public static final java.lang.String SEGMENT_REPOSITORY_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_RESOURCES
public static final java.lang.String SEGMENT_DEPLOYMENT_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
public static final java.lang.String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT- See Also:
- Constant Field Values
-
SEGMENT_FORM_DEFINITIONS_RESOURCES
public static final java.lang.String SEGMENT_FORM_DEFINITIONS_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_FORM_MODEL
public static final java.lang.String SEGMENT_FORM_MODEL- See Also:
- Constant Field Values
-
SEGMENT_FORM_INSTANCE_MODEL
public static final java.lang.String SEGMENT_FORM_INSTANCE_MODEL- See Also:
- Constant Field Values
-
SEGMENT_FORM_INSTANCES_RESOURCES
public static final java.lang.String SEGMENT_FORM_INSTANCES_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_QUERY_RESOURCES
public static final java.lang.String SEGMENT_QUERY_RESOURCES- See Also:
- Constant Field Values
-
URL_FORM_MODEL
public static final java.lang.String[] URL_FORM_MODELURL template for a form model: /form/model -
URL_FORM_INSTANCE_MODEL
public static final java.lang.String[] URL_FORM_INSTANCE_MODELURL template for a form instance model: /form/form-instance-model -
URL_FORM_DEFINITION_COLLECTION
public static final java.lang.String[] URL_FORM_DEFINITION_COLLECTIONURL template for a form collection: /form-repository/form-definitions -
URL_FORM_DEFINITION
public static final java.lang.String[] URL_FORM_DEFINITIONURL template for a single form: /form-repository/form-definitions/{0:formDefinitionId} -
URL_FORM_DEFINITION_MODEL
public static final java.lang.String[] URL_FORM_DEFINITION_MODELURL template for a single form model: /form-repository/form-definitions/{0:formDefinitionId}/model -
URL_FORM_DEFINITION_RESOURCE_CONTENT
public static final java.lang.String[] URL_FORM_DEFINITION_RESOURCE_CONTENTURL template for the resource of a single form: /form-repository/form-definitions/{0:formDefinitionId}/resourcedata -
URL_DEPLOYMENT_COLLECTION
public static final java.lang.String[] URL_DEPLOYMENT_COLLECTIONURL template for a deployment collection: /form-repository/deployments -
URL_DEPLOYMENT
public static final java.lang.String[] URL_DEPLOYMENTURL template for a single deployment: /form-repository/deployments/{0:deploymentId} -
URL_DEPLOYMENT_RESOURCE_CONTENT
public static final java.lang.String[] URL_DEPLOYMENT_RESOURCE_CONTENTURL template for the resource of a single deployment: /form-repository/deployments/{0:deploymentId}/resourcedata/{1:resourceId} -
URL_FORM_INSTANCE_QUERY
public static final java.lang.String[] URL_FORM_INSTANCE_QUERYURL template for the resource of a form instance query: /query/form-instances
-
-
Method Details
-
createRelativeResourceUrl
public static final java.lang.String createRelativeResourceUrl(java.lang.String[] segments, java.lang.Object... arguments)Creates an url based on the passed fragments and replaces any placeholders with the given arguments. The placeholders are following theMessageFormat
convention (eg. {0} is replaced by first argument value).
-