Class DefaultPerspectiveInfoService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String SELECTED_ID_ATTRIBUTE_NAME
      Name of attribute, in Cockpit session service, which stores identifier of selected perspective.
    • Method Summary

      All Methods Instance Methods Concrete 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.
      CockpitSessionService getSessionService()  
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SELECTED_ID_ATTRIBUTE_NAME

        protected static final java.lang.String SELECTED_ID_ATTRIBUTE_NAME
        Name of attribute, in Cockpit session service, which stores identifier of selected perspective.
    • Constructor Detail

      • DefaultPerspectiveInfoService

        @Deprecated(since="6.7",
                    forRemoval=true)
        public DefaultPerspectiveInfoService​(CockpitSessionService sessionService)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 6.7 no longer used. Please use setter injection
        Constructs a new instance.
        Parameters:
        sessionService - the Cockpit session service (cannot be null).
      • DefaultPerspectiveInfoService

        public DefaultPerspectiveInfoService()