OpenOrgModel
Provides an outline of the organization model. It then lists the following organization model entities:
It also returns
- the unique ID of each of these entities.
- a list of those resources associated with the organization model entities, identified by their unique identifiers (GUIDs).
Action | OpenOrgModel |
ParameterNotes | |
Return | OrgModelEntityResult |
Example |
private void getOrgModel() { BPMWebClientService.getInstance().execute(new OpenOrgModel(-1,false), new AsyncCallback<OrgModelEntityResult>() { @Override public void onFailure(Throwable caught) { Window.alert("Error: " + caught.getMessage()); } @Override public void onSuccess(OrgModelEntityResult result) { if (result != null && result.getEntities() != null) { for (OrgModelEntity entity : result.getEntities()) { TreeItem item = new TreeItem(entity.getName()); addChildren(item, entity.getChildren()); orgModelTree.addItem(item); } } } }); |
Copyright © Cloud Software Group, Inc. All rights reserved.