Uses of Interface
com.orchestranetworks.userservice.permission.ServicePermissionRule
-
Packages that use ServicePermissionRule Package Description com.orchestranetworks.schema Represents XML Schema concepts and provides schema extensions capabilities.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. -
-
Uses of ServicePermissionRule in com.orchestranetworks.schema
Methods in com.orchestranetworks.schema with parameters of type ServicePermissionRule Modifier and Type Method Description voidSchemaExtensionsContext. setServicePermissionRuleOnNode(Path aPathInSchema, ServiceKey aServiceKey, ServicePermissionRule<? extends EntitySelection> aRule)Sets aServicePermissionRuleon a node without specifying a custom description.voidSchemaExtensionsContext. 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.voidSchemaExtensionsContext. setServicePermissionRuleOnNodeAndAllDescendants(Path aSubTreePathInSchema, ServiceKey aServiceKey, ServicePermissionRule<? extends EntitySelection> aRule)Sets aServicePermissionRuleon a node subtree without specifying a custom description.voidSchemaExtensionsContext. 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 ofEntitySelectionunder the specified data model element. -
Uses of ServicePermissionRule in com.orchestranetworks.userservice.declaration
Methods in com.orchestranetworks.userservice.declaration with parameters of type ServicePermissionRule Modifier and Type Method Description voidActivationContext. setPermissionRule(ServicePermissionRule<? super S> aRule)Sets a contextual permission rule which will be evaluated at runtime, upon service display or execution. -
Uses of ServicePermissionRule in com.orchestranetworks.userservice.permission
Fields in com.orchestranetworks.userservice.permission declared as ServicePermissionRule Modifier and Type Field Description static ServicePermissionRule<EntitySelection>ServicePermissionRule. ALWAYS_DISABLEDAlways returns the disabled permission (i.e both for display and execution contexts).static ServicePermissionRule<EntitySelection>ServicePermissionRule. ALWAYS_ENABLEDAlways returns the enabled permission (i.e for both display and execution contexts).static ServicePermissionRule<EntitySelection>ServicePermissionRule. ENABLED_FOR_EXECUTION_ONLYReturns the disabled permission for display context, but returns enabled for execution.
-