Package org.camunda.bpm.engine.impl.cmd
Class AbstractGetDeployedFormCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractGetDeployedFormCmd
- All Implemented Interfaces:
Command<InputStream>
- Direct Known Subclasses:
GetDeployedStartFormCmd
,GetDeployedTaskFormCmd
- Author:
- Anna Pazola
-
Field Summary
Modifier and TypeFieldDescriptionprotected static String
protected static int
protected CommandContext
protected static String
protected static int
protected static String
protected static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
execute
(CommandContext commandContext) protected InputStream
getDeploymentResource
(String deploymentId, String resourceName) protected abstract FormData
protected InputStream
getResourceForCamundaFormRef
(CamundaFormRef camundaFormRef, String deploymentId) protected InputStream
getResourceForFormKey
(FormData formData, String formKey)
-
Field Details
-
EMBEDDED_KEY
-
CAMUNDA_FORMS_KEY
-
EMBEDDED_KEY_LENGTH
protected static int EMBEDDED_KEY_LENGTH -
CAMUNDA_FORMS_KEY_LENGTH
protected static int CAMUNDA_FORMS_KEY_LENGTH -
DEPLOYMENT_KEY
-
DEPLOYMENT_KEY_LENGTH
protected static int DEPLOYMENT_KEY_LENGTH -
commandContext
-
-
Constructor Details
-
AbstractGetDeployedFormCmd
public AbstractGetDeployedFormCmd()
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommand<InputStream>
-
getResourceForFormKey
-
getResourceForCamundaFormRef
protected InputStream getResourceForCamundaFormRef(CamundaFormRef camundaFormRef, String deploymentId) -
getDeploymentResource
-
getFormData
-
checkAuthorization
protected abstract void checkAuthorization()
-