org.molgenis.service
Class OntologyService

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

@Lazy
@Service
public class OntologyService
extends Object


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

Constructor Detail

OntologyService

public OntologyService()
Method Detail

create

public Ontology create(Ontology ontology)
                throws DatabaseException
Throws:
DatabaseException

read

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

update

public void update(Ontology ontology)
            throws DatabaseException
Throws:
DatabaseException

deleteById

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

readAll

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

readAll

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