Select Jobs

Table of Contents

Every job here is the data of a SelectJob request, whose envelope the Resource Access API chapter describes.

SelectAllowedPropertiesOfInstance

Properties defined on super-classes are also returned, since reading with super-properties always includes the sub-property values. The given set of types should already contain the whole class hierarchy. subjectPredicates:[see JsonRpcUtil.SubjectPredicate, …]

Request Type Required
packagedResource PackagedResource yes
Response Type Required
subjectPredicates SubjectPredicate[] yes

SelectAllowedRangeObjects

Selects all direct owned resources from the resource.

Request Type Required
packagedResource PackagedResource yes
predicate Node yes
Response Type Required
packagedResources PackagedResource[] yes

SelectAllowedRangeTypes

Selects all direct owned resources from the resource.

Request Type Required
packagedResource PackagedResource yes
predicate Node yes
decorated Node no
base Node no
Response Type Required
packagedResources PackagedResource[] yes

SelectAllowedSortKeys

Properties defined on super-classes are also returned, since reading with super-properties always includes the sub-property values. The given set of types should already contain the whole class hierarchy. subjectPredicates:[see JsonRpcUtil.SubjectPredicate, …]

Request Type Required
nodes Node[] yes
Response Type Required
nodes Node[] yes

SelectAllProjectScopes

Selects all scopes required by the context of the executor.

Request - no arguments.

Response Type Required
scopes ResourceScope[] yes

SelectAllRootPackageResourcesInPackage

Selects all root resources in the given package.

Request Type Required
pkg Package yes
Response Type Required
packagedResources PackagedResource[] yes

SelectAsPackagedResource

Selects all allowed predicates from the package resource.

Request Type Required
node Node yes
Response Type Required
packagedResource PackagedResource yes

SelectChildPackages

Selects all scopes required by the context of the executor.

Request Type Required
pkg Package yes
Response Type Required
pkgs Package[] yes

SelectComment

Returns the simple comment form the resource.

Request Type Required
node Node yes
Response Type Required
text string yes

SelectConcreteSubtypes

Selects all direct owned resources from the resource.

Request Type Required
node Node yes
Response Type Required
packagedResources PackagedResource[] yes

SelectContextResultType

Selects the result type of a template context (template editor context labels).

Request Type Required
node Node yes
Response Type Required
resultType Node yes

SelectDendroidEditorConfig

Selects all allowed predicates from the package resource.

Request Type Required
node Node yes
Response Type Required
config DendroidEditorConfig yes

SelectDiagramHiddenShapes

Selects all hidden shapes for the given diagram and container node.

Request Type Required
diagram Node yes
containmentPath ContainmentPath no
Response Type Required
containmentPaths ContainmentPath[] yes

SelectFile

Selects all scopes required by the context of the executor.

Request Type Required
scope ResourceScope yes
path string yes
Response Type Required
data string yes

SelectFocusPath

Selects all allowed predicates from the package resource.

Request Type Required
node Node yes
Response Type Required
focusPath FocusPath yes

SelectLanguageStyleConfig

Selects the language style config by language node.

Request Type Required
language Node yes
Response Type Required
config LanguageStyleConfig yes

SelectModelInconsistencies

Selects all (max size) model inconsistencies from the workspace.

Request Type Required
max integer yes
Response Type Required
inconsistencies ResourceInconsistency[] yes

SelectModelMenu

Returns the model menu for the resource.

Request Type Required
node Node yes
Response Type Required
details Menu[] yes

SelectNodeContentProposals

Returns all possible content proposals (possible objects) for the subjectpredicate.

Request Type Required
subjectPredicate SubjectPredicate yes
filter string no
Response Type Required
proposals TextTokenPatch[] yes

SelectObjectNodesForRelation

Selects all object nodes from predicate and subject.

Request Type Required
predicate Node yes
packagedResource PackagedResource yes
Response Type Required
nodes Node[] yes

SelectObjectsForRelation

Selects all objects from predicate and subject.

Request Type Required
predicate Node yes
packagedResource PackagedResource yes
Response Type Required
packagedResources PackagedResource[] yes

SelectPackageModelInconsistencies

Select all direct and deep model inconsistencies from the package.

Request Type Required
max integer yes
pkg Package yes
Response Type Required
direct object no
deep object no

SelectPropertyOfInstance

In Actifsource, statements are created using the most specific predicate. This query returns it for a given base property and resource. Multi-subrelations are not supported.

Request Type Required
packagedResource PackagedResource yes
base Node yes
Response Type Required
subjectPredicate SubjectPredicate yes

SelectPropertyRange

