com.jelurida.ardor.contracts

## Class DatabaseAccess

- java.lang.Object
- - nxt.addons.AbstractContract
  - - com.jelurida.ardor.contracts.DatabaseAccess

- All Implemented Interfaces:
    Contract

      public class DatabaseAccess
      extends AbstractContract

  Sample contracts to demonstrate how to work with contract permissions. The contract first checks which permissions were granted to it by the contract runner and only runs code which won't throw a security exception.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DatabaseAccess()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JO` | `processRequest(RequestContext context)`

    - ### Methods inherited from class nxt.addons.AbstractContract

      `isDuplicate, processBlock, processInvocation, processTransaction, processVoucher`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface nxt.addons.Contract

      `minProductVersion`

- - ### Constructor Detail

    - #### DatabaseAccess

          public DatabaseAccess()

  - ### Method Detail

    - #### processRequest

          public JO processRequest(RequestContext context)

      Specified by:
        `processRequest` in interface `Contract`
      Overrides:
        `processRequest` in class `AbstractContract`