Interface HvlSystemSessionService

All Known Implementing Classes:
HvlSystemSessionRedisServiceImpl

@Validated public interface HvlSystemSessionService
This service provides operational and retrieve methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(@NotBlank String identifier)
    Clean user (via identifier) system session data on key-value data store (redis etc.)
    void
    Clean all system session data
    void
    closeAll(@NotBlank String username)
    Clean all system session data associated with username parameter
    void
    Clean all system session data by user
    void
    closeAllSessions(@NotNull List<@NotNull tr.com.havelsan.javarch.session.common.model.HvlSession> sessionList)
    Clean all system session data associated with list of session
    void
    closeAllSessionsByUser(@NotNull List<@NotNull tr.com.havelsan.javarch.session.common.model.HvlSession> sessionList)
    Clean all session data associated with list of session with current user control
    void
    closeAllUsers(@NotNull List<@NotBlank String> usernameList)
    Clean all system session data associated with list of username parameter
    tr.com.havelsan.javarch.security.session.provider.model.HvlSecuritySession
    get(@NotBlank String identifier, boolean system)
    Get user system system session data
    tr.com.havelsan.javarch.data.commons.pageable.HvlPage<tr.com.havelsan.javarch.session.common.model.HvlSession>
    queryPage(@NotNull HvlSessionQueryModel sessionQueryModel)
    Query page hvl page.
  • Method Details

    • close

      void close(@NotBlank @NotBlank String identifier) throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Clean user (via identifier) system session data on key-value data store (redis etc.)
      Parameters:
      identifier - the identifier
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception
    • closeAll

      void closeAll() throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Clean all system session data
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception
    • closeAllByUser

      void closeAllByUser() throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Clean all system session data by user
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception
    • closeAll

      void closeAll(@NotBlank @NotBlank String username) throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Clean all system session data associated with username parameter
      Parameters:
      username - the username
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception
    • closeAllUsers

      void closeAllUsers(@NotNull @NotNull List<@NotBlank String> usernameList) throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Clean all system session data associated with list of username parameter
      Parameters:
      usernameList - the username list
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception
    • closeAllSessions

      void closeAllSessions(@NotNull @NotNull List<@NotNull tr.com.havelsan.javarch.session.common.model.HvlSession> sessionList) throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Clean all system session data associated with list of session
      Parameters:
      sessionList - the session list
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception
    • closeAllSessionsByUser

      void closeAllSessionsByUser(@NotNull @NotNull List<@NotNull tr.com.havelsan.javarch.session.common.model.HvlSession> sessionList) throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Clean all session data associated with list of session with current user control
      Parameters:
      sessionList - the session list
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception
    • get

      tr.com.havelsan.javarch.security.session.provider.model.HvlSecuritySession get(@NotBlank @NotBlank String identifier, boolean system) throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Get user system system session data
      Parameters:
      identifier - the identifier
      system - the system
      Returns:
      the session
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception
    • queryPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<tr.com.havelsan.javarch.session.common.model.HvlSession> queryPage(@NotNull @NotNull HvlSessionQueryModel sessionQueryModel) throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
      Query page hvl page.
      Parameters:
      sessionQueryModel - the session query model
      Returns:
      the page
      Throws:
      tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException - the hvl session support exception