org.molgenis.service
Class PersonService

java.lang.Object
  extended by org.molgenis.service.PersonService

@Lazy
@Service
public class PersonService
extends Object


Constructor Summary
PersonService()
           
 
Method Summary
 Person create(Person person)
           
 boolean deleteById(Integer id)
           
 Entity getEntity()
           
 Person read(Integer id)
           
 Iterable<Person> readAll()
           
 EntityPager<Person> readAll(int start, int num, List<QueryRule> queryRules)
           
 void update(Person person)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonService

public PersonService()
Method Detail

create

public Person create(Person person)
              throws DatabaseException
Throws:
DatabaseException

read

public Person read(Integer id)
            throws DatabaseException
Throws:
DatabaseException

update

public void update(Person person)
            throws DatabaseException
Throws:
DatabaseException

deleteById

public boolean deleteById(Integer id)
                   throws DatabaseException
Throws:
DatabaseException

readAll

public Iterable<Person> readAll()
                         throws DatabaseException
Throws:
DatabaseException

readAll

public EntityPager<Person> readAll(int start,
                                   int num,
                                   List<QueryRule> queryRules)
                            throws DatabaseException
Throws:
DatabaseException

getEntity

public Entity getEntity()
                 throws DatabaseException
Throws:
DatabaseException


Copyright © 2013. All Rights Reserved.