org.molgenis.service
Class IndividualService

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

@Lazy
@Service
public class IndividualService
extends Object


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

Constructor Detail

IndividualService

public IndividualService()
Method Detail

create

public Individual create(Individual individual)
                  throws DatabaseException
Throws:
DatabaseException

read

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

update

public void update(Individual individual)
            throws DatabaseException
Throws:
DatabaseException

deleteById

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

readAll

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

readAll

public EntityPager<Individual> 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.