cz.muni.fi.pclis.service.learningExpectations
Class ExpectationPointServiceImpl

java.lang.Object
  extended by cz.muni.fi.pclis.service.learningExpectations.ExpectationPointServiceImpl
All Implemented Interfaces:
ExpectationPointService

@Transactional
public class ExpectationPointServiceImpl
extends Object
implements ExpectationPointService

User: Ľuboš Pecho Date: 6.9.2009 Time: 11:24:02


Field Summary
private  GenericServiceImpl<ExpectationPoint,ExpectationPointDao> impl
           
 
Constructor Summary
ExpectationPointServiceImpl()
           
 
Method Summary
 ExpectationPoint create(ExpectationPoint entity)
           
 List<ExpectationPoint> getAll()
           
 ExpectationPoint getById(long id)
           
 List<ExpectationPoint> getByTermAndCourse(Term term, Course course)
           
 List<ExpectationPoint> getByTermAndCourseAndUser(Term term, Course course, User user)
           
 ExpectationPointDao getDao()
           
 ExpectationPoint refresh(ExpectationPoint entity)
           
 void remove(ExpectationPoint entity)
           
 void removeById(long id)
           
 ExpectationPoint searchById(long id)
           
 void setDao(ExpectationPointDao expectationPointDao)
           
 ExpectationPoint update(ExpectationPoint entity)
           
 ExpectationPointDao useDao()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

impl

private GenericServiceImpl<ExpectationPoint,ExpectationPointDao> impl
Constructor Detail

ExpectationPointServiceImpl

public ExpectationPointServiceImpl()
Method Detail

getById

public ExpectationPoint getById(long id)
Specified by:
getById in interface ExpectationPointService

searchById

public ExpectationPoint searchById(long id)
Specified by:
searchById in interface ExpectationPointService

getAll

public List<ExpectationPoint> getAll()
Specified by:
getAll in interface ExpectationPointService

getByTermAndCourse

public List<ExpectationPoint> getByTermAndCourse(Term term,
                                                 Course course)
Specified by:
getByTermAndCourse in interface ExpectationPointService

getByTermAndCourseAndUser

public List<ExpectationPoint> getByTermAndCourseAndUser(Term term,
                                                        Course course,
                                                        User user)
Specified by:
getByTermAndCourseAndUser in interface ExpectationPointService

create

public ExpectationPoint create(ExpectationPoint entity)
Specified by:
create in interface ExpectationPointService

update

public ExpectationPoint update(ExpectationPoint entity)
Specified by:
update in interface ExpectationPointService

remove

public void remove(ExpectationPoint entity)
Specified by:
remove in interface ExpectationPointService

removeById

public void removeById(long id)
Specified by:
removeById in interface ExpectationPointService

refresh

public ExpectationPoint refresh(ExpectationPoint entity)
Specified by:
refresh in interface ExpectationPointService

useDao

public ExpectationPointDao useDao()

getDao

public ExpectationPointDao getDao()

setDao

public void setDao(ExpectationPointDao expectationPointDao)


Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.