Home > @i2analyze/i2connect > Result
Result class
A result from a service method on a connector for the i2 Connect server.
Signature:
export declare class Result
Introduced: API version 1.0
Methods
Method | Modifiers | Description |
---|---|---|
addEntity(type, id) | Adds a new entity record to the result, whose identifier is a string that you provide. | |
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. | |
addEntityWithSourceIdentifier(type, id) | Adds a new entity 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. | |
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. | |
addLinkWithSourceIdentifier(type, id, fromEnd, toEnd, direction) | Adds a new link record to the result, whose identifier is a source identifier that you create. |