org.camunda.bpm.engine.impl.cmd
Class AbstractGetDeployedFormCmd

java.lang.Object
  extended by 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
protected static String DEPLOYMENT_KEY
           
protected static int DEPLOYMENT_KEY_LENGTH
           
protected static String EMBEDDED_KEY
           
protected static int EMBEDDED_KEY_LENGTH
           
 
Constructor Summary
AbstractGetDeployedFormCmd()
           
 
Method Summary
protected abstract  void checkAuthorization(CommandContext commandContext)
           
 InputStream execute(CommandContext commandContext)
           
protected abstract  FormData getFormData(CommandContext commandContext)
           
protected  String getResourceName(String formKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMBEDDED_KEY

protected static String EMBEDDED_KEY

EMBEDDED_KEY_LENGTH

protected static int EMBEDDED_KEY_LENGTH

DEPLOYMENT_KEY

protected static String DEPLOYMENT_KEY

DEPLOYMENT_KEY_LENGTH

protected static int DEPLOYMENT_KEY_LENGTH
Constructor Detail

AbstractGetDeployedFormCmd

public AbstractGetDeployedFormCmd()
Method Detail

execute

public InputStream execute(CommandContext commandContext)
Specified by:
execute in interface Command<InputStream>

getResourceName

protected String getResourceName(String formKey)

getFormData

protected abstract FormData getFormData(CommandContext commandContext)

checkAuthorization

protected abstract void checkAuthorization(CommandContext commandContext)


Copyright © 2017 camunda services GmbH. All rights reserved.