cz.muni.fi.pclis.service
Class CourseServiceImpl

java.lang.Object
  extended by 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


Field Summary
private  GenericServiceImpl<Course,CourseDao> impl
           
 
Constructor Summary
CourseServiceImpl()
           
 
Method Summary
 Course create(Course entity)
           
 List<Course> getAll()
           
 Course getById(long id)
           
 CourseDao getDao()
           
 Course refresh(Course entity)
           
 void remove(Course entity)
           
 Course searchById(long id)
           
 void setDao(CourseDao courseDao)
           
 Course update(Course entity)
           
 Course update(long id, Course newCourse)
           
 CourseDao useDao()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

impl

private GenericServiceImpl<Course,CourseDao> impl
Constructor Detail

CourseServiceImpl

public CourseServiceImpl()
Method Detail

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.