Index
A C D E F G H I L M N P R S T U V W
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- addExchange(User, Exchange) - Method in class com.plannaplan.models.EmailExchangesData
-
method to add user and his event to data to be send
- ADMIN - com.plannaplan.types.UserRoles
- adminExists() - Method in class com.plannaplan.services.UserService
- AppConfig - Class in com.plannaplan.entities
-
entity that keeps app configurations
- AppConfig() - Constructor for class com.plannaplan.entities.AppConfig
-
no parameter construcotor
- AppConfig(TourData, TourData) - Constructor for class com.plannaplan.entities.AppConfig
-
constructor
- AppConfigRepository - Interface in com.plannaplan.repositories
-
Repository for app config
- AppState - Enum in com.plannaplan.types
- Assignment - Class in com.plannaplan.entities
-
Entity of Assignment grouping of state associated about group_id and commision_id
- Assignment() - Constructor for class com.plannaplan.entities.Assignment
- Assignment(Groups, Commision) - Constructor for class com.plannaplan.entities.Assignment
-
Assignment
- Assignment(Groups, Commision, boolean) - Constructor for class com.plannaplan.entities.Assignment
-
Assignment
- AssignmentRepository - Interface in com.plannaplan.repositories
-
AssignmentRepository.getByCommision: Return list of: SELECT * FROM Assignment WHERE commision_id = i .
- AssignmentService - Class in com.plannaplan.services
-
Service of Assignment which can save assignments, diplay assignments, get ammount of assigments.
- AssignmentService() - Constructor for class com.plannaplan.services.AssignmentService
- assignUser(User) - Method in class com.plannaplan.entities.Groups
C
- callAcceptAlgorythm() - Method in class com.plannaplan.services.AssignmentService
-
this method will activate accept algorythm for all students.
- checkForExchange(Assignment, Groups) - Method in interface com.plannaplan.repositories.ExchangeRepository
- checkForExchange(Assignment, Groups) - Method in class com.plannaplan.services.ExchangeService
- checkForUser(String, String) - Method in class com.plannaplan.services.UserService
-
checks if user exist and return him or creates new one with student role otherwise
- checkForUser(String, String, UserRoles) - Method in class com.plannaplan.services.UserService
-
checks if user exist and creates new one if doesn't
- claimGroup(Groups) - Method in class com.plannaplan.entities.User
- CLASS - com.plannaplan.types.GroupType
- collectGroupLosses() - Method in class com.plannaplan.services.EventService
- com.plannaplan.api - package com.plannaplan.api
-
Provides the classes necessary to obtain usos authentication with Oauth1
- com.plannaplan.configutils - package com.plannaplan.configutils
-
Provides the classes necessary to to config and import related operations in the app
- com.plannaplan.entities - package com.plannaplan.entities
-
Provides all entieites that are created in database by Hibernate
- com.plannaplan.exceptions - package com.plannaplan.exceptions
-
Provides custom for our app exceptions to get more accutrate errors info
- com.plannaplan.models - package com.plannaplan.models
-
Provides readonly (mostly) classes to keep data for diffrent pourposes
- com.plannaplan.repositories - package com.plannaplan.repositories
-
Provides jpa repositories interfaces to comunicate with database.
- com.plannaplan.services - package com.plannaplan.services
-
Provides service classes to make operations with entities or comunicate with external systems.
- com.plannaplan.types - package com.plannaplan.types
-
Provides enums for different goals.
- Commision - Class in com.plannaplan.entities
-
Entity of Commision grouping of state associated about commison and owner_id
- Commision() - Constructor for class com.plannaplan.entities.Commision
- Commision(User) - Constructor for class com.plannaplan.entities.Commision
- Commision(User, User) - Constructor for class com.plannaplan.entities.Commision
- CommisionRepository - Interface in com.plannaplan.repositories
-
CommisionRepository.getUsers: Return list of: SELECT * FROM Commision WHERE owner_id = i .
- CommisionService - Class in com.plannaplan.services
-
Service of CommisionService which can save commision, get user's commisions, get newest user's commision, get ammount of commisions.
- CommisionService() - Constructor for class com.plannaplan.services.CommisionService
- compare(MatchData) - Method in class com.plannaplan.models.MatchData
-
comparator for MatchData.
- config(ConfigData) - Method in class com.plannaplan.services.ConfiguratorService
-
methoid to config system.
- ConfigData - Class in com.plannaplan.models
-
Config data copntainer to keep tours dates and stream of dasta to import
- ConfigData(TourData, TourData, InputStream) - Constructor for class com.plannaplan.models.ConfigData
-
constructor
- ConfiguratorService - Class in com.plannaplan.services
-
FileReader is used for reading xls file from input stream.
- ConfiguratorService() - Constructor for class com.plannaplan.services.ConfiguratorService
- CONSERVATORY - com.plannaplan.types.GroupType
- convertToCSVRecord() - Method in class com.plannaplan.models.ExportData
- Course - Class in com.plannaplan.entities
-
Entity of Course grouping of state of course
- Course() - Constructor for class com.plannaplan.entities.Course
- Course(String, String) - Constructor for class com.plannaplan.entities.Course
-
Course
- CourseRepository - Interface in com.plannaplan.repositories
-
CourseRepository.findByName: Return list of: SELECT * FROM Course WHERE name = i .
- CourseService - Class in com.plannaplan.services
-
Service of CourseService which can get(Course By Name, All Courses, Courses Ammount ), save, delete course.
- CourseService() - Constructor for class com.plannaplan.services.CourseService
D
- DEANERY - com.plannaplan.types.UserRoles
- delete(Course) - Method in class com.plannaplan.services.CourseService
-
delete course from db
- delete(Groups) - Method in class com.plannaplan.services.GroupService
-
delete from database
- delete(Lecturer) - Method in class com.plannaplan.services.LecturerService
- deleteExchange(Exchange) - Method in class com.plannaplan.services.ExchangeService
E
- EmailAcceptedData - Class in com.plannaplan.models
-
Instance to keep data to send in mail about accepted courses results
- EmailAcceptedData() - Constructor for class com.plannaplan.models.EmailAcceptedData
- EmailAcceptedData(List<Groups>, List<Groups>) - Constructor for class com.plannaplan.models.EmailAcceptedData
-
creates instance of class
- EmailExchangesData - Class in com.plannaplan.models
-
Class to keepm data to be send after exchanges being accept
- EmailExchangesData() - Constructor for class com.plannaplan.models.EmailExchangesData
- EmailService - Class in com.plannaplan.services
-
Service to send emails
- EmailService() - Constructor for class com.plannaplan.services.EmailService
- equals(Object) - Method in class com.plannaplan.models.MatchData
- EventService - Class in com.plannaplan.services
-
Service to manage app events
- EventService() - Constructor for class com.plannaplan.services.EventService
- Exchange - Class in com.plannaplan.entities
-
Entity that keeps user exchange offer.
- Exchange() - Constructor for class com.plannaplan.entities.Exchange
- Exchange(Assignment, Groups) - Constructor for class com.plannaplan.entities.Exchange
- ExchangeRepository - Interface in com.plannaplan.repositories
- ExchangeService - Class in com.plannaplan.services
-
Service to manage Exchanges
- ExchangeService() - Constructor for class com.plannaplan.services.ExchangeService
- ExportData - Class in com.plannaplan.models
-
Container to keep data to export
- ExportData(String, String, String) - Constructor for class com.plannaplan.models.ExportData
F
- FileData - Class in com.plannaplan.models
-
Wrapper for data readed from file
- FileData(HashMap<String, Integer>, Iterator<Row>) - Constructor for class com.plannaplan.models.FileData
- FileReader - Class in com.plannaplan.configutils
-
FileReader is used for reading xls file from input stream.
- FileReader(InputStream) - Constructor for class com.plannaplan.configutils.FileReader
- FileToDatabaseMigrator - Class in com.plannaplan.configutils
-
FileToDatabaseMigrator is used for migrate data from file (it reads line by line) and push it into database
- FileToDatabaseMigrator() - Constructor for class com.plannaplan.configutils.FileToDatabaseMigrator
- find(int, int, String) - Method in class com.plannaplan.services.GroupService
-
find group with given properties
- find(int, String, int) - Method in interface com.plannaplan.repositories.GroupRepository
- find(Integer, Integer) - Method in interface com.plannaplan.repositories.GroupRepository
- find(Integer, Integer) - Method in class com.plannaplan.services.GroupService
-
find group with given properties
- find(String, String, String) - Method in interface com.plannaplan.repositories.LecturerRepository
- findByName(String) - Method in interface com.plannaplan.repositories.CourseRepository
- findNotExistingGroup(List<Long>) - Method in class com.plannaplan.services.GroupService
-
get wich of provided id is not existind groups
- FIRST_TOUR - com.plannaplan.types.AppState
- FIRST_TOUR_SCHEDULE - Static variable in class com.plannaplan.services.EventService
- FRIDAY - com.plannaplan.types.WeekDay
G
- getAccepted() - Method in class com.plannaplan.models.EmailAcceptedData
-
get list of accepted assignments
- getAccessTokenEndpoint() - Method in class com.plannaplan.api.UsosOauth1Service
- getAllByRole(UserRoles) - Method in interface com.plannaplan.repositories.UserRepository
- getAllCourses() - Method in class com.plannaplan.services.CourseService
- getAllExchanges() - Method in class com.plannaplan.services.ExchangeService
- getAllStudents() - Method in class com.plannaplan.services.UserService
- getAssignedAmount(Long) - Method in interface com.plannaplan.repositories.GroupRepository
- getAssignedAmounts(List<Long>) - Method in interface com.plannaplan.repositories.GroupRepository
-
PLAIN SQL QUERY: SELECT group_id, COUNT(*) assinged_times FROM assignment WHERE is_past_assignment=0 GROUP BY group_id HAVING group_id IN (:ids)")
- getAssignmentOne() - Method in class com.plannaplan.models.MatchData
- getAssignments() - Method in class com.plannaplan.entities.Commision
-
Assigments getter
- getAssignmentsAmmount() - Method in class com.plannaplan.services.AssignmentService
-
get ammount of all assignments (not only for selected commision)
- getAssignmentTwo() - Method in class com.plannaplan.models.MatchData
- getAuthorizationBaseUrl() - Method in class com.plannaplan.api.UsosOauth1Service
- getByAuthority(String) - Method in interface com.plannaplan.repositories.UserRepository
-
return user by given authority
- getByAuthority(String) - Method in class com.plannaplan.services.UserService
-
return user by given authority
- getByCommision(Long) - Method in interface com.plannaplan.repositories.AssignmentRepository
- getByCourse(Long) - Method in interface com.plannaplan.repositories.GroupRepository
- getByEmail(String) - Method in interface com.plannaplan.repositories.UserRepository
- getById(Long) - Method in class com.plannaplan.services.AssignmentService
-
Get assigmnent by id
- getById(Long) - Method in class com.plannaplan.services.ExchangeService
- getById(Long) - Method in class com.plannaplan.services.UserService
- getByRefreshToken(String) - Method in interface com.plannaplan.repositories.UserRepository
- getByToken(String) - Method in interface com.plannaplan.repositories.UserRepository
- getByToken(String) - Method in class com.plannaplan.services.UserService
- getByUserId(Long) - Method in interface com.plannaplan.repositories.ExchangeRepository
- getByUserId(Long) - Method in class com.plannaplan.services.ExchangeService
- getByUsosId(String) - Method in interface com.plannaplan.repositories.UserRepository
- getCapacity() - Method in class com.plannaplan.entities.Groups
-
getCapacity
- getCommision() - Method in class com.plannaplan.entities.Assignment
-
Getter of commision
- getCommisionAssignments(Commision) - Method in class com.plannaplan.services.AssignmentService
-
gets list of assignments of given commision
- getCommisionCommiter() - Method in class com.plannaplan.entities.Commision
- getCommisionDate() - Method in class com.plannaplan.entities.Commision
-
CommisionDate getter
- getCommisionOwner() - Method in class com.plannaplan.entities.Commision
-
User of given commision getter
- getCommisionsAmmount() - Method in class com.plannaplan.services.CommisionService
-
get ammpounts of commisions
- getConfigDate() - Method in class com.plannaplan.entities.AppConfig
-
config date getter
- getCourseByName(String) - Method in class com.plannaplan.services.CourseService
-
getCourseByName
- getCourseId() - Method in class com.plannaplan.entities.Groups
-
getCourseId
- getCoursesAmmount() - Method in class com.plannaplan.services.CourseService
- getCSVHeader() - Static method in class com.plannaplan.models.ExportData
- getCurrentConfig() - Method in class com.plannaplan.services.ConfiguratorService
-
current config getter
- getCurrentState() - Method in class com.plannaplan.entities.AppConfig
-
current state getter
- getDataEntry() - Method in class com.plannaplan.models.EmailExchangesData
-
get datas entry set
- getDataExchange() - Method in class com.plannaplan.entities.Exchange
- getDay() - Method in class com.plannaplan.entities.Groups
-
WeekDay
- getDay(int) - Static method in enum com.plannaplan.types.WeekDay
- getDesiredAssignment() - Method in class com.plannaplan.entities.Exchange
- getEmail() - Method in class com.plannaplan.entities.User
-
email getter
- getEmailMessage() - Method in class com.plannaplan.models.EmailAcceptedData
-
it creates and return email message body
- getEnd() - Method in class com.plannaplan.models.TourData
-
tour end getter
- getEndTime() - Method in class com.plannaplan.entities.Groups
-
get time of class end
- getEndTimeString() - Method in class com.plannaplan.entities.Groups
-
gets end time formated strins
- getExchangeOne() - Method in class com.plannaplan.models.MatchData
- getExchangesMsValue() - Method in class com.plannaplan.models.MatchData
- getExchangeTwo() - Method in class com.plannaplan.models.MatchData
- getExportData() - Method in class com.plannaplan.services.CommisionService
- getFilestream() - Method in class com.plannaplan.models.ConfigData
-
filestream getter
- getFirstTour() - Method in class com.plannaplan.models.ConfigData
-
first tour getter
- getFirstTourEnd() - Method in class com.plannaplan.entities.AppConfig
-
first tour end getter
- getFirstTourEndCron() - Method in class com.plannaplan.entities.AppConfig
-
get cron expression of first tour end
- getFirstTourStart() - Method in class com.plannaplan.entities.AppConfig
-
first tour start getter
- getFirstTourStartCron() - Method in class com.plannaplan.entities.AppConfig
-
get cron expression of first tour start
- getGrNr() - Method in class com.plannaplan.entities.Groups
- getGrNr() - Method in class com.plannaplan.models.ExportData
- getGroup() - Method in class com.plannaplan.entities.Assignment
-
getGroup
- getGroupById(Long) - Method in class com.plannaplan.services.GroupService
-
find group with given properties
- getGroups() - Method in class com.plannaplan.entities.Course
-
getGroups
- getGroupsAmmount() - Method in class com.plannaplan.services.GroupService
-
get hom manyh groups are in database in general
- getGroupsByCourse(Long) - Method in class com.plannaplan.services.GroupService
-
find group with given properties
- getId() - Method in class com.plannaplan.entities.Assignment
-
Id getter
- getId() - Method in class com.plannaplan.entities.Commision
-
Id getter
- getId() - Method in class com.plannaplan.entities.Course
-
getId
- getId() - Method in class com.plannaplan.entities.Exchange
- getId() - Method in class com.plannaplan.entities.Groups
-
getId
- getId() - Method in class com.plannaplan.entities.User
-
id getter
- getIndexOf(String) - Method in class com.plannaplan.models.FileData
- getKeys() - Method in class com.plannaplan.models.FileData
- getLecturer() - Method in class com.plannaplan.entities.Groups
-
getLecturer
- getLecturer(String, String, String) - Method in class com.plannaplan.services.LecturerService
- getLecturersAmmount() - Method in class com.plannaplan.services.LecturerService
- getMatches() - Method in interface com.plannaplan.repositories.ExchangeRepository
- getMatches() - Method in class com.plannaplan.services.ExchangeService
- getName() - Method in class com.plannaplan.entities.Course
-
getName
- getName() - Method in class com.plannaplan.entities.Lecturer
-
getName
- getName() - Method in class com.plannaplan.entities.User
-
name setter
- getName() - Method in class com.plannaplan.models.UserApiResponse
- getNewestCommision(User) - Method in class com.plannaplan.services.CommisionService
-
get newest commision ov given user
- getNewestCommision(Long) - Method in interface com.plannaplan.repositories.CommisionRepository
- getNewFromAssignment(Assignment, Commision) - Static method in class com.plannaplan.entities.Assignment
- getOwnedAssignment() - Method in class com.plannaplan.entities.Exchange
- getOwnerId() - Method in class com.plannaplan.entities.Exchange
- getRanking() - Method in class com.plannaplan.entities.User
-
Ranking points are [100;500].
- getRefreshToken() - Method in class com.plannaplan.entities.User
- getRegisteredStudents() - Method in class com.plannaplan.entities.Groups
- getRemoved() - Method in class com.plannaplan.models.EmailAcceptedData
-
get list of removed assignments
- getRequestTokenEndpoint() - Method in class com.plannaplan.api.UsosOauth1Service
- getRole() - Method in class com.plannaplan.entities.User
-
user rolse getter
- getRoom() - Method in class com.plannaplan.entities.Groups
-
getRoom
- getRows() - Method in class com.plannaplan.models.FileData
- getSecondTour() - Method in class com.plannaplan.models.ConfigData
-
second tour getter
- getSecondTourEnd() - Method in class com.plannaplan.entities.AppConfig
-
second tour end getter
- getSecondTourEndCron() - Method in class com.plannaplan.entities.AppConfig
-
get cron expression of second tour end
- getSecondTourStart() - Method in class com.plannaplan.entities.AppConfig
-
first second start getter
- getSecondTourStartCron() - Method in class com.plannaplan.entities.AppConfig
-
get cron expression of second tour start
- getStart() - Method in class com.plannaplan.models.TourData
-
tour start getter
- getStudentRegisteredGrups() - Method in class com.plannaplan.entities.User
- getStudentsSortedByRanking() - Method in class com.plannaplan.services.UserService
-
get students sorted by their ranking
- getSurname() - Method in class com.plannaplan.entities.Lecturer
-
getSurname
- getSurname() - Method in class com.plannaplan.entities.User
-
surname getter
- getSurname() - Method in class com.plannaplan.models.UserApiResponse
- getSymbol() - Method in class com.plannaplan.entities.Course
-
getSymbol
- getTakenPlaces(List<Groups>) - Method in class com.plannaplan.services.GroupService
- getTakenPlacesOfAssignments(List<Assignment>) - Method in class com.plannaplan.services.GroupService
- getTime() - Method in class com.plannaplan.entities.Groups
-
getTime
- getTimeString() - Method in class com.plannaplan.entities.Groups
-
getTimeString
- getTitle() - Method in class com.plannaplan.entities.Lecturer
-
getTitle
- getToken() - Method in class com.plannaplan.entities.User
-
token getter
- getTokenUsageDate() - Method in class com.plannaplan.entities.User
-
token usage getter
- getType() - Method in class com.plannaplan.entities.Groups
-
GroupType
- getType(String) - Static method in enum com.plannaplan.types.GroupType
- getUserByEmail(String) - Method in class com.plannaplan.services.UserService
- getUserByRefreshToken(String) - Method in class com.plannaplan.services.UserService
- getUserData(String) - Method in class com.plannaplan.services.UsosApiService
-
/services/users/user
- getUserId() - Method in class com.plannaplan.models.ExportData
- getUsers(Long) - Method in interface com.plannaplan.repositories.CommisionRepository
- getUsersCommisions(User) - Method in class com.plannaplan.services.CommisionService
-
gets user commisions
- getUsosId() - Method in class com.plannaplan.entities.User
-
usos id getter
- getZajCykId() - Method in class com.plannaplan.entities.Groups
- getZajCyklId() - Method in class com.plannaplan.models.ExportData
- GroupRepository - Interface in com.plannaplan.repositories
-
GroupRepository.find: Return list of: SELECT * FROM Groups WHERE time = i AND room = j AND capacity = k .
- Groups - Class in com.plannaplan.entities
-
Entity of Groups grouping of state ssociated about course,time,room,capacity,type,day
- Groups() - Constructor for class com.plannaplan.entities.Groups
- Groups(int, String, Course, int, int, WeekDay, Lecturer) - Constructor for class com.plannaplan.entities.Groups
-
Groups
- Groups(int, String, Course, int, int, WeekDay, Lecturer, Integer, Integer) - Constructor for class com.plannaplan.entities.Groups
-
Groups
- Groups(int, String, Course, int, int, WeekDay, Lecturer, Integer, Integer, GroupType) - Constructor for class com.plannaplan.entities.Groups
-
Groups
- Groups(int, String, Course, int, WeekDay, Lecturer) - Constructor for class com.plannaplan.entities.Groups
-
Create groups with default class duration
- Groups(int, String, Course, int, WeekDay, Lecturer, Integer, Integer) - Constructor for class com.plannaplan.entities.Groups
-
Groups
- Groups(int, String, Course, int, WeekDay, Lecturer, Integer, Integer, GroupType) - Constructor for class com.plannaplan.entities.Groups
-
Groups
- GroupService - Class in com.plannaplan.services
-
Service of GroupService which can find(optional), get(By Course, Groups Ammount, Group By Id, find Not Existing Group), save, delete group.
- GroupService() - Constructor for class com.plannaplan.services.GroupService
- GroupType - Enum in com.plannaplan.types
-
GroupType contains types: LECTURE, CLASS, LAB, SEMINAR, CONSERVATORY, PRATICE
H
- hashCode() - Method in class com.plannaplan.models.MatchData
I
- importCoursesStream(InputStream) - Method in class com.plannaplan.services.ConfiguratorService
- initialize() - Method in class com.plannaplan.services.EventService
-
init resources needed for dynamicly creating new tasks (needed to set tours end events)
- instance() - Static method in class com.plannaplan.api.UsosOauth1Service
- instance(String...) - Static method in class com.plannaplan.api.UsosOauth1Service
-
get instance withj scopes
- isAccepted() - Method in class com.plannaplan.entities.Assignment
-
If it returns trues it mesans u are assigned to group accepted by algorythm
- isCredentialsNonExpired() - Method in class com.plannaplan.entities.User
-
it checks if given ammount of time passed since last token usage.
- isPastAssignment() - Method in class com.plannaplan.entities.Assignment
-
isPastAssignment getter
L
- LAB - com.plannaplan.types.GroupType
- label - Variable in enum com.plannaplan.types.WeekDay
- LECTURE - com.plannaplan.types.GroupType
- Lecturer - Class in com.plannaplan.entities
-
Entity of Lecturer grouping of state ssociated about id,title,name,surname
- Lecturer() - Constructor for class com.plannaplan.entities.Lecturer
- Lecturer(String, String, String) - Constructor for class com.plannaplan.entities.Lecturer
-
Lecturer
- LecturerRepository - Interface in com.plannaplan.repositories
-
LecturerRepository.find: Return list of: SELECT * FROM Lecturer WHERE title = i AND name = j AND surname = k.
- LecturerService - Class in com.plannaplan.services
-
Service of LecturerService which can get(Lecturer, Lecturers Ammount), save, delete lecturers.
- LecturerService() - Constructor for class com.plannaplan.services.LecturerService
- login(User) - Method in class com.plannaplan.services.UserService
-
generates token for user and if user don't have name in database it will attemp to obtain these from usos api and saves changes in database
M
- MatchData - Class in com.plannaplan.models
-
Match of users Exchange's to be performed
- MatchData(Exchange, Exchange) - Constructor for class com.plannaplan.models.MatchData
-
create MatchData
- migrate(FileData) - Method in class com.plannaplan.configutils.FileToDatabaseMigrator
-
insert data to database
- MONDAY - com.plannaplan.types.WeekDay
N
P
- performExchange() - Method in class com.plannaplan.services.ExchangeService
-
method to perform Exchange algorythm.
- performExchangeService() - Method in class com.plannaplan.services.EventService
-
perfroms checks for matching exchanges daily
- PRATICE - com.plannaplan.types.GroupType
R
- read() - Method in class com.plannaplan.configutils.FileReader
-
read data rom file
- removeGroup(Long) - Method in class com.plannaplan.entities.User
S
- SATURDAY - com.plannaplan.types.WeekDay
- save(Assignment) - Method in class com.plannaplan.services.AssignmentService
-
Save given assignment
- save(Commision) - Method in class com.plannaplan.services.CommisionService
-
save to database commision.
- save(Course) - Method in class com.plannaplan.services.CourseService
-
save to db
- save(Exchange) - Method in class com.plannaplan.services.ExchangeService
- save(Groups) - Method in class com.plannaplan.services.GroupService
-
save group to database
- save(Lecturer) - Method in class com.plannaplan.services.LecturerService
- save(User) - Method in class com.plannaplan.services.UserService
-
sacves user to databse and return instatnce with id
- saveAll(List<User>) - Method in class com.plannaplan.services.UserService
- saveTours(TourData, TourData) - Method in class com.plannaplan.services.ConfiguratorService
-
Save tours to DataBase and shedule PerformAcceptAlgorythmTask as a side effect
- scheduleTask(int, Runnable, CronTrigger) - Method in class com.plannaplan.services.EventService
-
Schedule provided task to perform
- searchForStudents(String) - Method in class com.plannaplan.services.UserService
-
search for user with given query
- searchForUsers(String) - Method in interface com.plannaplan.repositories.UserRepository
- searchForUsers(String, UserRoles) - Method in interface com.plannaplan.repositories.UserRepository
-
search for user with given query
- SECOND_TOUR - com.plannaplan.types.AppState
- SECOND_TOUR_SCHEDULE - Static variable in class com.plannaplan.services.EventService
- SEMINAR - com.plannaplan.types.GroupType
- sendAcceptationResult(User, EmailAcceptedData) - Method in class com.plannaplan.services.EmailService
-
sends email with infromation about accepted groups
- sendExchangesResults(EmailExchangesData) - Method in class com.plannaplan.services.EmailService
-
method to send email for students whose groups were swaped
- sendMail(String, String) - Method in class com.plannaplan.services.EmailService
-
send simple text email
- setAccepted(List<Groups>) - Method in class com.plannaplan.models.EmailAcceptedData
-
set list of accepted assignments
- setCapacity(int) - Method in class com.plannaplan.entities.Groups
-
setCapacity
- setCommision(Commision) - Method in class com.plannaplan.entities.Assignment
- setCourseId(Course) - Method in class com.plannaplan.entities.Groups
-
setCourseId
- setDay(WeekDay) - Method in class com.plannaplan.entities.Groups
-
setLecturer
- setDesiredAssignment(Groups) - Method in class com.plannaplan.entities.Exchange
- setEmail(String) - Method in class com.plannaplan.entities.User
-
email setter
- setGrNr(Integer) - Method in class com.plannaplan.entities.Groups
- setGrNr(String) - Method in class com.plannaplan.models.ExportData
- setKeys(HashMap<String, Integer>) - Method in class com.plannaplan.models.FileData
- setLecturer(Lecturer) - Method in class com.plannaplan.entities.Groups
-
setLecturer
- setName(String) - Method in class com.plannaplan.entities.Course
-
setName
- setName(String) - Method in class com.plannaplan.entities.Lecturer
-
setName
- setName(String) - Method in class com.plannaplan.entities.User
-
name stter
- setName(String) - Method in class com.plannaplan.models.UserApiResponse
-
setter for surname.
- setOwnedAssignment(Assignment) - Method in class com.plannaplan.entities.Exchange
- setOwnerId(Long) - Method in class com.plannaplan.entities.Exchange
- setPastAssignment(boolean) - Method in class com.plannaplan.entities.Assignment
-
setter isPastAssignment
- setRanking(Integer) - Method in class com.plannaplan.entities.User
-
Ranking points setter.
- setRemoved(List<Groups>) - Method in class com.plannaplan.models.EmailAcceptedData
-
set list of removed assignments
- setRole(UserRoles) - Method in class com.plannaplan.entities.User
-
user role setter
- setRoom(String) - Method in class com.plannaplan.entities.Groups
-
setRoom
- setRows(Iterator<Row>) - Method in class com.plannaplan.models.FileData
- setSurname(String) - Method in class com.plannaplan.entities.Lecturer
-
setSurname
- setSurname(String) - Method in class com.plannaplan.entities.User
-
surname setter
- setSurname(String) - Method in class com.plannaplan.models.UserApiResponse
-
setter for name.
- setSymbol(String) - Method in class com.plannaplan.entities.Course
-
setSymbol
- setTime(int) - Method in class com.plannaplan.entities.Groups
-
setTime
- setTitle(String) - Method in class com.plannaplan.entities.Lecturer
-
setTitle
- setToken(String) - Method in class com.plannaplan.entities.User
-
token seter.
- setType(GroupType) - Method in class com.plannaplan.entities.Groups
-
setType
- setUserId(String) - Method in class com.plannaplan.models.ExportData
- setZajCykId(Integer) - Method in class com.plannaplan.entities.Groups
- setZajCyklId(String) - Method in class com.plannaplan.models.ExportData
- STUDENT - com.plannaplan.types.UserRoles
- SUNDAY - com.plannaplan.types.WeekDay
T
- TEST_USER - com.plannaplan.types.UserRoles
- THURSDAY - com.plannaplan.types.WeekDay
- TokenExpiredException - Exception in com.plannaplan.exceptions
-
Excepction to be thrown when provided token is expired
- TokenExpiredException(String) - Constructor for exception com.plannaplan.exceptions.TokenExpiredException
- toString() - Method in class com.plannaplan.entities.Lecturer
- TourData - Class in com.plannaplan.models
-
Container for Tours dates
- TourData(Date, Date) - Constructor for class com.plannaplan.models.TourData
-
construcotr for java.sql.Date
- TourData(Date, Date) - Constructor for class com.plannaplan.models.TourData
-
constructor construcotr for java.util.Date
- TUESDAY - com.plannaplan.types.WeekDay
- type - Variable in enum com.plannaplan.types.GroupType
U
- update(Integer, String, Course, Integer, Integer, WeekDay, Lecturer, GroupType) - Method in class com.plannaplan.entities.Groups
-
Updates given values other that are not null
- updateWithUsosData(UserApiResponse) - Method in class com.plannaplan.entities.User
-
updates user entity with data got by UsosApiService::getUserData
- User - Class in com.plannaplan.entities
-
Entity of User grouping of state ssociated about id,name,surname,email,role,token,tokenCreatedDate
- User() - Constructor for class com.plannaplan.entities.User
- User(String, String, String, UserRoles) - Constructor for class com.plannaplan.entities.User
- User(String, String, String, String, UserRoles) - Constructor for class com.plannaplan.entities.User
- User(String, String, String, String, UserRoles, Integer) - Constructor for class com.plannaplan.entities.User
- UserApiResponse - Class in com.plannaplan.models
-
Model to keep data from /services/users/user response called in UsosApiService
- UserApiResponse() - Constructor for class com.plannaplan.models.UserApiResponse
- UserNotFoundException - Exception in com.plannaplan.exceptions
-
Exception to be thrown when provided user does not exist in database
- UserNotFoundException(String) - Constructor for exception com.plannaplan.exceptions.UserNotFoundException
- UserRepository - Interface in com.plannaplan.repositories
-
UserRepository.getByAuthority: Return list of: SELECT * FROM User WHERE email = i.
- UserRoles - Enum in com.plannaplan.types
-
UserRoles contains types: STUDENT, DEANERY, ADMIN, TEST_USER
- UserService - Class in com.plannaplan.services
-
Service of UserService which can get(By Email), login, save user.
- UserService() - Constructor for class com.plannaplan.services.UserService
- UsosApiService - Class in com.plannaplan.services
-
service to call usos api endpoints
- UsosApiService() - Constructor for class com.plannaplan.services.UsosApiService
- UsosOauth1Service - Class in com.plannaplan.api
-
singleton class to sign usos api requests with oauth
- UsosOauth1Service() - Constructor for class com.plannaplan.api.UsosOauth1Service
- UsosOauth1Service(String...) - Constructor for class com.plannaplan.api.UsosOauth1Service
V
- valueOf(String) - Static method in enum com.plannaplan.types.AppState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.plannaplan.types.GroupType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.plannaplan.types.UserRoles
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.plannaplan.types.WeekDay
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.plannaplan.types.AppState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.plannaplan.types.GroupType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.plannaplan.types.UserRoles
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.plannaplan.types.WeekDay
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WEDNESDAY - com.plannaplan.types.WeekDay
- WeekDay - Enum in com.plannaplan.types
-
WeekDay contains types: MONDAY(0), TUESDAY(1), WEDNESDAY(2), THURSDAY(3), FRIDAY(4), SATURDAY(5), SUNDAY(6).
All Classes|All Packages