org.rhq.enterprise.gui.perspectives
Class PerspectiveUIBean

java.lang.Object
  extended by org.rhq.enterprise.gui.perspectives.PerspectiveUIBean

@Name(value="PerspectiveUIBean")
@Scope(value=PAGE)
public class PerspectiveUIBean
extends Object

Bean dynamically provides menu information used by menu.xhtml. This bean should be viewed concurrently with menu.xhtml and it's designed to provide static or dynamic menu content for menu.xhtml.

Author:
Simeon Pinder, Jay Shaughnessy

Constructor Summary
PerspectiveUIBean()
           
 
Method Summary
 List<org.rhq.enterprise.server.perspective.MenuItem> getCoreMenu()
           
 String getUrlViaKey()
          Using the required request parameter 'targetUrlKey', as set in the extension, resolve that key into the targetUrl for the extension's content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerspectiveUIBean

public PerspectiveUIBean()
Method Detail

getCoreMenu

public List<org.rhq.enterprise.server.perspective.MenuItem> getCoreMenu()

getUrlViaKey

public String getUrlViaKey()
Using the required request parameter 'targetUrlKey', as set in the extension, resolve that key into the targetUrl for the extension's content.

Returns:
null if 'targetUrlKey' param is invalid.


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