org.rhq.enterprise.server.perspective
Interface PerspectiveManagerLocal

All Known Implementing Classes:
PerspectiveManagerBean

public interface PerspectiveManagerLocal


Method Summary
 java.util.List<MenuItem> getCoreMenu(Subject subject)
          Return the core menu for the specified subject.
 java.util.List<Tab> getResourceTabs(Subject subject, Resource resource)
          Returns the list of tabs that should be displayed for the specified user for the specified Resource.
 int getUrlKey(java.lang.String url)
           
 java.lang.String getUrlViaKey(int key)
           
 

Method Detail

getCoreMenu

java.util.List<MenuItem> getCoreMenu(Subject subject)
                                     throws PerspectiveException
Return the core menu for the specified subject. Depending on their inventory and roles the core menu for one subject1 could differ from that of subject2. Subsequent calls will return the same core menu for the same Subject. In other words, it does not change during a user session.

Parameters:
subject -
Returns:
Throws:
PerspectiveException

getResourceTabs

java.util.List<Tab> getResourceTabs(Subject subject,
                                    Resource resource)
Returns the list of tabs that should be displayed for the specified user for the specified Resource.

Parameters:
subject - a user
resource - an inventoried Resource
Returns:
the list of tabs that should be displayed for the specified user for the specified Resource

getUrlKey

int getUrlKey(java.lang.String url)

getUrlViaKey

java.lang.String getUrlViaKey(int key)


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.