org.molgenis.service
Class ProtocolService

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

@Lazy
@Service
public class ProtocolService
extends Object


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

Constructor Detail

ProtocolService

public ProtocolService()
Method Detail

create

public Protocol create(Protocol protocol)
                throws DatabaseException
Throws:
DatabaseException

read

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

update

public void update(Protocol protocol)
            throws DatabaseException
Throws:
DatabaseException

deleteById

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

readAll

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

readAll

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