Package | Description |
---|---|
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 |
ActivationContext.setDefaultPermission(UserServicePermission aDefaultPermission)
Defines the service's default permission (enabled by default).
|
Modifier and Type | Method and Description |
---|---|
static UserServicePermission |
UserServicePermission.getDisabled()
Factory method that specifies that a user service is neither displayed to the user
nor can be executed by the user in the current session context.
|
static UserServicePermission |
UserServicePermission.getDisabled(UserMessage aReason)
Factory method that specifies that a user service is neither displayed to the user
nor can be executed by the user in the current session context.
|
static UserServicePermission |
UserServicePermission.getEnabled()
Factory method that specifies that a user service may be displayed or executed
in the current session context.
|
UserServicePermission |
ServicePermissionRule.getPermission(ServicePermissionRuleContext<S> aContext)
Returns a permission for the specified context.
|
UserServicePermission |
UserServicePermission.max(UserServicePermission anotherPermission)
Returns the least restrictive permission between this instance and the instance given
as an argument.
|
UserServicePermission |
UserServicePermission.min(UserServicePermission anotherPermission)
Returns the most restrictive permission between this instance and the instance given
as an argument.
|
static UserServicePermission |
UserServicePermission.parseFlag(char accessFlag)
Factory method.
|
static UserServicePermission |
UserServicePermission.parseFlag(String actionFlag)
Factory method.
|
Modifier and Type | Method and Description |
---|---|
UserServicePermission |
UserServicePermission.max(UserServicePermission anotherPermission)
Returns the least restrictive permission between this instance and the instance given
as an argument.
|
UserServicePermission |
UserServicePermission.min(UserServicePermission anotherPermission)
Returns the most restrictive permission between this instance and the instance given
as an argument.
|