Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.examples.socnet
Class PersonRepository

    java.lang.Object
      org.neo4j.examples.socnet.PersonRepository

    public class PersonRepository

extends Object

Constructor Summary
`PersonRepository(org.neo4j.graphdb.GraphDatabaseService graphDb, org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> index)`

Method Summary
`Person` | `createPerson(String name)`
`void` | `deletePerson(Person person)`
`Iterable<Person>` | `getAllPersons()`
`Person` | `getPersonByName(String name)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PersonRepository

    public PersonRepository(org.neo4j.graphdb.GraphDatabaseService graphDb,
                            org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> index)

Method Detail

### createPerson

    public Person createPerson(String name)
                        throws Exception

  Throws:
    `Exception`

### getPersonByName

    public Person getPersonByName(String name)

### deletePerson

    public void deletePerson(Person person)

### getAllPersons

    public Iterable<Person> getAllPersons()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.