# Uses of Interface
com.orchestranetworks.ui.selection.EntitySelection

Packages that use EntitySelection
Package
Description
com.orchestranetworks.module
This package allows to handle module registration.
com.orchestranetworks.schema
Represents XML Schema concepts and provides schema extensions capabilities.
com.orchestranetworks.ui.selection
This package provides interfaces with information about the selection.
com.orchestranetworks.userservice
A public API for user services.
com.orchestranetworks.userservice.declaration
A public API for declaring user services.
com.orchestranetworks.userservice.permission
Allows the definition of activation rules and permission rules on user services.
com.orchestranetworks.userservice.schema

- ## Uses of EntitySelection in com.orchestranetworks.module

  Methods in com.orchestranetworks.module with type parameters of type EntitySelection
  Modifier and Type
  Method
  Description
  `<S extends EntitySelection, T extends ActivationContext<S>>
  void`
  ModuleServiceRegistrationContext.`registerUserService(UserServiceDeclaration<S,T> aUserServiceDeclaration)`
  Registers a new user service in EBX®.

- ## Uses of EntitySelection in com.orchestranetworks.schema

  Methods in com.orchestranetworks.schema with type parameters of type EntitySelection
  Modifier and Type
  Method
  Description
  `<S extends EntitySelection, T extends ActivationContext<S>>
  void`
  SchemaExtensionsContext.`registerUserService(UserServiceDeclaration<S,T> aNewUserServiceDeclaration)`
  Registers a new user service for the current data model in EBX®.
  Method parameters in com.orchestranetworks.schema with type arguments of type EntitySelection
  Modifier and Type
  Method
  Description
  `void`
  SchemaExtensionsContext.`setServicePermissionRuleOnNode(Path aPathInSchema, ServiceKey aServiceKey, ServicePermissionRule<? extends EntitySelection> aRule)`
  Sets a `ServicePermissionRule` on a node without specifying a custom description.
  `void`
  SchemaExtensionsContext.`setServicePermissionRuleOnNode(Path aPathInSchema, ServiceKey aServiceKey, ServicePermissionRule<? extends EntitySelection> aRule, UserMessage aDescription)`
  Declares that the display and execution of the specified service is conditioned by the specified rule, when invoked on the element referred by the specified path.
  `void`
  SchemaExtensionsContext.`setServicePermissionRuleOnNodeAndAllDescendants(Path aSubTreePathInSchema, ServiceKey aServiceKey, ServicePermissionRule<? extends EntitySelection> aRule)`
  Sets a `ServicePermissionRule` on a node subtree without specifying a custom description.
  `void`
  SchemaExtensionsContext.`setServicePermissionRuleOnNodeAndAllDescendants(Path aSubTreePathInSchema, ServiceKey aServiceKey, ServicePermissionRule<? extends EntitySelection> aRule, UserMessage aDescription)`
  Declares that the display and execution of the specified service is conditioned by the specified rule, for all elements matching the rule's type of `EntitySelection` under the specified data model element.

- ## Uses of EntitySelection in com.orchestranetworks.ui.selection

  Subinterfaces of EntitySelection in com.orchestranetworks.ui.selection
  Modifier and Type
  Interface
  Description
  `interface`
  `AssociationEntitySelection`
  Provides information on the current selection, in the context of an association.
  `interface`
  `AssociationRecordEntitySelection`
  Provides information on the currently selected associated record.
  `interface`
  `AssociationTableEntitySelection`
  Provides information on the association context of the current selection.
  `interface`
  `DatasetEntitySelection`
  Provides information on the currently selected dataset.
  `interface`
  `DataspaceEntitySelection`
  Provides information on the currently selected dataspace.
  `interface`
  `HierarchyEntitySelection`
  Provides information on the currently selected hierarchy.
  `interface`
  `HierarchyNodeEntitySelection`
  Provides information on the currently selected hierarchy node.
  `interface`
  `RecordEntitySelection`
  Provides information on the currently selected record.
  `interface`
  `TableEntitySelection`
  Provides information on the currently selected table.
  `interface`
  `TableViewEntitySelection`
  Provides information on the currently selected table and on the current record selection if any.

