Interface ActivationContextOnTableView

All Superinterfaces:
ActivationContext<TableViewEntitySelection>, ActivationContextWithDatasetSet<TableViewEntitySelection>, ActivationContextWithSchemaNodeSet<TableViewEntitySelection>, DatasetSet, DataspaceSet

public interface ActivationContextOnTableView extends ActivationContextWithSchemaNodeSet<TableViewEntitySelection>
Provides a context to define the activation scope and permission rules for a user service being declared on a table level. Please refer to ActivationContext documentation for more information about the user service activation.

By default, the service is activated on all tables in all datasets in all opened non-technical branches in the repository; and there is no restriction about the number of selected records: that is 0 to n records can be selected to run the service.

In this context, the schema nodes used to define the activation are table nodes in the data model.

Since:
5.8.0
See Also:
  • Method Details

    • limitRecordSelection

      void limitRecordSelection(int aNumberOfSelectedRecord)
      Sets the record selection to a fixed value. That is, exactly aNumberOfSelectedRecord must be selected to run the service.
    • forbidEmptyRecordSelection

      void forbidEmptyRecordSelection()
      Makes the selection of records mandatory. That is, one to n records must be selected to run the service.