@Services(value={@Service(value=java.lang.Object.class),@Service(value=org.apache.clerezza.platform.globalmenu.GlobalMenuItemsProvider.class)})
@Property(name="javax.ws.rs",
boolValue=true)
public class DashBoard
extends Object
implements org.apache.clerezza.platform.globalmenu.GlobalMenuItemsProvider
| Constructor and Description |
|---|
DashBoard() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Set<org.apache.clerezza.platform.globalmenu.GlobalMenuItem> |
getMenuItems() |
javax.ws.rs.core.Response |
redirectToHomePage(javax.ws.rs.core.UriInfo uriInfo)
Redirects to the overview page
|
protected void activate(org.osgi.service.component.ComponentContext cCtx)
throws Exception
Exceptionpublic javax.ws.rs.core.Response redirectToHomePage(@Context
javax.ws.rs.core.UriInfo uriInfo)
Responsepublic org.apache.clerezza.rdf.utils.GraphNode getHomePage(@Context
javax.ws.rs.core.UriInfo uriInfo)
GraphNodepublic Set<org.apache.clerezza.platform.globalmenu.GlobalMenuItem> getMenuItems()
getMenuItems in interface org.apache.clerezza.platform.globalmenu.GlobalMenuItemsProviderCopyright © 2014 The Apache Software Foundation. All rights reserved.