- ## Uses of EntitySelection in com.orchestranetworks.userservice

  Classes in com.orchestranetworks.userservice with type parameters of type EntitySelection
  Modifier and Type
  Interface
  Description
  `interface`
  `UserService<S extends EntitySelection>`
  Main interface to be implemented for a user service.
  `interface`
  `UserServiceExtended<S extends EntitySelection>`
  Extended interface that can be implemented by a user service.
  `interface`
  `UserServiceForCreate<S extends EntitySelection>`
  Extended interface that can be implemented by a user service replacing a creation form.
  `interface`
  `UserServiceGetCreatedRecordContext<S extends EntitySelection>`
  This interface defines methods to get contextual information about the user service being invoked.
  `interface`
  `UserServiceInitializeContext<S extends EntitySelection>`
  This interface provides information and utility methods useful when initializing a user service.
  `interface`
  `UserServiceInvocationContext<S extends EntitySelection>`
  This interface defines methods to get contextual information about the user service being invoked.
  `interface`
  `UserServiceProcessEventOutcomeContext<S extends EntitySelection>`
  This interface provides information and utility methods useful when processing an event outcome.
  `interface`
  `UserServiceSetupDisplayContext<S extends EntitySelection>`
  This interface provides information and utility methods useful when setting up a user service display.
  `interface`
  `UserServiceSetupObjectContext<S extends EntitySelection>`
  This interface provides information and utility methods useful when defining objects managed by the user service.
  `interface`
  `UserServiceValidateContext<S extends EntitySelection>`
  This interface provides information and utility methods useful when performing custom validation.

- ## Uses of EntitySelection in com.orchestranetworks.userservice.declaration

  Classes in com.orchestranetworks.userservice.declaration with type parameters of type EntitySelection
  Modifier and Type
  Interface
  Description
  `interface`
  `ActivationContext<S extends EntitySelection>`
  Allows to define the activation scope and the activation rules of a user service, namely where and when this service is available and can be executed.
  `interface`
  `UserServiceDeclaration<S extends EntitySelection,U extends ActivationContext<S>>`
  This interface allows to declare a user service.

- ## Uses of EntitySelection in com.orchestranetworks.userservice.permission

  Classes in com.orchestranetworks.userservice.permission with type parameters of type EntitySelection
  Modifier and Type
  Interface
  Description
  `interface`
  `ServicePermissionRule<S extends EntitySelection>`
  This interface can be implemented to specify the conditions under which a user service can be displayed and executed.
  `interface`
  `ServicePermissionRuleContext<S extends EntitySelection>`
  Provides the context in which a service permission rule is being evaluated.
  Fields in com.orchestranetworks.userservice.permission with type parameters of type EntitySelection
  Modifier and Type
  Field
  Description
  `static final ServicePermissionRule<EntitySelection>`
  ServicePermissionRule.`ALWAYS_DISABLED`
  Always returns the disabled permission (i.e both for display and execution contexts).
  `static final ServicePermissionRule<EntitySelection>`
  ServicePermissionRule.`ALWAYS_ENABLED`
  Always returns the enabled permission (i.e for both display and execution contexts).
  `static final ServicePermissionRule<EntitySelection>`
  ServicePermissionRule.`ENABLED_FOR_EXECUTION_ONLY`
  Returns the disabled permission for display context, but returns enabled for execution.

- ## Uses of EntitySelection in com.orchestranetworks.userservice.schema

  Classes in com.orchestranetworks.userservice.schema with type parameters of type EntitySelection
  Modifier and Type
  Interface
  Description
  `interface`
  `UserServiceRecordFormContext<S extends EntitySelection>`
  This interface defines methods to get contextual information when the user service must be created in replacement of the default record form.