@WebServlet(displayName="Oryx Editor Handler",name="EditorHandler",urlPatterns={"/editor","/editor/*"},initParams={@WebInitParam(name="designer.dev",value="true"),@WebInitParam(name="designer.preprocess",value="true"),@WebInitParam(name="designer.locale",value="en"),@WebInitParam(name="designer.skin",value="default")})
public class EditorHandler
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
BPSIM_DISPLAY |
static String |
BUNDLE_VERSION
The designer bundle version looked up from the manifest.
|
static String |
DESIGNER_PATH
The base path under which the application will be made available at runtime.
|
static String |
DEV
The designer DEV flag looked up from system properties.
|
static String |
FORMS_TYPE |
static String |
PREPROCESS
The designer PREPROCESS flag looked up from system properties.
|
static String |
PRESET_PERSPECTIVE |
static String |
SERVICE_REPO |
static String |
SERVICE_REPO_TASKS |
static String |
SHOW_PDF_DOC |
static String |
SKIN
The designer skin param.
|
static String |
STORE_SVG_ON_SAVE
Used to enable/disable storing of SVG when process is saved.
|
static String |
USEOLDDATAASSIGNMENTS
The designer USEOLDDATAASSIGNMENTS flag looked up from system properties.
|
Constructor and Description |
---|
EditorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
doShowPDFDoc(javax.servlet.ServletConfig config) |
org.stringtemplate.v4.ST |
getEditorTemplate() |
String |
getInstanceViewMode(javax.servlet.http.HttpServletRequest request) |
IDiagramProfile |
getProfile() |
void |
init(javax.servlet.ServletConfig config) |
static String |
readDesignerVersion(javax.servlet.ServletContext context)
Returns the designer version from the manifest.
|
void |
setProfile(IDiagramProfile profile) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String DESIGNER_PATH
public static final String DEV
public static final String USEOLDDATAASSIGNMENTS
public static final String SHOW_PDF_DOC
public static final String PRESET_PERSPECTIVE
public static final String BPSIM_DISPLAY
public static final String FORMS_TYPE
public static final String PREPROCESS
public static final String SKIN
public static final String SERVICE_REPO
public static final String SERVICE_REPO_TASKS
public static final String BUNDLE_VERSION
public static final String STORE_SVG_ON_SAVE
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public static String readDesignerVersion(javax.servlet.ServletContext context)
context
- public String getInstanceViewMode(javax.servlet.http.HttpServletRequest request)
public boolean doShowPDFDoc(javax.servlet.ServletConfig config)
public void setProfile(IDiagramProfile profile)
public IDiagramProfile getProfile()
public org.stringtemplate.v4.ST getEditorTemplate()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.