org.neo4j.server.rest.web
Class ExtensionService

java.lang.Object
  extended by org.neo4j.server.rest.web.ExtensionService

public class ExtensionService
extends Object


Constructor Summary
ExtensionService(org.neo4j.server.rest.repr.InputFormat input, OutputFormat output, PluginInvocator extensions, Database database)
           
 
Method Summary
protected  org.neo4j.server.rest.repr.Representation describeGraphDatabaseExtension(String extensionName, String method)
           
protected  org.neo4j.server.rest.repr.Representation describeNodeExtension(String extensionName, String method)
           
protected  org.neo4j.server.rest.repr.Representation describeRelationshipExtension(String extensionName, String method)
           
protected  org.neo4j.server.rest.repr.Representation extensionList(String extensionName)
           
protected  org.neo4j.server.rest.repr.Representation extensionsList()
           
 javax.ws.rs.core.Response getExtensionList(String name)
           
 javax.ws.rs.core.Response getExtensionsList()
           
 javax.ws.rs.core.Response getGraphDatabaseExtensionDescription(String name, String method)
           
 javax.ws.rs.core.Response getNodeExtensionDescription(String name, String method, long nodeId)
           
 javax.ws.rs.core.Response getRelationshipExtensionDescription(String name, String method, long relationshipId)
           
protected  org.neo4j.server.rest.repr.Representation invokeGraphDatabaseExtension(String extensionName, String method, org.neo4j.server.plugins.ParameterList data)
           
 javax.ws.rs.core.Response invokeGraphDatabaseExtension(String name, String method, String data)
           
protected  org.neo4j.server.rest.repr.Representation invokeNodeExtension(long nodeId, String extensionName, String method, org.neo4j.server.plugins.ParameterList data)
           
 javax.ws.rs.core.Response invokeNodeExtension(String name, String method, long nodeId, String data)
           
protected  org.neo4j.server.rest.repr.Representation invokeRelationshipExtension(long relationshipId, String extensionName, String method, org.neo4j.server.plugins.ParameterList data)
           
 javax.ws.rs.core.Response invokeRelationshipExtension(String name, String method, long relationshipId, String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionService

public ExtensionService(@Context
                        org.neo4j.server.rest.repr.InputFormat input,
                        @Context
                        OutputFormat output,
                        @Context
                        PluginInvocator extensions,
                        @Context
                        Database database)
Method Detail

getExtensionsList

public javax.ws.rs.core.Response getExtensionsList()

getExtensionList

public javax.ws.rs.core.Response getExtensionList(String name)

invokeGraphDatabaseExtension

public javax.ws.rs.core.Response invokeGraphDatabaseExtension(String name,
                                                              String method,
                                                              String data)

getGraphDatabaseExtensionDescription

public javax.ws.rs.core.Response getGraphDatabaseExtensionDescription(String name,
                                                                      String method)

invokeNodeExtension

public javax.ws.rs.core.Response invokeNodeExtension(String name,
                                                     String method,
                                                     long nodeId,
                                                     String data)

getNodeExtensionDescription

public javax.ws.rs.core.Response getNodeExtensionDescription(String name,
                                                             String method,
                                                             long nodeId)

invokeRelationshipExtension

public javax.ws.rs.core.Response invokeRelationshipExtension(String name,
                                                             String method,
                                                             long relationshipId,
                                                             String data)

getRelationshipExtensionDescription

public javax.ws.rs.core.Response getRelationshipExtensionDescription(String name,
                                                                     String method,
                                                                     long relationshipId)

extensionsList

protected org.neo4j.server.rest.repr.Representation extensionsList()

extensionList

protected org.neo4j.server.rest.repr.Representation extensionList(String extensionName)
                                                           throws org.neo4j.server.plugins.PluginLookupException
Throws:
org.neo4j.server.plugins.PluginLookupException

invokeGraphDatabaseExtension

protected org.neo4j.server.rest.repr.Representation invokeGraphDatabaseExtension(String extensionName,
                                                                                 String method,
                                                                                 org.neo4j.server.plugins.ParameterList data)
                                                                          throws org.neo4j.server.plugins.PluginLookupException,
                                                                                 org.neo4j.server.rest.repr.BadInputException,
                                                                                 org.neo4j.server.plugins.PluginInvocationFailureException,
                                                                                 org.neo4j.server.plugins.BadPluginInvocationException
Throws:
org.neo4j.server.plugins.PluginLookupException
org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.plugins.PluginInvocationFailureException
org.neo4j.server.plugins.BadPluginInvocationException

describeGraphDatabaseExtension

protected org.neo4j.server.rest.repr.Representation describeGraphDatabaseExtension(String extensionName,
                                                                                   String method)
                                                                            throws org.neo4j.server.plugins.PluginLookupException
Throws:
org.neo4j.server.plugins.PluginLookupException

invokeNodeExtension

protected org.neo4j.server.rest.repr.Representation invokeNodeExtension(long nodeId,
                                                                        String extensionName,
                                                                        String method,
                                                                        org.neo4j.server.plugins.ParameterList data)
                                                                 throws org.neo4j.server.rest.web.NodeNotFoundException,
                                                                        org.neo4j.server.plugins.PluginLookupException,
                                                                        org.neo4j.server.rest.repr.BadInputException,
                                                                        org.neo4j.server.plugins.PluginInvocationFailureException,
                                                                        org.neo4j.server.plugins.BadPluginInvocationException
Throws:
org.neo4j.server.rest.web.NodeNotFoundException
org.neo4j.server.plugins.PluginLookupException
org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.plugins.PluginInvocationFailureException
org.neo4j.server.plugins.BadPluginInvocationException

describeNodeExtension

protected org.neo4j.server.rest.repr.Representation describeNodeExtension(String extensionName,
                                                                          String method)
                                                                   throws org.neo4j.server.plugins.PluginLookupException
Throws:
org.neo4j.server.plugins.PluginLookupException

invokeRelationshipExtension

protected org.neo4j.server.rest.repr.Representation invokeRelationshipExtension(long relationshipId,
                                                                                String extensionName,
                                                                                String method,
                                                                                org.neo4j.server.plugins.ParameterList data)
                                                                         throws org.neo4j.server.rest.web.RelationshipNotFoundException,
                                                                                org.neo4j.server.plugins.PluginLookupException,
                                                                                org.neo4j.server.rest.repr.BadInputException,
                                                                                org.neo4j.server.plugins.PluginInvocationFailureException,
                                                                                org.neo4j.server.plugins.BadPluginInvocationException
Throws:
org.neo4j.server.rest.web.RelationshipNotFoundException
org.neo4j.server.plugins.PluginLookupException
org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.plugins.PluginInvocationFailureException
org.neo4j.server.plugins.BadPluginInvocationException

describeRelationshipExtension

protected org.neo4j.server.rest.repr.Representation describeRelationshipExtension(String extensionName,
                                                                                  String method)
                                                                           throws org.neo4j.server.plugins.PluginLookupException
Throws:
org.neo4j.server.plugins.PluginLookupException


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.