Class NavAppPerspective
java.lang.Object
org.hippoecm.frontend.plugins.standards.perspective.NavAppPerspective
- All Implemented Interfaces:
Serializable
Provides utility methods for NavApp related properties of Perspectives
- See Also:
-
Constructor Summary
ConstructorDescriptionNavAppPerspective
(String perspectiveClassName) Constructs a new instance from the fully qualified perspective class name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the NapApp path of this perspective.getDisplayName
(Locale locale) Returns the localized human readable name of the perspective with the given class name.getId()
Returns the unique NavApp menu item id of the perspective with the given class name.
-
Constructor Details
-
NavAppPerspective
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
Returns the unique NavApp menu item id of the perspective with the given class name.- Returns:
- app id
-
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
Returns the localized human readable name of the perspective with the given class name.- Parameters:
locale
- requested locale- Returns:
- display name of the perspective
-