Class NavAppPerspective

java.lang.Object
org.hippoecm.frontend.plugins.standards.perspective.NavAppPerspective
All Implemented Interfaces:
Serializable

public class NavAppPerspective extends Object implements Serializable
Provides utility methods for NavApp related properties of Perspectives
See Also:
  • Constructor Details

    • NavAppPerspective

      public NavAppPerspective(String perspectiveClassName)
      Constructs a new instance from the fully qualified perspective class name. It is assumed that the provided class name is a subclass of Perspective.
      Parameters:
      perspectiveClassName - fully qualified class name
  • Method Details

    • getId

      public String getId()
      Returns the unique NavApp menu item id of the perspective with the given class name.
      Returns:
      app id
    • getAppPath

      public String getAppPath()
      Returns the NapApp path of this perspective. The app path is part of the browser location URL and is needed to support bookmark-able links.
      Returns:
      app path of the perspective
    • getDisplayName

      public String getDisplayName(Locale locale)
      Returns the localized human readable name of the perspective with the given class name.
      Parameters:
      locale - requested locale
      Returns:
      display name of the perspective