# Uses of Class
com.orchestranetworks.userservice.permission.UserServicePermission

Packages that use UserServicePermission
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.

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

  Methods in com.orchestranetworks.userservice.declaration with parameters of type UserServicePermission
  Modifier and Type
  Method
  Description
  `void`
  ActivationContext.`setDefaultPermission(UserServicePermission aDefaultPermission)`
  Defines the service's default permission (enabled by default).

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

  Methods in com.orchestranetworks.userservice.permission that return UserServicePermission
  Modifier and Type
  Method
  Description
  `static UserServicePermission`
  UserServicePermission.`getDisabled()`
  Factory method that specifies that a user service can not be displayed or executed in the current session context.
  `static UserServicePermission`
  UserServicePermission.`getDisabled(UserMessage aReason)`
  Factory method that specifies that a user service can not be displayed or executed in the current session context.
  `static UserServicePermission`
  UserServicePermission.`getEnabled()`
  Factory method that specifies that a user service can 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.
  Methods in com.orchestranetworks.userservice.permission with parameters of type UserServicePermission
  Modifier and Type
  Method
  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.