@ApplicationScoped public class BPMNStandaloneClientDiagramServiceImpl extends Object implements KogitoClientDiagramService
| Constructor and Description |
|---|
BPMNStandaloneClientDiagramServiceImpl() |
BPMNStandaloneClientDiagramServiceImpl(ShapeManager shapeManager,
org.jboss.errai.common.client.api.Caller<org.uberfire.backend.vfs.VFSService> vfsServiceCaller,
org.jboss.errai.common.client.api.Caller<KogitoDiagramService> kogitoDiagramServiceCaller,
org.uberfire.client.promise.Promises promises) |
| Modifier and Type | Method and Description |
|---|---|
void |
loadAsXml(org.uberfire.backend.vfs.Path path,
ServiceCallback<String> callback) |
void |
saveAsXml(org.uberfire.backend.vfs.Path path,
String xml,
ServiceCallback<String> callback) |
elemental2.promise.Promise<String> |
transform(KogitoDiagramResourceImpl resource) |
void |
transform(String xml,
ServiceCallback<Diagram> callback) |
void |
transform(String fileName,
String xml,
ServiceCallback<Diagram> callback) |
public BPMNStandaloneClientDiagramServiceImpl()
@Inject public BPMNStandaloneClientDiagramServiceImpl(ShapeManager shapeManager, org.jboss.errai.common.client.api.Caller<org.uberfire.backend.vfs.VFSService> vfsServiceCaller, org.jboss.errai.common.client.api.Caller<KogitoDiagramService> kogitoDiagramServiceCaller, org.uberfire.client.promise.Promises promises)
public void saveAsXml(org.uberfire.backend.vfs.Path path,
String xml,
ServiceCallback<String> callback)
public void loadAsXml(org.uberfire.backend.vfs.Path path,
ServiceCallback<String> callback)
public void transform(String fileName, String xml, ServiceCallback<Diagram> callback)
transform in interface KogitoClientDiagramServicepublic void transform(String xml, ServiceCallback<Diagram> callback)
transform in interface KogitoClientDiagramServicepublic elemental2.promise.Promise<String> transform(KogitoDiagramResourceImpl resource)
transform in interface KogitoClientDiagramServiceCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.