cz.muni.fi.pclis.service.feedback
Class FeedbackServiceImpl

java.lang.Object
  extended by cz.muni.fi.pclis.service.feedback.FeedbackServiceImpl
All Implemented Interfaces:
FeedbackService

@Transactional
public class FeedbackServiceImpl
extends Object
implements FeedbackService

User: Ľuboš Pecho Date: 18.9.2009 Time: 13:59:08


Field Summary
private  GenericServiceImpl<Feedback,FeedbackDao> impl
           
 
Constructor Summary
FeedbackServiceImpl()
           
 
Method Summary
 Feedback create(Feedback entity)
           
 List<Feedback> getAll()
           
 List<Feedback> getByEducatableAndTerm(Educatable educatable, Term term)
           
 List<Feedback> getByEducatableTermAndTopic(Educatable educatable, Term term, String topic)
           
 Feedback getById(long id)
           
 FeedbackDao getDao()
           
 void readFeedback(long id, User user)
           
 Feedback refresh(Feedback entity)
           
 void remove(Feedback entity)
           
 Feedback searchById(long id)
           
 Feedback searchByUserEducatableTermAndTopic(User user, Educatable educatable, Term term, String topic)
           
 void setDao(FeedbackDao feedbackDao)
           
 Feedback update(Feedback entity)
           
 FeedbackDao useDao()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

impl

private GenericServiceImpl<Feedback,FeedbackDao> impl
Constructor Detail

FeedbackServiceImpl

public FeedbackServiceImpl()
Method Detail

getById

public Feedback getById(long id)
Specified by:
getById in interface FeedbackService

searchById

public Feedback searchById(long id)
Specified by:
searchById in interface FeedbackService

searchByUserEducatableTermAndTopic

public Feedback searchByUserEducatableTermAndTopic(User user,
                                                   Educatable educatable,
                                                   Term term,
                                                   String topic)
Specified by:
searchByUserEducatableTermAndTopic in interface FeedbackService

getByEducatableAndTerm

public List<Feedback> getByEducatableAndTerm(Educatable educatable,
                                             Term term)
Specified by:
getByEducatableAndTerm in interface FeedbackService

getByEducatableTermAndTopic

public List<Feedback> getByEducatableTermAndTopic(Educatable educatable,
                                                  Term term,
                                                  String topic)
Specified by:
getByEducatableTermAndTopic in interface FeedbackService

getAll

public List<Feedback> getAll()
Specified by:
getAll in interface FeedbackService

create

public Feedback create(Feedback entity)
Specified by:
create in interface FeedbackService

update

public Feedback update(Feedback entity)
Specified by:
update in interface FeedbackService

readFeedback

public void readFeedback(long id,
                         User user)
Specified by:
readFeedback in interface FeedbackService

remove

public void remove(Feedback entity)
Specified by:
remove in interface FeedbackService

refresh

public Feedback refresh(Feedback entity)
Specified by:
refresh in interface FeedbackService

useDao

public FeedbackDao useDao()

getDao

public FeedbackDao getDao()

setDao

public void setDao(FeedbackDao feedbackDao)


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