@Service(value={java.lang.Object.class,GlobalMenuItemsProvider.class}) @Property(name="javax.ws.rs", boolValue=true) public class Backup extends Object implements GlobalMenuItemsProvider
Constructor and Description |
---|
Backup() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
The activate method is called when SCR activates the component configuration.
|
protected void |
deactivate(org.osgi.service.component.ComponentContext context) |
javax.ws.rs.core.Response |
download()
Get a zipped file containing all triple collections which the
user may access.
|
Set<GlobalMenuItem> |
getMenuItems()
Returns a
Set of GlobalMenuItem S. |
GraphNode |
overviewPage() |
protected void activate(org.osgi.service.component.ComponentContext componentContext)
componentContext
- protected void deactivate(org.osgi.service.component.ComponentContext context)
public javax.ws.rs.core.Response download()
public GraphNode overviewPage()
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.