org.molgenis.service
Class ProjectService

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

@Lazy
@Service
public class ProjectService
extends Object


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

Constructor Detail

ProjectService

public ProjectService()
Method Detail

create

public Project create(Project project)
               throws DatabaseException
Throws:
DatabaseException

read

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

update

public void update(Project project)
            throws DatabaseException
Throws:
DatabaseException

deleteById

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

readAll

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

readAll

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