## Uses of Class
de.esprit.netsuite.server.perm.PermissionException

- Packages that use PermissionException
  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.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.lock | Contains classes for managing temporary edit locks on server resources
  de.esprit.netsuite.server.perm | These classes implement the permission system of the esprit server

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

    Methods in de.esprit.netsuite.netdata.agent that throw PermissionException
    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.
    `DatabaseConnection` | AbstractTestAgent.`resetToDefaultDataSource()`
    `DatabaseConnection` | AbstractTestAgent.`resetToPreviousDataSource()`
    `DatabaseConnection` | AbstractTestAgent.`selectDataSource(java.lang.String dataSourceName)`

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

    Methods in de.esprit.netsuite.server that throw PermissionException
    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 PermissionException in de.esprit.netsuite.server.abo

    Methods in de.esprit.netsuite.server.abo that throw PermissionException
    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 PermissionException in de.esprit.netsuite.server.batch

    Methods in de.esprit.netsuite.server.batch that throw PermissionException
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseConnection` | AbstractBatchTask.`resetToDefaultDataSource()`
    `DatabaseConnection` | AbstractBatchTask.`resetToPreviousDataSource()`
    `DatabaseConnection` | AbstractBatchTask.`selectDataSource(java.lang.String dataSourceName)`

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

    Methods in de.esprit.netsuite.server.db that throw PermissionException
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseConnection` | DatabaseManager.`resetToDefaultDataSource(SessionId sessId)` Resets to the default DataSource which is the first one configured in the config file.
    `DatabaseConnection` | DatabaseManager.`resetToPreviousDataSource(SessionId sessId)` Resets to the previously selected DataSource.
    `DatabaseConnection` | DatabaseManager.`selectDataSource(SessionId sessId, java.lang.String dataSourceName)` Selects the DataSource by name.

  - ### Uses of PermissionException in de.esprit.netsuite.server.lock

    Methods in de.esprit.netsuite.server.lock that throw PermissionException
    Modifier and Type | Method and Description
    --- | ---
    `ResourceLock` | ResourceLockManager.`lockDataSource(SessionId sessionId, java.lang.String dataSourceName)` Fetches an exclusive lock for the given data-source.
    `ResourceLock` | ResourceLockManager.`lockDataSourcePoolExclusive(SessionId sessionId)` Fetches an exclusive lock for the data-source pool.
    `ResourceLock` | ResourceLockManager.`lockExclusive(SessionId sessionId, ResourceType rscType, java.lang.String rscName, java.lang.String reason)`

  - ### Uses of PermissionException in de.esprit.netsuite.server.perm

    Methods in de.esprit.netsuite.server.perm that throw PermissionException
    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.
    `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` | PermissionConfig.`hasGroupPermission(Group group, PermissionControlled accessedObj, UserPermission action)` Tells whether the given group may perform the given action on the given object.
    `void` | PermissionManager.`setPermissionConfig(SessionId sessionId, PermissionConfig permissionCfg)`
    `void` | DefaultPermissionManager.`setPermissionConfig(SessionId sessionId, PermissionConfig permissionCfg)`

Copyright © 2013 EsprIT-Systems. All Rights Reserved.