Package org.operaton.bpm.engine.impl.cmd
Class AbstractGetDeployedFormCmd
java.lang.Object
org.operaton.bpm.engine.impl.cmd.AbstractGetDeployedFormCmd
- All Implemented Interfaces:
Command<InputStream>
- Direct Known Subclasses:
GetDeployedStartFormCmd,GetDeployedTaskFormCmd
- Author:
- Anna Pazola
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final intprotected CommandContextprotected static final Stringprotected static final intprotected static final Stringprotected static final intprotected static final Stringprotected static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidexecute(CommandContext commandContext) protected InputStreamgetDeploymentResource(String deploymentId, String resourceName) protected abstract FormDataprotected InputStreamgetResourceForFormKey(FormData formData, String formKey) protected InputStreamgetResourceForOperatonFormRef(OperatonFormRef operatonFormRef, String deploymentId)
-
Field Details
-
EMBEDDED_KEY
- See Also:
-
OPERATON_FORMS_KEY
- See Also:
-
CAMUNDA_FORMS_KEY
- See Also:
-
EMBEDDED_KEY_LENGTH
protected static final int EMBEDDED_KEY_LENGTH -
CAMUNDA_FORMS_KEY_LENGTH
protected static final int CAMUNDA_FORMS_KEY_LENGTH -
OPERATON_FORMS_KEY_LENGTH
protected static final int OPERATON_FORMS_KEY_LENGTH -
DEPLOYMENT_KEY
- See Also:
-
DEPLOYMENT_KEY_LENGTH
protected static final int DEPLOYMENT_KEY_LENGTH -
commandContext
-
-
Constructor Details
-
AbstractGetDeployedFormCmd
public AbstractGetDeployedFormCmd()
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommand<InputStream>
-
getResourceForFormKey
-
getResourceForOperatonFormRef
protected InputStream getResourceForOperatonFormRef(OperatonFormRef operatonFormRef, String deploymentId) -
getDeploymentResource
-
getFormData
-
checkAuthorization
protected abstract void checkAuthorization()
-