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.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaExtensionsContext.setServicePermissionRuleOnNode(Path aPathInSchema,
ServiceKey aServiceKey,
ServicePermissionRule<? extends EntitySelection> aRule)
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)
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. |
Modifier and Type | Method and Description |
---|---|
void |
ActivationContext.setPermissionRule(ServicePermissionRule<? super S> aRule)
Sets a contextual permission rule which will be evaluated at runtime,
upon service display or execution.
|
Modifier and Type | Field and Description |
---|---|
static ServicePermissionRule<EntitySelection> |
ServicePermissionRule.ALWAYS_DISABLED
Always returns the disabled permission (i.e both for display and execution contexts).
|
static ServicePermissionRule<EntitySelection> |
ServicePermissionRule.ALWAYS_ENABLED
Always returns the enabled permission (i.e for both display and execution contexts).
|
static ServicePermissionRule<EntitySelection> |
ServicePermissionRule.ENABLED_FOR_EXECUTION_ONLY
Returns the disabled permission for display context, but returns enabled for execution.
|