cz.muni.fi.pclis.service
Class CourseServiceImpl
java.lang.Object
cz.muni.fi.pclis.service.CourseServiceImpl
- All Implemented Interfaces:
- CourseService
@Transactional
public class CourseServiceImpl
- extends Object
- implements CourseService
User: Ľuboš Pecho
Date: 12.8.2009
Time: 17:36:10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
impl
private GenericServiceImpl<Course,CourseDao> impl
CourseServiceImpl
public CourseServiceImpl()
getById
public Course getById(long id)
- Specified by:
getById
in interface CourseService
searchById
public Course searchById(long id)
- Specified by:
searchById
in interface CourseService
getAll
public List<Course> getAll()
- Specified by:
getAll
in interface CourseService
create
public Course create(Course entity)
- Specified by:
create
in interface CourseService
update
public Course update(Course entity)
- Specified by:
update
in interface CourseService
update
public Course update(long id,
Course newCourse)
- Specified by:
update
in interface CourseService
remove
public void remove(Course entity)
- Specified by:
remove
in interface CourseService
refresh
public Course refresh(Course entity)
- Specified by:
refresh
in interface CourseService
useDao
public CourseDao useDao()
getDao
public CourseDao getDao()
setDao
public void setDao(CourseDao courseDao)
Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.