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
FieldsModifier and TypeFieldDescriptionprotected static Stringprotected static intprotected CommandContextprotected static Stringprotected static intprotected static Stringprotected static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidexecute(CommandContext commandContext) protected InputStreamgetDeploymentResource(String deploymentId, String resourceName) protected abstract FormDataprotected InputStreamgetResourceForCamundaFormRef(CamundaFormRef camundaFormRef, String deploymentId) protected InputStreamgetResourceForFormKey(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:
executein interfaceCommand<InputStream>
-
getResourceForFormKey
-
getResourceForCamundaFormRef
protected InputStream getResourceForCamundaFormRef(CamundaFormRef camundaFormRef, String deploymentId) -
getDeploymentResource
-
getFormData
-
checkAuthorization
protected abstract void checkAuthorization()
-