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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NavAppPerspective(String perspectiveClassName)
Constructs a new instance from the fully qualified perspective class name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAppPath()
Returns the NapApp path of this perspective.String
getDisplayName(Locale locale)
Returns the localized human readable name of the perspective with the given class name.String
getId()
Returns the unique NavApp menu item id of the perspective with the given class name.
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-