public abstract class AbstractClientDiagramService<M extends Metadata,D extends Diagram<Graph,M>,S extends BaseDiagramService<M,D>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.errai.common.client.api.Caller<DiagramLookupService> |
diagramLookupServiceCaller |
protected org.jboss.errai.common.client.api.Caller<S> |
diagramServiceCaller |
| Constructor and Description |
|---|
AbstractClientDiagramService(ShapeManager shapeManager,
org.jboss.errai.common.client.api.Caller<S> diagramServiceCaller,
org.jboss.errai.common.client.api.Caller<DiagramLookupService> diagramLookupServiceCaller) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(D diagram,
ServiceCallback<D> callback) |
void |
create(org.uberfire.backend.vfs.Path path,
String name,
String defSetId,
ServiceCallback<org.uberfire.backend.vfs.Path> callback) |
void |
getByPath(org.uberfire.backend.vfs.Path path,
ServiceCallback<D> callback) |
void |
lookup(DiagramLookupRequest request,
ServiceCallback<LookupManager.LookupResponse<DiagramRepresentation>> callback) |
void |
saveOrUpdate(D diagram,
ServiceCallback<D> callback) |
protected void |
updateClientMetadata(D diagram) |
protected org.jboss.errai.common.client.api.Caller<S extends BaseDiagramService<M,D>> diagramServiceCaller
protected org.jboss.errai.common.client.api.Caller<DiagramLookupService> diagramLookupServiceCaller
public AbstractClientDiagramService(ShapeManager shapeManager, org.jboss.errai.common.client.api.Caller<S> diagramServiceCaller, org.jboss.errai.common.client.api.Caller<DiagramLookupService> diagramLookupServiceCaller)
public void create(org.uberfire.backend.vfs.Path path,
String name,
String defSetId,
ServiceCallback<org.uberfire.backend.vfs.Path> callback)
public void saveOrUpdate(D diagram, ServiceCallback<D> callback)
public void add(D diagram, ServiceCallback<D> callback)
public void getByPath(org.uberfire.backend.vfs.Path path,
ServiceCallback<D> callback)
public void lookup(DiagramLookupRequest request, ServiceCallback<LookupManager.LookupResponse<DiagramRepresentation>> callback)
protected void updateClientMetadata(D diagram)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.