Package com.io7m.idstore.server.admin_v1

# Class IdA1ServletCoreTransactional

java.lang.Object
com.io7m.idstore.server.admin_v1.IdA1ServletCoreTransactional

All Implemented Interfaces:
  `IdHTTPServletFunctionalCoreType`

public final class IdA1ServletCoreTransactional extends Object implements IdHTTPServletFunctionalCoreType
A servlet core that executes the given core with a database transaction.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdHTTPServletResponseType`
  `execute(jakarta.servlet.http.HttpServletRequest request, IdHTTPServletRequestInformation information)`
  Execute the core.
  `static IdHTTPServletFunctionalCoreType`
  `withTransaction(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdHTTPServletFunctionalCoreTransactionalType inCore)`

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

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

- ## Method Details

  - ### withTransaction

    public static IdHTTPServletFunctionalCoreType withTransaction(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdHTTPServletFunctionalCoreTransactionalType inCore)
    Parameters:
      `inServices` - The services
      `inCore` - The core
    Returns:
      A servlet core that executes the given core with a database transaction

  - ### execute

    public IdHTTPServletResponseType execute(jakarta.servlet.http.HttpServletRequest request, IdHTTPServletRequestInformation information)
    Description copied from interface: `IdHTTPServletFunctionalCoreType`
    Execute the core.
    Specified by:
      `execute` in interface `IdHTTPServletFunctionalCoreType`
    Parameters:
      `request` - The request
      `information` - The extra request information
    Returns:
      The response