Klasse BackendClientSessionManager<C extends AbstractBackendClient<C,S>, S>

java.lang.Object
ch.nolix.system.application.main.BackendClientSessionManager<C,S>
Typparameter:
C - is the type of the parent AbstractBackendClient of a BackendClientSessionManager.
S - is the type of the application service of the parent Application of the parent AbstractBackendClient of a BackendClientSessionManager.

public final class BackendClientSessionManager<C extends AbstractBackendClient<C,S>, S> extends Object
Autor:
Silvan Wyss
  • Methodendetails

    • forClient

      public static <C2 extends AbstractBackendClient<C2,S2>, S2> BackendClientSessionManager<C2,S2> forClient(C2 client)
    • containsCurrentSession

      public boolean containsCurrentSession()
    • containsNextSession

      public boolean containsNextSession()
    • containsPreviousSession

      public boolean containsPreviousSession()
    • currentSessionIsTopSession

      public boolean currentSessionIsTopSession()
    • getStoredCurrentSession

      public AbstractSession<C,S> getStoredCurrentSession()
    • getSessionStackSize

      public int getSessionStackSize()
    • popCurrentSession

      public void popCurrentSession()
    • popCurrentSessionAndForwardGivenResult

      public void popCurrentSessionAndForwardGivenResult(Object result)
    • pushSession

      public void pushSession(AbstractSession<C,S> session)
    • pushSessionAndGetResult

      public <R> R pushSessionAndGetResult(AbstractSession<C,S> session)
    • setCurrentSession

      public void setCurrentSession(AbstractSession<C,S> session)