Package org.camunda.bpm.engine.impl.cmd
Class AbstractGetDeployedFormCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractGetDeployedFormCmd
-
- All Implemented Interfaces:
Command<java.io.InputStream>
- Direct Known Subclasses:
GetDeployedStartFormCmd
,GetDeployedTaskFormCmd
public abstract class AbstractGetDeployedFormCmd extends java.lang.Object implements Command<java.io.InputStream>
- Author:
- Anna Pazola
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CAMUNDA_FORMS_KEY
protected static int
CAMUNDA_FORMS_KEY_LENGTH
protected CommandContext
commandContext
protected static java.lang.String
DEPLOYMENT_KEY
protected static int
DEPLOYMENT_KEY_LENGTH
protected static java.lang.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()
java.io.InputStream
execute(CommandContext commandContext)
protected java.io.InputStream
getDeploymentResource(java.lang.String deploymentId, java.lang.String resourceName)
protected abstract FormData
getFormData()
protected java.io.InputStream
getResourceForCamundaFormRef(CamundaFormRef camundaFormRef, java.lang.String deploymentId)
protected java.io.InputStream
getResourceForFormKey(FormData formData, java.lang.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 java.lang.String EMBEDDED_KEY
-
CAMUNDA_FORMS_KEY
protected static java.lang.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 java.lang.String DEPLOYMENT_KEY
-
DEPLOYMENT_KEY_LENGTH
protected static int DEPLOYMENT_KEY_LENGTH
-
commandContext
protected CommandContext commandContext
-
-
Method Detail
-
execute
public java.io.InputStream execute(CommandContext commandContext)
-
getResourceForFormKey
protected java.io.InputStream getResourceForFormKey(FormData formData, java.lang.String formKey)
-
getResourceForCamundaFormRef
protected java.io.InputStream getResourceForCamundaFormRef(CamundaFormRef camundaFormRef, java.lang.String deploymentId)
-
getDeploymentResource
protected java.io.InputStream getDeploymentResource(java.lang.String deploymentId, java.lang.String resourceName)
-
getFormData
protected abstract FormData getFormData()
-
checkAuthorization
protected abstract void checkAuthorization()
-
-