Package com.io7m.idstore.server.internal

# Class IdAdminSession

java.lang.Object
com.io7m.idstore.server.internal.IdAdminSession

public final class IdAdminSession extends Object
A controller for a single admin session.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IdAdminSession(UUID inUserId, String inSessionId)`
  A controller for a single admin session.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Optional<IdDatabaseAdminSearchType>`
  `adminSearch()`
  `Optional<IdDatabaseAdminSearchByEmailType>`
  `adminSearchByEmail()`
  `Optional<IdDatabaseAuditEventsSearchType>`
  `auditSearch()`
  `void`
  `setAdminSearch(IdDatabaseAdminSearchType search)`
  Set the new admin search.
  `void`
  `setAdminSearchByEmail(IdDatabaseAdminSearchByEmailType search)`
  Set the new admin by email search.
  `void`
  `setAuditSearch(IdDatabaseAuditEventsSearchType search)`
  Set the new audit record search.
  `void`
  `setUserSearch(IdDatabaseUserSearchType search)`
  Set the new user search.
  `void`
  `setUserSearchByEmail(IdDatabaseUserSearchByEmailType search)`
  Set the new user by email search.
  `Optional<IdDatabaseUserSearchType>`
  `userSearch()`
  `Optional<IdDatabaseUserSearchByEmailType>`
  `userSearchByEmail()`

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

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

- ## Constructor Details

  - ### IdAdminSession

    public IdAdminSession(UUID inUserId, String inSessionId)
    A controller for a single admin session.
    Parameters:
      `inUserId` - The admin ID
      `inSessionId` - The session ID

- ## Method Details

  - ### auditSearch

    public Optional<IdDatabaseAuditEventsSearchType> auditSearch()
    Returns:
      The audit record search

  - ### setAuditSearch

    public void setAuditSearch(IdDatabaseAuditEventsSearchType search)
    Set the new audit record search.
    Parameters:
      `search` - The audit record search

  - ### adminSearchByEmail

    public Optional<IdDatabaseAdminSearchByEmailType> adminSearchByEmail()
    Returns:
      The admin by email search

  - ### setAdminSearchByEmail

    public void setAdminSearchByEmail(IdDatabaseAdminSearchByEmailType search)
    Set the new admin by email search.
    Parameters:
      `search` - The admin by email search

  - ### adminSearch

    public Optional<IdDatabaseAdminSearchType> adminSearch()
    Returns:
      The admin search

  - ### setAdminSearch

    public void setAdminSearch(IdDatabaseAdminSearchType search)
    Set the new admin search.
    Parameters:
      `search` - The admin search

  - ### userSearchByEmail

    public Optional<IdDatabaseUserSearchByEmailType> userSearchByEmail()
    Returns:
      The user by email search

  - ### setUserSearchByEmail

    public void setUserSearchByEmail(IdDatabaseUserSearchByEmailType search)
    Set the new user by email search.
    Parameters:
      `search` - The user by email search

  - ### userSearch

    public Optional<IdDatabaseUserSearchType> userSearch()
    Returns:
      The user search

  - ### setUserSearch

    public void setUserSearch(IdDatabaseUserSearchType search)
    Set the new user search.
    Parameters:
      `search` - The user search