@Lazy @Service public class OntologyService extends Object
| Constructor and Description |
|---|
OntologyService() |
| Modifier and Type | Method and Description |
|---|---|
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) |
@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_ONTOLOGY\')") public Ontology create(Ontology ontology) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_ONTOLOGY\')") public Ontology read(Integer id) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_ONTOLOGY\')") public void update(Ontology ontology) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_ONTOLOGY\')") public boolean deleteById(Integer id) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_ONTOLOGY\')") public Iterable<Ontology> readAll() throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_ONTOLOGY\')") public EntityPager<Ontology> readAll(int start, int num, List<QueryRule> queryRules) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_ONTOLOGY\')") public Entity getEntity() throws DatabaseException
DatabaseExceptionCopyright © 2013. All Rights Reserved.