Selects the property range from the property

Request - no arguments.

Response - no arguments.

SelectResourceDetail

Returns all hist predicates and all instructions of the resource.

Request Type Required
node Node yes
Response Type Required
packagedResources PackagedResource yes
predicates object[] yes

SelectResourceFolders

Selects all scopes required by the context of the executor.

Request Type Required
scope ResourceScope yes
Response Type Required
resourceFolders object[] yes

SelectResourceModelInconsistencies

Select all direct and deep model inconsistencies from the resource.

Request Type Required
max integer yes
node Node yes
Response Type Required
direct object no
deep object no

SelectScopeModelInconsistencies

Select all direct and deep model inconsistencies from the Scope.

Request Type Required
max integer yes
scope ResourceScope yes
Response Type Required
deep object no

SelectSearchMatchFilter

Selects all search filters.

Request - no arguments.

Response Type Required
filters object[] yes

SelectSearchStrategy

Selects all search strategies.

Request - no arguments.

Response Type Required
strategies object[] yes

SelectSimpleName

Returns the simple name form the resource.

Request Type Required
node Node yes
Response Type Required
name string yes

SelectSourceCode

Selects the file uri for given resource.

Request Type Required
node Node yes
context Node no
Response Type Required
path string yes

SelectStatementsForRelation

Selects all statements from predicate and subject, in list order (the statement twin of SelectObjectNodesForRelation).

Request Type Required
predicate Node yes
packagedResource PackagedResource yes
Response Type Required
statements Statement[] yes

SelectSubmenu

Returns the model menu for the resource.

Request Type Required
node Node yes
parent Node yes
Response Type Required
details Menu[] yes

SelectSuperclasses

Selects all direct owned resources from the resource.

Request Type Required
node Node yes
Response Type Required
nodes Node[] yes

SelectTabularCellStatement

Selects the cell statements of a resource row of the tabular editor.

Request Type Required
node Node yes
rowPath TableKey[] yes
columns ColumnPredicateNode[] yes
Response Type Required
packagedResource PackagedResource yes
cells object[] yes
cellInfos TabularCellInfo[] yes

SelectTabularColumnPredicate

Selects the allowed column predicates of the tabular editor.

Request Type Required
node Node yes
path PredicateKey[] yes
Response Type Required
columns TabularColumnInfo[] yes

SelectTabularRowPredicate

Selects the child keys for a row expansion.

Request Type Required
node Node yes
path TableKey[] yes
Response Type Required
rows TabularRowInfo[] yes

SelectTemplateFileContexts

Selects the file contexts of a template with their context chain (template editor).

Request Type Required
node Node yes
Response Type Required
fileContexts TemplateFileContextInfo[] yes

SelectTextContainerProposalCategories

Request Type Required
textContainer Node yes
range TextRange yes
Response Type Required
categories object[] yes

SelectTextContainerProposals

Returns all possible content proposals for the text range.

Request Type Required
textContainer Node yes
range TextRange yes
maxSize integer no
page string no
Response Type Required
proposals TextTokenPatch[] yes
nextPage string no

SelectTextContent

Executes the text content from the code snippet, the template or the selector again.

Request Type Required
node Node yes
Response Type Required
content TextContent yes
language Node yes
options TextContentOptions yes

SelectTextTokenComment

Returns the simple comment form the token.

Request Type Required
node Node yes
Response Type Required
text string yes

SelectThreeDiffContext

Selects the three-way diff (ours / theirs / base) of a root resource as a {@link ThreeDiffContext}. The server streams the diff as a flat pre-order node list in chunks (500 nodes each); the generic chunk protocol (streamingId / NextChunk / canceled) is handled by Selectable.selectResourceAccess. Every chunk is appended to ONE context instance, which is emitted through the StreamingPromise chunk handler after each chunk (still {@link ThreeDiffContext.isComplete incomplete}) and resolved once the last chunk (the answer without streamingId) has been added. A small diff that arrives in a single answer takes the same path. Cancelling: call cancel.cancel() in the chunk handler; the pending NextChunk is then sent with canceled: true and the promise rejects with a CancelException. The job must run on the OURS fork’s executor: forkId of the Selectable request is the ours fork, and the dependencyId makes the caller receive a StateChanged when ours changes. One request per root resource, the result is shared by all three merge editor columns.

Request Type Required
node Node yes
baseForkId integer yes
oursForkId integer yes
theirsForkId integer yes
Response Type Required
summary object no
nodes object[] yes

SelectTokenModel

Returns the resource referenced by a text container token..

Request Type Required
node Node yes
Response Type Required
node Node yes