Class TestSessionScope

All Implemented Interfaces:
com.aquima.interactions.portal.IDisposableScope, com.aquima.interactions.portal.IPortalMessageScope, com.aquima.interactions.portal.IPortalScope, com.aquima.interactions.portal.ISessionLifecycle, com.aquima.interactions.portal.ISessionScope, Serializable

public class TestSessionScope extends TestPortalMessageScope implements com.aquima.interactions.portal.ISessionScope
Session scope implementation used by the context templates.
Since:
6.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • TestSessionScope

      public TestSessionScope()
  • Method Details

    • getActiveChannel

      public com.aquima.interactions.metamodel.Channel getActiveChannel()
      Specified by:
      getActiveChannel in interface com.aquima.interactions.portal.ISessionScope
    • getCurrentFlowState

      public com.aquima.interactions.flow.IFlowState getCurrentFlowState()
      Specified by:
      getCurrentFlowState in interface com.aquima.interactions.portal.ISessionScope
    • setRoles

      public void setRoles(String... roles)
    • setChannelName

      protected void setChannelName(String channelName)
    • getActiveUser

      public com.aquima.interactions.project.IUserData getActiveUser()
      Specified by:
      getActiveUser in interface com.aquima.interactions.portal.ISessionScope
    • setUser

      public void setUser(com.aquima.interactions.project.IUserData userData)
      Specified by:
      setUser in interface com.aquima.interactions.portal.ISessionScope
    • getTestPath

      public String getTestPath()
      Specified by:
      getTestPath in interface com.aquima.interactions.portal.ISessionScope
    • setTestPath

      public void setTestPath(String testPath)
      Specified by:
      setTestPath in interface com.aquima.interactions.portal.ISessionScope
    • getActiveRoles

      public com.aquima.interactions.project.IRole[] getActiveRoles()
    • notifyPortalMessage

      public void notifyPortalMessage(com.aquima.interactions.portal.IPortalMessage message)
      Specified by:
      notifyPortalMessage in interface com.aquima.interactions.portal.ISessionScope
    • getPendingPortalMessages

      public com.aquima.interactions.portal.IPortalMessage[] getPendingPortalMessages()
      Specified by:
      getPendingPortalMessages in interface com.aquima.interactions.portal.ISessionScope
    • clearPendingPortalMessages

      public void clearPendingPortalMessages()
      Specified by:
      clearPendingPortalMessages in interface com.aquima.interactions.portal.ISessionScope
    • removePendingPortalMessages

      public com.aquima.interactions.portal.IPortalMessage[] removePendingPortalMessages()
      Specified by:
      removePendingPortalMessages in interface com.aquima.interactions.portal.ISessionScope
    • activate

      public void activate(com.aquima.interactions.portal.ISessionActivationContext sessionActivationContext)
      Specified by:
      activate in interface com.aquima.interactions.portal.ISessionLifecycle
    • passivate

      public void passivate()
      Specified by:
      passivate in interface com.aquima.interactions.portal.ISessionLifecycle
    • getType

      public com.aquima.interactions.portal.model.session.scope.PortalScopeType getType()
      Specified by:
      getType in interface com.aquima.interactions.portal.IPortalScope
      Overrides:
      getType in class TestPortalScope