Package org.jbpm.designer.web.repository
Interface IUUIDBasedRepository
-
- All Known Implementing Classes:
UUIDBasedEpnRepository,UUIDBasedFileRepository,UUIDBasedJbpmRepository
public interface IUUIDBasedRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(javax.servlet.http.HttpServlet servlet)Configure the repository in the context of the servletbyte[]load(javax.servlet.http.HttpServletRequest req, String uuid, IDiagramProfile profile, javax.servlet.ServletContext servletContext)voidsave(javax.servlet.http.HttpServletRequest req, String uuid, String json, String svg, IDiagramProfile profile, Boolean autosave)Saves the model inside the repository.StringtoXML(String json, IDiagramProfile profile, String preProcessingData)Transforms given json to bpmn2 xml
-
-
-
Method Detail
-
configure
void configure(javax.servlet.http.HttpServlet servlet)
Configure the repository in the context of the servlet- Parameters:
servlet- the servlet which will use this repository.
-
load
byte[] load(javax.servlet.http.HttpServletRequest req, String uuid, IDiagramProfile profile, javax.servlet.ServletContext servletContext) throws Exception- Parameters:
req- the request from the user.uuid- the id of the model.- Returns:
- the model as a set of bytes.
- Throws:
Exception
-
save
void save(javax.servlet.http.HttpServletRequest req, String uuid, String json, String svg, IDiagramProfile profile, Boolean autosave)Saves the model inside the repository.- Parameters:
req- the request from the user.uuid- the id of the modeljson- the json modelsvg- the svg representation of the modelprofile- the profile
-
-