public interface IUUIDBasedRepository
| Modifier and Type | Method and Description |
|---|---|
void |
configure(javax.servlet.http.HttpServlet servlet)
Configure the repository in the context of the servlet
|
byte[] |
load(javax.servlet.http.HttpServletRequest req,
String uuid,
IDiagramProfile profile,
javax.servlet.ServletContext servletContext) |
void |
save(javax.servlet.http.HttpServletRequest req,
String uuid,
String json,
String svg,
IDiagramProfile profile,
Boolean autosave)
Saves the model inside the repository.
|
String |
toXML(String json,
IDiagramProfile profile,
String preProcessingData)
Transforms given json to bpmn2 xml
|
void configure(javax.servlet.http.HttpServlet servlet)
servlet - the servlet which will use this repository.byte[] load(javax.servlet.http.HttpServletRequest req,
String uuid,
IDiagramProfile profile,
javax.servlet.ServletContext servletContext)
throws Exception
req - the request from the user.uuid - the id of the model.Exceptionvoid save(javax.servlet.http.HttpServletRequest req,
String uuid,
String json,
String svg,
IDiagramProfile profile,
Boolean autosave)
req - the request from the user.uuid - the id of the modeljson - the json modelsvg - the svg representation of the modelprofile - the profileCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.