Uses of Interface
com.orchestranetworks.userservice.permission.ServicePermissionRule
Packages that use ServicePermissionRule
Package
Description
Represents XML Schema concepts and provides schema extensions capabilities.
A public API for declaring user services.
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 ServicePermissionRuleModifier and TypeMethodDescriptionvoid
SchemaExtensionsContext.setServicePermissionRuleOnNode
(Path aPathInSchema, ServiceKey aServiceKey, ServicePermissionRule<? extends EntitySelection> aRule) Sets aServicePermissionRule
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 aServicePermissionRule
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 ofEntitySelection
under the specified data model element. -
Uses of ServicePermissionRule in com.orchestranetworks.userservice.declaration
Methods in com.orchestranetworks.userservice.declaration with parameters of type ServicePermissionRuleModifier and TypeMethodDescriptionvoid
ActivationContext.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 ServicePermissionRuleModifier and TypeFieldDescriptionstatic 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.