org.neo4j.server.plugins
Class ParameterList

java.lang.Object
  extended by org.neo4j.server.plugins.ParameterList

public abstract class ParameterList
extends Object


Constructor Summary
ParameterList(Map<String,Object> data)
           
 
Method Summary
 Map<String,Object> asMap()
           
protected abstract  Boolean convertBoolean(Object value)
           
protected abstract  Byte convertByte(Object value)
           
protected abstract  Character convertCharacter(Object value)
           
protected abstract  Double convertDouble(Object value)
           
protected abstract  Float convertFloat(Object value)
           
protected abstract  Integer convertInteger(Object value)
           
protected abstract  Long convertLong(Object value)
           
protected abstract  org.neo4j.graphdb.Node convertNode(org.neo4j.kernel.AbstractGraphDatabase graphDb, Object value)
           
protected abstract  org.neo4j.graphdb.Relationship convertRelationship(org.neo4j.kernel.AbstractGraphDatabase graphDb, Object value)
           
protected abstract  Short convertShort(Object value)
           
protected abstract  String convertString(Object value)
           
protected  URI convertURI(Object value)
           
 Boolean getBoolean(String name)
           
 Boolean[] getBooleanList(String name)
           
 Byte getByte(String name)
           
 Byte[] getByteList(String name)
           
 Character getCharacter(String name)
           
 Character[] getCharacterList(String name)
           
 Double getDouble(String name)
           
 Double[] getDoubleList(String name)
           
 Float getFloat(String name)
           
 Float[] getFloatList(String name)
           
 Integer getInteger(String name)
           
 Integer[] getIntegerList(String name)
           
 Long getLong(String name)
           
 Long[] getLongList(String name)
           
 Map getMap(String name)
           
 org.neo4j.graphdb.Node getNode(org.neo4j.kernel.AbstractGraphDatabase graphDb, String name)
           
 org.neo4j.graphdb.Node[] getNodeList(org.neo4j.kernel.AbstractGraphDatabase graphDb, String name)
           
 org.neo4j.graphdb.Relationship getRelationship(org.neo4j.kernel.AbstractGraphDatabase graphDb, String name)
           
 org.neo4j.graphdb.Relationship[] getRelationshipList(org.neo4j.kernel.AbstractGraphDatabase graphDb, String name)
           
 Short getShort(String name)
           
 Short[] getShortList(String name)
           
 String getString(String name)
           
 String[] getStringList(String name)
           
 URI getUri(String name)
           
 URI[] getUriList(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterList

public ParameterList(Map<String,Object> data)
Method Detail

asMap

public Map<String,Object> asMap()

getString

public String getString(String name)
                 throws BadInputException
Throws:
BadInputException

getStringList

public String[] getStringList(String name)
                       throws BadInputException
Throws:
BadInputException

convertString

protected abstract String convertString(Object value)
                                 throws BadInputException
Throws:
BadInputException

getInteger

public Integer getInteger(String name)
                   throws BadInputException
Throws:
BadInputException

getIntegerList

public Integer[] getIntegerList(String name)
                         throws BadInputException
Throws:
BadInputException

convertInteger

protected abstract Integer convertInteger(Object value)
                                   throws BadInputException
Throws:
BadInputException

getLong

public Long getLong(String name)
             throws BadInputException
Throws:
BadInputException

getLongList

public Long[] getLongList(String name)
                   throws BadInputException
Throws:
BadInputException

convertLong

protected abstract Long convertLong(Object value)
                             throws BadInputException
Throws:
BadInputException

getByte

public Byte getByte(String name)
             throws BadInputException
Throws:
BadInputException

getByteList

public Byte[] getByteList(String name)
                   throws BadInputException
Throws:
BadInputException

convertByte

protected abstract Byte convertByte(Object value)
                             throws BadInputException
Throws:
BadInputException

getCharacter

public Character getCharacter(String name)
                       throws BadInputException
Throws:
BadInputException

getCharacterList

public Character[] getCharacterList(String name)
                             throws BadInputException
Throws:
BadInputException

convertCharacter

protected abstract Character convertCharacter(Object value)
                                       throws BadInputException
Throws:
BadInputException

getBoolean

public Boolean getBoolean(String name)
                   throws BadInputException
Throws:
BadInputException

getBooleanList

public Boolean[] getBooleanList(String name)
                         throws BadInputException
Throws:
BadInputException

convertBoolean

protected abstract Boolean convertBoolean(Object value)
                                   throws BadInputException
Throws:
BadInputException

getShort

public Short getShort(String name)
               throws BadInputException
Throws:
BadInputException

getShortList

public Short[] getShortList(String name)
                     throws BadInputException
Throws:
BadInputException

convertShort

protected abstract Short convertShort(Object value)
                               throws BadInputException
Throws:
BadInputException

getFloat

public Float getFloat(String name)
               throws BadInputException
Throws:
BadInputException

getFloatList

public Float[] getFloatList(String name)
                     throws BadInputException
Throws:
BadInputException

convertFloat

protected abstract Float convertFloat(Object value)
                               throws BadInputException
Throws:
BadInputException

getDouble

public Double getDouble(String name)
                 throws BadInputException
Throws:
BadInputException

getDoubleList

public Double[] getDoubleList(String name)
                       throws BadInputException
Throws:
BadInputException

convertDouble

protected abstract Double convertDouble(Object value)
                                 throws BadInputException
Throws:
BadInputException

getNode

public org.neo4j.graphdb.Node getNode(org.neo4j.kernel.AbstractGraphDatabase graphDb,
                                      String name)
                               throws BadInputException
Throws:
BadInputException

getNodeList

public org.neo4j.graphdb.Node[] getNodeList(org.neo4j.kernel.AbstractGraphDatabase graphDb,
                                            String name)
                                     throws BadInputException
Throws:
BadInputException

convertNode

protected abstract org.neo4j.graphdb.Node convertNode(org.neo4j.kernel.AbstractGraphDatabase graphDb,
                                                      Object value)
                                               throws BadInputException
Throws:
BadInputException

getRelationship

public org.neo4j.graphdb.Relationship getRelationship(org.neo4j.kernel.AbstractGraphDatabase graphDb,
                                                      String name)
                                               throws BadInputException
Throws:
BadInputException

getRelationshipList

public org.neo4j.graphdb.Relationship[] getRelationshipList(org.neo4j.kernel.AbstractGraphDatabase graphDb,
                                                            String name)
                                                     throws BadInputException
Throws:
BadInputException

convertRelationship

protected abstract org.neo4j.graphdb.Relationship convertRelationship(org.neo4j.kernel.AbstractGraphDatabase graphDb,
                                                                      Object value)
                                                               throws BadInputException
Throws:
BadInputException

getUri

public URI getUri(String name)
           throws BadInputException
Throws:
BadInputException

getUriList

public URI[] getUriList(String name)
                 throws BadInputException
Throws:
BadInputException

convertURI

protected URI convertURI(Object value)
                  throws BadInputException
Throws:
BadInputException

getMap

public Map getMap(String name)
           throws BadInputException
Throws:
BadInputException


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