-
Notifications
You must be signed in to change notification settings - Fork 3
Services
Michael Le edited this page Nov 25, 2017
·
10 revisions
- Methods encapsulating DAO logic: createUser, updateUser, removeUser, getAllUsers, getUserById, getUserByUsername
- Business logic methods:
- authenticate - checks if given username and password hash is valid
- isAdmin - checks if given user is an administrator
- Methods encapsulating DAO logic: createChannel, updateChannel, removeChannel, getAllChannels, getChannelById, getChannelByName, getChannelsByType
This service covers both Transmission and Transmission Occurrences. The reason is Transmission Occurrence is an integral part of Transmission and cannot, in business logic, exist separately.
- Methods encapsulating DAO logic: createTransmission, updateTransmission, removeTransmission, getTransmissionById, getTransmissionByName, getTransmissionsByType
- Methods encapsulating DAO logic for Transmission Occurrences: addOccurrence, updateOccurrence, removeOccurrence
- Business logic methods:
- getOccurrences - gets all occurrences of the transmission, incl. occurrences in history
- getUpcomingOccurrences - gets all upcoming occurrences of the transmission
- getVotings - gets all votings for the transmission
- getAverageVoting - gets average numeric voting for the transmission
- Methods encapsulating DAO logic: createVoting, updateVoting, removeVoting, getVotingsByTransmission, getVotingsByUser
- Business logic methods:
- followChannel - add channel to user favorites
- unfollowChannel - remove channel from user favorites
- getFavoriteChannels - get all users favorite channels
- Business logic methods:
- followTransmission
- unfollowTransmission
- getFavoriteTransmissionsByUser
- getUpcomingFavoriteTransmissionsByUser - get upcoming favorite transmissions (maximum time span shall be specified)
- Business logic methods:
- getSchedule - get schedule for specified list of channel and specified date time range
- getUserSchedule - getSchedule for specified user and specified date time range
- ObjectMapperService - maps one object to another (for DAO <-> DTO)
- DateTimeService - for getting date time rather than by direct usage of LocalDateTime, for better testability
- StatisticsService - calculates simple statistics, for more complex business functionality demonstration
- Home
- Assignment
- Specification & Analysis
- User Interface
- Team Dashboard (CZ)
- Git Workflow (CZ)
- Used Technologies