cz.muni.fi.pclis.service.onlineConsultation
Class OnlineConsultationServiceImpl

java.lang.Object
  extended by cz.muni.fi.pclis.service.onlineConsultation.OnlineConsultationServiceImpl
All Implemented Interfaces:
OnlineConsultationService

@Transactional
public class OnlineConsultationServiceImpl
extends Object
implements OnlineConsultationService

User: Ľuboš Pecho Date: 27.2.2010 Time: 16:10:41


Field Summary
private  GenericServiceImpl<OnlineConsultation,OnlineConsultationDao> impl
           
 
Constructor Summary
OnlineConsultationServiceImpl()
           
 
Method Summary
 OnlineConsultation create(OnlineConsultation entity)
           
 List<OnlineConsultation> getAll()
           
 List<OnlineConsultation> getByCourseAndTerm(Course course, Term term)
           
 OnlineConsultation getById(long id)
           
 OnlineConsultationDao getDao()
           
 OnlineConsultation refresh(OnlineConsultation entity)
           
 void registerStudent(long consultationId, User user)
           
 void registerTeacher(long consultationId, User user)
           
 void remove(OnlineConsultation entity)
           
 void removeById(long id)
           
 OnlineConsultation searchById(long id)
           
 void setDao(OnlineConsultationDao onlineConsultationDao)
           
 OnlineConsultation update(OnlineConsultation entity)
           
 OnlineConsultationDao useDao()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

impl

private GenericServiceImpl<OnlineConsultation,OnlineConsultationDao> impl
Constructor Detail

OnlineConsultationServiceImpl

public OnlineConsultationServiceImpl()
Method Detail

getById

public OnlineConsultation getById(long id)
Specified by:
getById in interface OnlineConsultationService

searchById

public OnlineConsultation searchById(long id)
Specified by:
searchById in interface OnlineConsultationService

getAll

public List<OnlineConsultation> getAll()
Specified by:
getAll in interface OnlineConsultationService

getByCourseAndTerm

public List<OnlineConsultation> getByCourseAndTerm(Course course,
                                                   Term term)
Specified by:
getByCourseAndTerm in interface OnlineConsultationService

create

public OnlineConsultation create(OnlineConsultation entity)
Specified by:
create in interface OnlineConsultationService

update

public OnlineConsultation update(OnlineConsultation entity)
Specified by:
update in interface OnlineConsultationService

remove

public void remove(OnlineConsultation entity)
Specified by:
remove in interface OnlineConsultationService

removeById

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

refresh

public OnlineConsultation refresh(OnlineConsultation entity)
Specified by:
refresh in interface OnlineConsultationService

registerTeacher

public void registerTeacher(long consultationId,
                            User user)
Specified by:
registerTeacher in interface OnlineConsultationService

registerStudent

public void registerStudent(long consultationId,
                            User user)
Specified by:
registerStudent in interface OnlineConsultationService

useDao

public OnlineConsultationDao useDao()

getDao

public OnlineConsultationDao getDao()

setDao

public void setDao(OnlineConsultationDao onlineConsultationDao)


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