cz.muni.fi.pclis.service.peerEvaluation
Interface SelfEvaluationAssignmentService

All Superinterfaces:
GenericService<SelfEvaluationAssignment>, PeerEvaluationAssignmentService<SelfEvaluationAssignment>
All Known Implementing Classes:
SelfEvaluationAssignmentServiceImpl

public interface SelfEvaluationAssignmentService
extends PeerEvaluationAssignmentService<SelfEvaluationAssignment>

User: Ľuboš Pecho Date: 1.4.2010 Time: 16:17:59 To change this template use File | Settings | File Templates.


Method Summary
 SelfEvaluationAssignment create(SelfEvaluationAssignment entity)
          persists the entity
 List<SelfEvaluationAssignment> getAll()
          returns all entities
 List<SelfEvaluationAssignment> getByCourseAndTerm(Course course, Term term)
           
 SelfEvaluationAssignment getById(long id)
          get the entity with given id
 SelfEvaluationAssignment refresh(SelfEvaluationAssignment entity)
          refreshes the entity from database
 void remove(SelfEvaluationAssignment entity)
          removes a persisted entity
 void removeById(long id)
          removes entity with given id
 SelfEvaluationAssignment searchById(long id)
          searches the entity with given id
 SelfEvaluationAssignment update(SelfEvaluationAssignment entity)
          updates the entity
 
Methods inherited from interface cz.muni.fi.pclis.service.peerEvaluation.PeerEvaluationAssignmentService
generateAndUpdate
 

Method Detail

getById

SelfEvaluationAssignment getById(long id)
Description copied from interface: GenericService
get the entity with given id

Specified by:
getById in interface GenericService<SelfEvaluationAssignment>
Returns:
entity

searchById

SelfEvaluationAssignment searchById(long id)
Description copied from interface: GenericService
searches the entity with given id

Specified by:
searchById in interface GenericService<SelfEvaluationAssignment>
Returns:
entity, null if none is found

getAll

List<SelfEvaluationAssignment> getAll()
Description copied from interface: GenericService
returns all entities

Specified by:
getAll in interface GenericService<SelfEvaluationAssignment>
Returns:

create

SelfEvaluationAssignment create(SelfEvaluationAssignment entity)
Description copied from interface: GenericService
persists the entity

Specified by:
create in interface GenericService<SelfEvaluationAssignment>
Returns:

update

SelfEvaluationAssignment update(SelfEvaluationAssignment entity)
Description copied from interface: GenericService
updates the entity

Specified by:
update in interface GenericService<SelfEvaluationAssignment>
Returns:

remove

void remove(SelfEvaluationAssignment entity)
Description copied from interface: GenericService
removes a persisted entity

Specified by:
remove in interface GenericService<SelfEvaluationAssignment>

removeById

void removeById(long id)
Description copied from interface: GenericService
removes entity with given id

Specified by:
removeById in interface GenericService<SelfEvaluationAssignment>

refresh

SelfEvaluationAssignment refresh(SelfEvaluationAssignment entity)
Description copied from interface: GenericService
refreshes the entity from database

Specified by:
refresh in interface GenericService<SelfEvaluationAssignment>
Returns:

getByCourseAndTerm

List<SelfEvaluationAssignment> getByCourseAndTerm(Course course,
                                                  Term term)


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