cz.muni.fi.pclis.service.learningContracts
Interface LearningContractService
- All Known Implementing Classes:
- LearningContractServiceImpl
public interface LearningContractService
User: Ľuboš Pecho
Date: 11.2.2010
Time: 9:33:31
getById
LearningContract getById(long id)
searchById
LearningContract searchById(long id)
getAll
List<LearningContract> getAll()
create
LearningContract create(LearningContract entity)
update
LearningContract update(LearningContract entity)
remove
void remove(LearningContract entity)
removeById
void removeById(long id)
refresh
LearningContract refresh(LearningContract entity)
getByCourseAndTerm
List<LearningContract> getByCourseAndTerm(Course course,
Term term)
getVotesCountsByCourseAndTerm
int[] getVotesCountsByCourseAndTerm(Course course,
Term term)
voteForContract
void voteForContract(long contractId,
User user)
addAdditionToContract
void addAdditionToContract(long contractId,
ContractAddition contractAddition)
getVotes
int getVotes(long contractId)
acceptLearningContractAddition
void acceptLearningContractAddition(long additionId)
Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.