@Service(value={java.lang.Object.class,GlobalMenuItemsProvider.class}) @Property(name="javax.ws.rs", boolValue=true) public class GraphManagement extends Object implements GlobalMenuItemsProvider
Constructor and Description |
---|
GraphManagement() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext) |
Set<GlobalMenuItem> |
getMenuItems()
Returns a
Set of GlobalMenuItem S. |
GraphNode |
mainPage(javax.ws.rs.core.UriInfo uriInfo) |
protected void activate(org.osgi.service.component.ComponentContext componentContext)
public GraphNode mainPage(@Context javax.ws.rs.core.UriInfo uriInfo)
public Set<GlobalMenuItem> getMenuItems()
GlobalMenuItemsProvider
Set
of GlobalMenuItem
S. If there is
no GlobalMenuItem
available (e.g. the current user has not
the needed permissions) then the returned set is empty.getMenuItems
in interface GlobalMenuItemsProvider
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.