## Uses of Interface
de.esprit.netsuite.server.permission.UserPermission

- Packages that use UserPermission
  Package | Description
  --- | ---
  de.esprit.netsuite.netdata.agent | Contains base classes for implementing custom network agents
  de.esprit.netsuite.server | These classes make up the EsprIT server
  de.esprit.netsuite.server.abo | Contains server classes for working with Alive Business Objects (ABOs)
  de.esprit.netsuite.server.auth | Contains classes for server side user authentication
  de.esprit.netsuite.server.batch | Contains classes that implement and manage the available server processes
  de.esprit.netsuite.server.db | Contains classes for server side database configuration.
  de.esprit.netsuite.server.netch | Contains classes that build the server network adapter
  de.esprit.netsuite.server.permission | These classes implement the permission system of the esprit server

- - ### Uses of UserPermission in de.esprit.netsuite.netdata.agent

    Methods in de.esprit.netsuite.netdata.agent with parameters of type UserPermission
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractAgent.`checkPermission(PermissionControlled obj, UserPermission action)` Checks whether the current user has permission on the given object for the given action.

  - ### Uses of UserPermission in de.esprit.netsuite.server

    Methods in de.esprit.netsuite.server with parameters of type UserPermission
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractServerObject.`checkPermission(SessionId sessionId, UserPermission action)` Checks whether the current user has permission on this object for the given action.

  - ### Uses of UserPermission in de.esprit.netsuite.server.abo

    Classes in de.esprit.netsuite.server.abo that implement UserPermission
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ABOPermission` This enum defines typical `UserPermission`s that can be performed on access controlled objects.

    Methods in de.esprit.netsuite.server.abo with parameters of type UserPermission
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ABOServerCache.`checkPermission(SessionId sessionId, PermissionControlled obj, UserPermission action)` Checks whether the current user has permission on the given object for the given action.

  - ### Uses of UserPermission in de.esprit.netsuite.server.auth

    Classes in de.esprit.netsuite.server.auth that implement UserPermission
    Modifier and Type | Class and Description
    --- | ---
    `class` | `UserManagerPermission` This class ...

  - ### Uses of UserPermission in de.esprit.netsuite.server.batch

    Classes in de.esprit.netsuite.server.batch that implement UserPermission
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BatchTaskManagerPermission` This class ...

  - ### Uses of UserPermission in de.esprit.netsuite.server.db

    Classes in de.esprit.netsuite.server.db that implement UserPermission
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DatabaseManagerPermission` This class ...

  - ### Uses of UserPermission in de.esprit.netsuite.server.netch

    Classes in de.esprit.netsuite.server.netch that implement UserPermission
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SessionManagerPermission` This enum defines permittable actions for the `SessionManager`

  - ### Uses of UserPermission in de.esprit.netsuite.server.permission

    Classes in de.esprit.netsuite.server.permission that implement UserPermission
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultUserPermission` This enum defines typical `UserPermission`s that can be performed on access controlled objects.
    `class` | `UserAllPermission` This enum is a special `UserPermission`s that matches all user permissions.

    Fields in de.esprit.netsuite.server.permission declared as UserPermission
    Modifier and Type | Field and Description
    --- | ---
    `static UserPermission` | PermissionEntry.`ALL_PERMISSIONS`

    Methods in de.esprit.netsuite.server.permission that return UserPermission
    Modifier and Type | Method and Description
    --- | ---
    `UserPermission[]` | PermissionDefinition.`getAssignableUserActions()`

    Methods in de.esprit.netsuite.server.permission with parameters of type UserPermission
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServerPermissionConfig.`checkGroupPermission(Group group, PermissionControlled obj, UserPermission action)`
    `void` | PermissionConfig.`checkGroupPermission(Group group, PermissionControlled accessedObj, UserPermission action)` Same as `PermissionConfig.hasGroupPermission(Group, PermissionControlled, UserPermission)` but throws an exception if the permission was not granted.
    `static void` | PermissionEntry.`checkIsPermissionSupported(PermissionDefinition obj, UserPermission action)`
    `void` | PermissionManager.`checkPermission(SessionId sessionId, PermissionControlled obj, UserPermission action)`
    `void` | DefaultPermissionManager.`checkPermission(SessionId sessionId, PermissionControlled obj, UserPermission action)`
    `void` | PermissionManager.`checkPermission(UserId userId, PermissionControlled obj, UserPermission action)` Delegates to `PermissionConfig.checkUserPermission(UserId, PermissionControlled, UserPermission)`
    `void` | DefaultPermissionManager.`checkPermission(UserId userId, PermissionControlled obj, UserPermission action)`
    `void` | ServerPermissionConfig.`checkUserPermission(UserId userId, PermissionControlled obj, UserPermission action)`
    `void` | PermissionConfig.`checkUserPermission(UserId userId, PermissionControlled accessedObj, UserPermission action)` Same as `PermissionConfig.hasUserPermission(UserId, PermissionControlled, UserPermission)` but throws an exception if the permission was not granted.
    `boolean` | ServerPermissionConfig.`hasGroupPermission(Group group, PermissionControlled obj, UserPermission action)`
    `boolean` | PermissionConfig.`hasGroupPermission(Group group, PermissionControlled accessedObj, UserPermission action)` Tells whether the given group may perform the given action on the given object.
    `boolean` | PermissionManager.`hasPermission(UserId userId, PermissionControlled obj, UserPermission action)` Delegates to `PermissionConfig`
    `boolean` | DefaultPermissionManager.`hasPermission(UserId userId, PermissionControlled obj, UserPermission action)`
    `boolean` | ServerPermissionConfig.`hasUserPermission(UserId userId, PermissionControlled obj, UserPermission action)`
    `boolean` | PermissionConfig.`hasUserPermission(UserId userId, PermissionControlled accessedObj, UserPermission action)` Tells whether the given user may perform the given action on the given object.
    `boolean` | ServerPermissionConfig.`setGroupPermission(Group group, PermissionDefinition obj, UserPermission... actions)`
    `boolean` | PermissionConfig.`setGroupPermission(Group group, PermissionDefinition control, UserPermission... action)` Adds a new permission, whereas a `PermissionEntry` is created from the given arguments.
    `boolean` | ServerPermissionConfig.`setUserPermission(UserId userId, PermissionDefinition obj, UserPermission... actions)`
    `boolean` | PermissionConfig.`setUserPermission(UserId userId, PermissionDefinition control, UserPermission... action)` Adds a new permission, whereas a `PermissionEntry` is created from the given arguments.

    Constructors in de.esprit.netsuite.server.permission with parameters of type UserPermission
    Constructor and Description
    `PermissionDefinition(java.lang.String objectCode, UserPermission... validActions)`
    `PermissionException(Group group, PermissionControlled obj, UserPermission action)`
    `PermissionException(PermissionControlled obj, UserPermission action)`
    `PermissionException(UserId userId, PermissionControlled obj, UserPermission action)`

Copyright © 2013 EsprIT-Systems. All Rights Reserved.