Interface PerspectiveInfoService

  • All Known Implementing Classes:
    DefaultPerspectiveInfoService

    public interface PerspectiveInfoService
    Allows to retrieve information about user perspectives.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getSelectedId()
      Returns identifier of the perspective selected by the user or null if service does not store that information.
      boolean hasSelectedId()
      Tests whether service stores identifier of the perspective selected by the user.
      void setSelectedId​(java.lang.String id)
      Sets identifier of the perspective selected by the user.
    • Method Detail

      • hasSelectedId

        boolean hasSelectedId()
        Tests whether service stores identifier of the perspective selected by the user.
        Returns:
        true whether service stores identifier, otherwise false.
      • getSelectedId

        java.lang.String getSelectedId()
        Returns identifier of the perspective selected by the user or null if service does not store that information.
        Returns:
        selected perspective identifier or null.
        See Also:
        hasSelectedId()
      • setSelectedId

        void setSelectedId​(java.lang.String id)
        Sets identifier of the perspective selected by the user. This method does not change state for view or model.
        Parameters:
        id - the chosen perspective id.