org.jbpm.designer.web.repository
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.ext
- the file extension to apply to the model.loadExt
- the external url to load fromException
void 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 profileString toXML(String json, IDiagramProfile profile, String preProcessingData)
json
- profile
- preProcessingData
- Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.