org.molgenis.service
Class SpeciesService

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

@Lazy
@Service
public class SpeciesService
extends Object


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

Constructor Detail

SpeciesService

public SpeciesService()
Method Detail

create

public Species create(Species species)
               throws DatabaseException
Throws:
DatabaseException

read

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

update

public void update(Species species)
            throws DatabaseException
Throws:
DatabaseException

deleteById

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

readAll

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

readAll

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