java.lang.Object
com.aquima.interactions.portal.model.session.scope.ProjectChange
All Implemented Interfaces:
IProjectChange

public class ProjectChange extends Object implements IProjectChange
Project change implementation.
Since:
9.8
Author:
V.Moldovan
  • Constructor Details

    • ProjectChange

      public ProjectChange(boolean newTab, String url, String newSessionId)
      Parameters:
      newTab - Flag indicating that the project change should occur in the same tab or in another tab.
      url - The URL where the change takes place. May not be null or empty.
      newSessionId - The id of a new session. Can be empty if no new session was created.
  • Method Details

    • isNewTab

      public boolean isNewTab()
      Specified by:
      isNewTab in interface IProjectChange
      Returns:
      Whether the client should open the new session in a new tab or in the same tab.
    • getUrl

      public String getUrl()
      Specified by:
      getUrl in interface IProjectChange
      Returns:
      The URL where the window should set its next location.
    • getNewSessionId

      public String getNewSessionId()
      Specified by:
      getNewSessionId in interface IProjectChange
      Returns:
      The session id of the new session.
    • toString

      public String toString()
      Overrides:
      toString in class Object