Home > @i2analyze/i2connect > services > IResult
services.IResult interface
A result from a service method on a connector for the i2 Connect server.
Signature:
interface IResult
Introduced: API version 2.0
Methods
| Method | Description |
|---|---|
| addEntity(type, id) | Adds a new entity record to the result, whose identifier is a string that you provide. |
| addEntity(type, id) | Adds a new entity record to the result, whose identifier is a source identifier that you create. |
| addEntity(type, id) | Adds a new entity record to the result, whose identifier is a string that you provide or a source identifier that you create. |
| addEntityFromSeed(seed) | Adds an entity record that was passed to the service as a seed to the result. |
| addEntityFromSeed(seed) | Adds an entity record that was passed to the service as a seed to the result. |
| addLink(type, id, fromEnd, toEnd, direction) | Adds a new link record to the result, whose identifier is a string that you provide. |
| addLink(type, id, fromEnd, toEnd, direction) | Adds a new link record to the result, whose identifier is a source identifier that you create. |
| addLink(type, id, fromEnd, toEnd, direction) | Adds a new link record to the result, whose identifier is a string that you provide or a source identifier that you create. |
| addLinkFromSeed(seed) | Adds a link record that was passed to the service as a seed to the result. |
| addLinkFromSeed(seed) | Adds a link record that was passed to the service as a seed to the result. |
| getEntity(type, id) | Gets a previously added entity record from the result, whose identifier is a string that you provided. |
| getEntity(type, id) | Gets a previously added entity record from the result, whose identifier is a source identifier that you created. |
| getEntity(type, id) | Gets a previously added entity record from the result, whose identifier is a string that you provided or a source identifier that you created. |
| getEntityFromSeed(seed) | Gets a previously added entity record from the result, based on an entity record that was passed to the service as a seed. |
| getEntityFromSeed(seed) | Gets a previously added entity record from the result, based on an entity record that was passed to the service as a seed. |
| getLink(type, id) | Gets a previously added link record from the result, whose identifier is a string that you provided. |
| getLink(type, id) | Gets a previously added link record from the result, whose identifier is a source identifier that you created. |
| getLink(type, id) | Gets a previously added link record from the result, whose identifier is a string that you provided or a source identifier that you created. |
| getLinkFromSeed(seed) | Gets a previously added link record from the result, based on a link record that was passed to the service as a seed. |
| getLinkFromSeed(seed) | Gets a previously added link record from the result, based on a link record that was passed to the service as a seed. |