Select Jobs
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, …]
SelectAllowedRangeObjects
Selects all direct owned resources from the resource.
SelectAllowedRangeTypes
Selects all direct owned resources from the resource.
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.
SelectAllRootPackageResourcesInPackage
Selects all root resources in the given package.
| Request |
Type |
Required |
pkg |
Package |
yes |
SelectAsPackagedResource
Selects all allowed predicates from the package resource.
| Request |
Type |
Required |
node |
Node |
yes |
SelectChildPackages
Selects all scopes required by the context of the executor.
| Request |
Type |
Required |
pkg |
Package |
yes |
| Response |
Type |
Required |
pkgs |
Package[] |
yes |
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 |
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 |
SelectDiagramHiddenShapes
Selects all hidden shapes for the given diagram and container node.
SelectFile
Selects all scopes required by the context of the executor.
| 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 |
SelectModelInconsistencies
Selects all (max size) model inconsistencies from the workspace.
| Request |
Type |
Required |
max |
integer |
yes |
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.
SelectObjectNodesForRelation
Selects all object nodes from predicate and subject.
| Response |
Type |
Required |
nodes |
Node[] |
yes |
SelectObjectsForRelation
Selects all objects from predicate and subject.
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.
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.
| 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.
| 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).
| Response |
Type |
Required |
statements |
Statement[] |
yes |
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.
SelectTabularColumnPredicate
Selects the allowed column predicates of the tabular editor.
SelectTabularRowPredicate
Selects the child keys for a row expansion.
SelectTemplateFileContexts
Selects the file contexts of a template with their context chain (template editor).
| Request |
Type |
Required |
node |
Node |
yes |
SelectTextContainerProposalCategories
| 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 |
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 |