org.apache.clerezza.platform.dashboard.webinterface
Class DashBoard

java.lang.Object
  extended by org.apache.clerezza.platform.dashboard.webinterface.DashBoard
All Implemented Interfaces:
GlobalMenuItemsProvider

@Services(value={@Service(value=java.lang.Object.class),@Service(value=org.apache.clerezza.platform.dashboard.GlobalMenuItemsProvider.class)})
@Property(name="javax.ws.rs",
          boolValue=true)
public class DashBoard
extends java.lang.Object
implements GlobalMenuItemsProvider

Author:
tio

Constructor Summary
DashBoard()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext cCtx)
           
 org.apache.clerezza.rdf.utils.GraphNode getHomePage(javax.ws.rs.core.UriInfo uriInfo)
          Returns the overview page of the dashboard.
 java.util.Set<GlobalMenuItem> getMenuItems()
           
 javax.ws.rs.core.Response redirectToHomePage(javax.ws.rs.core.UriInfo uriInfo)
          Redirects to the overview page
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DashBoard

public DashBoard()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext cCtx)
                 throws java.lang.Exception
Throws:
java.lang.Exception

redirectToHomePage

public javax.ws.rs.core.Response redirectToHomePage(@Context
                                                    javax.ws.rs.core.UriInfo uriInfo)
Redirects to the overview page

Returns:
Response

getHomePage

public org.apache.clerezza.rdf.utils.GraphNode getHomePage(@Context
                                                           javax.ws.rs.core.UriInfo uriInfo)
Returns the overview page of the dashboard.

Returns:
GraphNode

getMenuItems

public java.util.Set<GlobalMenuItem> getMenuItems()
Specified by:
getMenuItems in interface GlobalMenuItemsProvider


Copyright © 2011. All Rights Reserved.