org.molgenis.service
Class CategoryService

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

@Lazy
@Service
public class CategoryService
extends Object


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

Constructor Detail

CategoryService

public CategoryService()
Method Detail

create

public Category create(Category category)
                throws DatabaseException
Throws:
DatabaseException

read

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

update

public void update(Category category)
            throws DatabaseException
Throws:
DatabaseException

deleteById

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

readAll

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

readAll

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