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
public abstract class AbstractGetDeployedFormCmd extends Object implements Command<InputStream>
- Author:
- Anna Pazola
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
CAMUNDA_FORMS_KEY
protected static int
CAMUNDA_FORMS_KEY_LENGTH
protected CommandContext
commandContext
protected static String
DEPLOYMENT_KEY
protected static int
DEPLOYMENT_KEY_LENGTH
protected static String
EMBEDDED_KEY
protected static int
EMBEDDED_KEY_LENGTH
-
Constructor Summary
Constructors Constructor Description AbstractGetDeployedFormCmd()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
checkAuthorization()
InputStream
execute(CommandContext commandContext)
protected InputStream
getDeploymentResource(String deploymentId, String resourceName)
protected abstract FormData
getFormData()
protected InputStream
getResourceForCamundaFormRef(CamundaFormRef camundaFormRef, String deploymentId)
protected InputStream
getResourceForFormKey(FormData formData, String formKey)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
EMBEDDED_KEY
protected static String EMBEDDED_KEY
-
CAMUNDA_FORMS_KEY
protected static String 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
protected static String DEPLOYMENT_KEY
-
DEPLOYMENT_KEY_LENGTH
protected static int DEPLOYMENT_KEY_LENGTH
-
commandContext
protected CommandContext commandContext
-
-
Method Detail
-
execute
public InputStream execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<InputStream>
-
getResourceForFormKey
protected InputStream getResourceForFormKey(FormData formData, String formKey)
-
getResourceForCamundaFormRef
protected InputStream getResourceForCamundaFormRef(CamundaFormRef camundaFormRef, String deploymentId)
-
getDeploymentResource
protected InputStream getDeploymentResource(String deploymentId, String resourceName)
-
getFormData
protected abstract FormData getFormData()
-
checkAuthorization
protected abstract void checkAuthorization()
-
-