org.molgenis.service
Class SampleService

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

@Lazy
@Service
public class SampleService
extends Object


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

Constructor Detail

SampleService

public SampleService()
Method Detail

create

public Sample create(Sample sample)
              throws DatabaseException
Throws:
DatabaseException

read

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

update

public void update(Sample sample)
            throws DatabaseException
Throws:
DatabaseException

deleteById

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

readAll

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

readAll

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