diff --git a/Pilka/zapisy-studentow/Prezentacja.pdf b/Pilka/zapisy-studentow/Prezentacja.pdf
new file mode 100644
index 0000000..ae06ccf
Binary files /dev/null and b/Pilka/zapisy-studentow/Prezentacja.pdf differ
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/allclasses-index.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/allclasses-index.html
new file mode 100644
index 0000000..77aedfb
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/allclasses-index.html
@@ -0,0 +1,401 @@
+
+
+
+
+
+All Classes (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
All Classes Interface Summary Class Summary Enum Summary Exception Summary
+
+
+
+
+Class
+Description
+
+
+
+
+AppConfig
+
+entity that keeps app configurations
+
+
+
+AppConfigRepository
+
+Repository for app config
+
+
+
+AppState
+
+
+
+Assignment
+
+Entity of Assignment grouping of state associated about group_id and
+ commision_id
+
+
+
+AssignmentRepository
+
+AssignmentRepository.getByCommision:
+ Return list of:
+ SELECT * FROM Assignment WHERE commision_id = i .
+
+
+
+AssignmentService
+
+Service of Assignment which can save assignments, diplay assignments, get
+ ammount of assigments.
+
+
+
+Commision
+
+Entity of Commision grouping of state associated about commison and owner_id
+
+
+
+CommisionRepository
+
+CommisionRepository.getUsers: Return list of: SELECT * FROM Commision WHERE
+ owner_id = i .
+
+
+
+CommisionService
+
+Service of CommisionService which can save commision, get user's commisions,
+ get newest user's commision, get ammount of commisions.
+
+
+
+ConfigData
+
+Config data copntainer to keep tours dates and stream of dasta to import
+
+
+
+ConfiguratorService
+
+FileReader is used for reading xls file from input stream.
+
+
+
+Course
+
+Entity of Course grouping of state of course
+
+
+
+CourseRepository
+
+CourseRepository.findByName:
+ Return list of:
+ SELECT * FROM Course WHERE name = i .
+
+
+
+CourseService
+
+Service of CourseService which can get(Course By Name, All Courses, Courses
+ Ammount ), save, delete course.
+
+
+
+EmailAcceptedData
+
+Instance to keep data to send in mail about accepted courses results
+
+
+
+EmailExchangesData
+
+Class to keepm data to be send after exchanges being accept
+
+
+
+EmailService
+
+Service to send emails
+
+
+
+EventService
+
+Service to manage app events
+
+
+
+Exchange
+
+Entity that keeps user exchange offer.
+
+
+
+ExchangeRepository
+
+
+
+ExchangeService
+
+Service to manage Exchanges
+
+
+
+ExportData
+
+Container to keep data to export
+
+
+
+FileData
+
+Wrapper for data readed from file
+
+
+
+FileReader
+
+FileReader is used for reading xls file from input stream.
+
+
+
+FileToDatabaseMigrator
+
+FileToDatabaseMigrator is used for migrate data from file (it reads line by
+ line) and push it into database
+
+
+
+GroupRepository
+
+GroupRepository.find:
+ Return list of:
+ SELECT * FROM Groups WHERE time = i AND room = j AND capacity = k .
+
+
+
+Groups
+
+Entity of Groups grouping of state ssociated about
+ course,time,room,capacity,type,day
+
+
+
+GroupService
+
+Service of GroupService which can find(optional), get(By Course, Groups
+ Ammount, Group By Id, find Not Existing Group), save, delete group.
+
+
+
+GroupType
+
+GroupType contains types: LECTURE, CLASS, LAB, SEMINAR, CONSERVATORY, PRATICE
+
+
+
+Lecturer
+
+Entity of Lecturer grouping of state ssociated about id,title,name,surname
+
+
+
+LecturerRepository
+
+LecturerRepository.find:
+ Return list of:
+ SELECT * FROM Lecturer WHERE title = i AND name = j AND surname = k.
+
+
+
+LecturerService
+
+Service of LecturerService which can get(Lecturer, Lecturers Ammount), save, delete lecturers.
+
+
+
+MatchData
+
+Match of users Exchange's to be performed
+
+
+
+TokenExpiredException
+
+Excepction to be thrown when provided token is expired
+
+
+
+TourData
+
+Container for Tours dates
+
+
+
+User
+
+Entity of User grouping of state ssociated about
+ id,name,surname,email,role,token,tokenCreatedDate
+
+
+
+UserApiResponse
+
+Model to keep data from /services/users/user response called in
+ UsosApiService
+
+
+
+UserNotFoundException
+
+Exception to be thrown when provided user does not exist in database
+
+
+
+UserRepository
+
+UserRepository.getByAuthority: Return list of: SELECT * FROM User WHERE email
+ = i.
+
+
+
+UserRoles
+
+UserRoles contains types: STUDENT, DEANERY, ADMIN, TEST_USER
+
+
+
+UserService
+
+Service of UserService which can get(By Email), login, save user.
+
+
+
+UsosApiService
+
+service to call usos api endpoints
+
+
+
+UsosOauth1Service
+
+singleton class to sign usos api requests with oauth
+
+
+
+WeekDay
+
+WeekDay contains types: MONDAY(0), TUESDAY(1), WEDNESDAY(2), THURSDAY(3), FRIDAY(4), SATURDAY(5), SUNDAY(6).
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/allpackages-index.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/allpackages-index.html
new file mode 100644
index 0000000..5c6b35d
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/allpackages-index.html
@@ -0,0 +1,164 @@
+
+
+
+
+
+All Packages (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/UsosOauth1Service.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/UsosOauth1Service.html
new file mode 100644
index 0000000..7e64fda
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/UsosOauth1Service.html
@@ -0,0 +1,335 @@
+
+
+
+
+
+UsosOauth1Service (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.github.scribejava.core.builder.api.DefaultApi10a
+
com.plannaplan.api.UsosOauth1Service
+
+
+
+
+public class UsosOauth1Service
+extends com.github.scribejava.core.builder.api.DefaultApi10a
+singleton class to sign usos api requests with oauth
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Static Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class com.github.scribejava.core.builder.api.DefaultApi10a
+
+
+ createService, getAccessTokenExtractor, getAccessTokenVerb, getAuthorizationUrl, getBaseStringExtractor, getHeaderExtractor, getRequestTokenExtractor, getRequestTokenVerb, getSignatureService, getSignatureType, getTimestampService, isEmptyOAuthTokenParamIsRequired
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+protected UsosOauth1Service ()
+
+
+
+
+
+protected UsosOauth1Service (java.lang.String... scopes)
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+
+get instance withj scopes
+
+Parameters:
+scopes
- to get instance with
+Returns:
+UsosOauth1Service instance
+
+
+
+
+
+
+public java.lang.String getRequestTokenEndpoint ()
+
+Specified by:
+getRequestTokenEndpoint
in class com.github.scribejava.core.builder.api.DefaultApi10a
+
+
+
+
+
+
+public java.lang.String getAccessTokenEndpoint ()
+
+Specified by:
+getAccessTokenEndpoint
in class com.github.scribejava.core.builder.api.DefaultApi10a
+
+
+
+
+
+
+protected java.lang.String getAuthorizationBaseUrl ()
+
+Specified by:
+getAuthorizationBaseUrl
in class com.github.scribejava.core.builder.api.DefaultApi10a
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/class-use/UsosOauth1Service.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/class-use/UsosOauth1Service.html
new file mode 100644
index 0000000..fa54942
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/class-use/UsosOauth1Service.html
@@ -0,0 +1,157 @@
+
+
+
+
+
+Uses of Class com.plannaplan.api.UsosOauth1Service (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-summary.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-summary.html
new file mode 100644
index 0000000..fac31bf
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-summary.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+com.plannaplan.api (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Provides the classes necessary to obtain usos authentication with Oauth1
+
+Since:
+1.0
+
+
+
+
+
+
+
+Class Summary
+
+
+Class
+Description
+
+
+
+
+UsosOauth1Service
+
+singleton class to sign usos api requests with oauth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-tree.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-tree.html
new file mode 100644
index 0000000..c2ab0fa
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-tree.html
@@ -0,0 +1,119 @@
+
+
+
+
+
+com.plannaplan.api Class Hierarchy (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Class Hierarchy
+
+java.lang.Object
+
+com.github.scribejava.core.builder.api.DefaultApi10a
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-use.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-use.html
new file mode 100644
index 0000000..c564939
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/api/package-use.html
@@ -0,0 +1,149 @@
+
+
+
+
+
+Uses of Package com.plannaplan.api (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/FileReader.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/FileReader.html
new file mode 100644
index 0000000..c8083e5
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/FileReader.html
@@ -0,0 +1,266 @@
+
+
+
+
+
+FileReader (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.configutils.FileReader
+
+
+
+public class FileReader
+extends java.lang.Object
+FileReader is used for reading xls file from input stream.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+FileReader (java.io.InputStream fileInputStream)
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+FileData
+read ()
+
+read data rom file
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public FileReader (java.io.InputStream fileInputStream)
+
+Parameters:
+fileInputStream
- stream of stadarized file contains courses and gropups
+ to import. File needs to be .xlsx file that has
+ fields: zaj_cyk_id, typ, sym, nazwa, gr_nr, Mc, dzien,
+ godz_od, sala, tytul, nazwisko, imie. Order doesn't
+ have impact on import. Any change name of given field
+ can be performed in FileToDatabaseMigrator class
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+read data rom file
+
+Returns:
+instance of class FileData
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/FileToDatabaseMigrator.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/FileToDatabaseMigrator.html
new file mode 100644
index 0000000..bb06862
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/FileToDatabaseMigrator.html
@@ -0,0 +1,259 @@
+
+
+
+
+
+FileToDatabaseMigrator (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.configutils.FileToDatabaseMigrator
+
+
+
+@Component
+public class FileToDatabaseMigrator
+extends java.lang.Object
+FileToDatabaseMigrator is used for migrate data from file (it reads line by
+ line) and push it into database
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+migrate (FileData data)
+
+insert data to database
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public FileToDatabaseMigrator ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+insert data to database
+
+Parameters:
+data
- FileData imported from file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/class-use/FileReader.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/class-use/FileReader.html
new file mode 100644
index 0000000..658afba
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/class-use/FileReader.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Class com.plannaplan.configutils.FileReader (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.configutils.FileReader
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/class-use/FileToDatabaseMigrator.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/class-use/FileToDatabaseMigrator.html
new file mode 100644
index 0000000..937a2c8
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/class-use/FileToDatabaseMigrator.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Class com.plannaplan.configutils.FileToDatabaseMigrator (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.configutils.FileToDatabaseMigrator
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-summary.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-summary.html
new file mode 100644
index 0000000..0c87c8f
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-summary.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+com.plannaplan.configutils (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Provides the classes necessary to to config and import related operations in
+ the app
+
+Since:
+1.0
+
+
+
+
+
+
+
+Class Summary
+
+
+Class
+Description
+
+
+
+
+FileReader
+
+FileReader is used for reading xls file from input stream.
+
+
+
+FileToDatabaseMigrator
+
+FileToDatabaseMigrator is used for migrate data from file (it reads line by
+ line) and push it into database
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-tree.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-tree.html
new file mode 100644
index 0000000..6dc198d
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-tree.html
@@ -0,0 +1,116 @@
+
+
+
+
+
+com.plannaplan.configutils Class Hierarchy (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-use.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-use.html
new file mode 100644
index 0000000..64a2729
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/configutils/package-use.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Package com.plannaplan.configutils (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.configutils
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/AppConfig.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/AppConfig.html
new file mode 100644
index 0000000..e3ea2c5
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/AppConfig.html
@@ -0,0 +1,443 @@
+
+
+
+
+
+AppConfig (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.entities.AppConfig
+
+
+
+@Entity
+public class AppConfig
+extends java.lang.Object
+entity that keeps app configurations
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+AppConfig ()
+
+no parameter construcotor
+
+
+
+AppConfig (TourData firstTour,
+TourData scondTour)
+
+constructor
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.sql.Timestamp
+getConfigDate ()
+
+config date getter
+
+
+
+AppState
+getCurrentState ()
+
+current state getter
+
+
+
+java.sql.Date
+getFirstTourEnd ()
+
+first tour end getter
+
+
+
+org.springframework.scheduling.support.CronTrigger
+getFirstTourEndCron ()
+
+get cron expression of first tour end
+
+
+
+java.sql.Date
+getFirstTourStart ()
+
+first tour start getter
+
+
+
+org.springframework.scheduling.support.CronTrigger
+getFirstTourStartCron ()
+
+get cron expression of first tour start
+
+
+
+java.sql.Date
+getSecondTourEnd ()
+
+second tour end getter
+
+
+
+org.springframework.scheduling.support.CronTrigger
+getSecondTourEndCron ()
+
+get cron expression of second tour end
+
+
+
+java.sql.Date
+getSecondTourStart ()
+
+first second start getter
+
+
+
+org.springframework.scheduling.support.CronTrigger
+getSecondTourStartCron ()
+
+get cron expression of second tour start
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public AppConfig ()
+no parameter construcotor
+
+
+
+
+
+
+constructor
+
+Parameters:
+firstTour
- first TourData instacne
+scondTour
- second TourData instacne
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.sql.Date getSecondTourEnd ()
+second tour end getter
+
+Returns:
+Date inforamtion when second tour ends
+
+
+
+
+
+
+public java.sql.Date getSecondTourStart ()
+first second start getter
+
+Returns:
+Date inforamtion when second tour start
+
+
+
+
+
+
+public java.sql.Date getFirstTourEnd ()
+first tour end getter
+
+Returns:
+Date inforamtion when first tour end
+
+
+
+
+
+
+public java.sql.Date getFirstTourStart ()
+first tour start getter
+
+Returns:
+Date inforamtion when first tour start
+
+
+
+
+
+
+public java.sql.Timestamp getConfigDate ()
+config date getter
+
+Returns:
+Timestamp when configuration took place
+
+
+
+
+
+
+
+current state getter
+
+Returns:
+AppState of app at the moment of calling method
+
+
+
+
+
+
+public org.springframework.scheduling.support.CronTrigger getFirstTourEndCron ()
+get cron expression of first tour end
+
+Returns:
+spring cron expression
+
+
+
+
+
+
+public org.springframework.scheduling.support.CronTrigger getSecondTourEndCron ()
+get cron expression of second tour end
+
+Returns:
+spring cron expression
+
+
+
+
+
+
+public org.springframework.scheduling.support.CronTrigger getFirstTourStartCron ()
+get cron expression of first tour start
+
+Returns:
+spring cron expression
+
+
+
+
+
+
+public org.springframework.scheduling.support.CronTrigger getSecondTourStartCron ()
+get cron expression of second tour start
+
+Returns:
+spring cron expression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Assignment.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Assignment.html
new file mode 100644
index 0000000..93944d8
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Assignment.html
@@ -0,0 +1,425 @@
+
+
+
+
+
+Assignment (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.entities.Assignment
+
+
+
+@Entity
+public class Assignment
+extends java.lang.Object
+Entity of Assignment grouping of state associated about group_id and
+ commision_id
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Static Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public Assignment (
Groups group,
+Commision commision,
+boolean isPastAssignment)
+Assignment
+
+Parameters:
+group
- group we would like to assign
+commision
- commision that assignment belongs to
+isPastAssignment
- is assignment past or no
+
+
+
+
+
+
+
+Assignment
+
+Parameters:
+group
- group we would like to assign
+commision
- commision that assignment belongs to
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+Parameters:
+oldAssignment
- old assignment that we want to move to new commision
+newCommision
- commsion to move assiongment
+
+
+
+
+
+
+public boolean isAccepted ()
+If it returns trues it mesans u are assigned to group accepted by algorythm
+
+Returns:
+boolean isAccepted
+
+
+
+
+
+
+
+Getter of commision
+
+Returns:
+Commision Commision of given assignments
+
+
+
+
+
+
+public void setCommision (
Commision commision)
+
+Parameters:
+commision
- commision to set
+
+
+
+
+
+
+public java.lang.Long getId ()
+Id getter
+
+Returns:
+id id of assignment
+
+
+
+
+
+
+
+getGroup
+
+Returns:
+group
+
+
+
+
+
+
+public boolean isPastAssignment ()
+isPastAssignment getter
+
+Returns:
+isPastAssignment
+
+
+
+
+
+
+public void setPastAssignment (boolean isPastAssignment)
+setter isPastAssignment
+
+Parameters:
+isPastAssignment
- is assignment past or not
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Commision.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Commision.html
new file mode 100644
index 0000000..a7b33b5
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Commision.html
@@ -0,0 +1,359 @@
+
+
+
+
+
+Commision (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.entities.Commision
+
+
+
+@Entity
+public class Commision
+extends java.lang.Object
+Entity of Commision grouping of state associated about commison and owner_id
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public Commision (
User user)
+
+Parameters:
+user
- owner of commission. Can not be null otherwise saving commision
+ will fail.
+
+
+
+
+
+
+public Commision (
User user,
+User commiter)
+
+Parameters:
+user
- user whose shedule is being commited
+commiter
- user that commited new schedule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.lang.Long getId ()
+Id getter
+
+Returns:
+id id of commision
+
+
+
+
+
+
+public java.sql.Timestamp getCommisionDate ()
+CommisionDate getter
+
+Returns:
+commisionDate
+
+
+
+
+
+
+public User getCommisionOwner ()
+User of given commision getter
+
+Returns:
+User commisionOwner
+
+
+
+
+
+
+public User getCommisionCommiter ()
+
+Returns:
+User entity that created commision (can be owner or deanery user)
+
+
+
+
+
+
+public java.util.List<Assignment > getAssignments ()
+Assigments getter
+
+Returns:
+List of assignments
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Course.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Course.html
new file mode 100644
index 0000000..7e067c7
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Course.html
@@ -0,0 +1,368 @@
+
+
+
+
+
+Course (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.entities.Course
+
+
+
+@Entity
+public class Course
+extends java.lang.Object
+Entity of Course grouping of state of course
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+Course ()
+
+
+
+Course (java.lang.String name,
+java.lang.String symbol)
+
+Course
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.List<Groups >
+getGroups ()
+
+getGroups
+
+
+
+java.lang.Long
+getId ()
+
+getId
+
+
+
+java.lang.String
+getName ()
+
+getName
+
+
+
+java.lang.String
+getSymbol ()
+
+getSymbol
+
+
+
+void
+setName (java.lang.String name)
+
+setName
+
+
+
+void
+setSymbol (java.lang.String symbol)
+
+setSymbol
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+public Course (java.lang.String name,
+java.lang.String symbol)
+Course
+
+Parameters:
+name
- name given to the course
+symbol
- symbol given to the course
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.lang.Long getId ()
+getId
+
+Returns:
+id
+
+
+
+
+
+
+public java.lang.String getName ()
+getName
+
+Returns:
+name
+
+
+
+
+
+
+public java.lang.String getSymbol ()
+getSymbol
+
+Returns:
+symbol
+
+
+
+
+
+
+public void setSymbol (java.lang.String symbol)
+setSymbol
+
+Parameters:
+symbol
- set symbol in the course
+
+
+
+
+
+
+public void setName (java.lang.String name)
+setName
+
+Parameters:
+name
- set name in the course
+
+
+
+
+
+
+public java.util.List<Groups > getGroups ()
+getGroups
+
+Returns:
+groups return list groups
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Exchange.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Exchange.html
new file mode 100644
index 0000000..01e3671
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Exchange.html
@@ -0,0 +1,373 @@
+
+
+
+
+
+Exchange (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.entities.Exchange
+
+
+
+@Entity
+public class Exchange
+extends java.lang.Object
+Entity that keeps user exchange offer.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+
+
+Parameters:
+ownedAssignment
- Assignment which owner would like to trade
+desiredAssignment
- Groups instance that trader wants
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.lang.Long getOwnerId ()
+
+Returns:
+Long ID of exchange trader
+
+
+
+
+
+
+public void setOwnerId (java.lang.Long ownerId)
+
+Parameters:
+ownerId
- ID of exchange trader
+
+
+
+
+
+
+public java.sql.Timestamp getDataExchange ()
+
+
+
+
+
+public java.lang.Long getId ()
+
+Returns:
+Long ID in database
+
+
+
+
+
+
+public Groups getDesiredAssignment ()
+
+Returns:
+Groups Target group
+
+
+
+
+
+
+public void setDesiredAssignment (
Groups desiredAssignment)
+
+Parameters:
+desiredAssignment
- Target group
+
+
+
+
+
+
+
+
+Returns:
+Assignment Owned assignment
+
+
+
+
+
+
+public void setOwnedAssignment (
Assignment ownedAssignment)
+
+Parameters:
+ownedAssignment
- Owned assignment
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Groups.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Groups.html
new file mode 100644
index 0000000..341ef59
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Groups.html
@@ -0,0 +1,901 @@
+
+
+
+
+
+Groups (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.entities.Groups
+
+
+
+@Entity
+public class Groups
+extends java.lang.Object
+Entity of Groups grouping of state ssociated about
+ course,time,room,capacity,type,day
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+Groups ()
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr,
+GroupType type)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer)
+
+Create groups with default class duration
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr,
+GroupType type)
+
+Groups
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+public Groups (
int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer)
+Groups
+
+Parameters:
+capacity
- capacity given to the groups
+room
- room given to the groups
+course
- course given to the groups
+time
- time given to the groups
+endTime
- end time of class in minutes
+day
- day given to the groups
+lecturer
- lecturer given to the groups
+
+
+
+
+
+
+public Groups (
int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr,
+GroupType type)
+Groups
+
+Parameters:
+capacity
- capacity given to the groups
+room
- room given to the groups
+course
- course given to the groups
+time
- time given to the groups
+endTime
- end time of class in minutes
+day
- day given to the groups
+lecturer
- lecturer given to the groups
+zajCykId
- number of class in the term
+grNr
- Number of class/course
+type
- type of class/cource
+
+
+
+
+
+
+public Groups (
int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr,
+GroupType type)
+Groups
+
+Parameters:
+capacity
- capacity given to the groups
+room
- room given to the groups
+course
- course given to the groups
+time
- time given to the groups
+day
- day given to the groups
+lecturer
- lecturer given to the groups
+zajCykId
- number of class in the term
+grNr
- Number of class/course
+type
- type of class/cource
+
+
+
+
+
+
+public Groups (
int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr)
+Groups
+
+Parameters:
+capacity
- capacity given to the groups
+room
- room given to the groups
+course
- course given to the groups
+time
- time given to the groups
+endTime
- end time of class in minutes
+day
- day given to the groups
+lecturer
- lecturer given to the groups
+zajCykId
- number of class in the term
+grNr
- Number of class/course
+
+
+
+
+
+
+public Groups (
int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr)
+Groups
+
+Parameters:
+capacity
- capacity given to the groups
+room
- room given to the groups
+course
- course given to the groups
+time
- time given to the groups
+day
- day given to the groups
+lecturer
- lecturer given to the groups
+zajCykId
- number of class in the term
+grNr
- Number of class/course
+
+
+
+
+
+
+public Groups (
int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer)
+Create groups with default class duration
+
+Parameters:
+capacity
- capacity given to the groups
+room
- room given to the groups
+course
- course given to the groups
+time
- time given to the groups
+day
- day given to the groups
+lecturer
- lecturer given to the groups
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.util.Set<User > getRegisteredStudents ()
+
+
+
+
+
+public void assignUser (
User user)
+
+
+
+
+
+public java.lang.Integer getGrNr ()
+
+
+
+
+
+public void setGrNr (java.lang.Integer grNr)
+
+
+
+
+
+public java.lang.Integer getZajCykId ()
+
+
+
+
+
+public void setZajCykId (java.lang.Integer zajCykId)
+
+
+
+
+
+public void update (
java.lang.Integer capacity,
+java.lang.String room,
+Course course,
+java.lang.Integer time,
+java.lang.Integer endTime,
+WeekDay day,
+Lecturer lecturer,
+GroupType type)
+Updates given values other that are not null
+
+Parameters:
+capacity
- capacity given to the groups
+room
- room given to the groups
+course
- course given to the groups
+time
- time given to the groups
+endTime
- end time of class in minutes
+day
- day given to the groups
+lecturer
- lecturer given to the groups
+type
- type given to the groups
+
+
+
+
+
+
+public int getEndTime ()
+get time of class end
+
+Returns:
+hour of class finish time in minutes
+
+
+
+
+
+
+public java.lang.Long getId ()
+getId
+
+Returns:
+id
+
+
+
+
+
+
+
+getLecturer
+
+Returns:
+lecturer
+
+
+
+
+
+
+public void setLecturer (
Lecturer lecturer)
+setLecturer
+
+Parameters:
+lecturer
- set lecturer into groups
+
+
+
+
+
+
+
+WeekDay
+
+Returns:
+day
+
+
+
+
+
+
+
+setLecturer
+
+Parameters:
+day
- set day into groups
+
+
+
+
+
+
+
+GroupType
+
+Returns:
+type
+
+
+
+
+
+
+
+setType
+
+Parameters:
+type
- set type into groups
+
+
+
+
+
+
+public int getCapacity ()
+getCapacity
+
+Returns:
+capacity
+
+
+
+
+
+
+public void setCapacity (int capacity)
+setCapacity
+
+Parameters:
+capacity
- set capacity into groups
+
+
+
+
+
+
+public java.lang.String getRoom ()
+getRoom
+
+Returns:
+room
+
+
+
+
+
+
+public void setRoom (java.lang.String room)
+setRoom
+
+Parameters:
+room
- set room into groups
+
+
+
+
+
+
+public int getTime ()
+getTime
+
+Returns:
+time
+
+
+
+
+
+
+public void setTime (int time)
+setTime
+
+Parameters:
+time
- set time into groups
+
+
+
+
+
+
+
+getCourseId
+
+Returns:
+course
+
+
+
+
+
+
+public void setCourseId (
Course courseId)
+setCourseId
+
+Parameters:
+courseId
- set courseId into groups
+
+
+
+
+
+
+public java.lang.String getTimeString ()
+getTimeString
+
+Returns:
+time as formated String
+
+
+
+
+
+
+public java.lang.String getEndTimeString ()
+gets end time formated strins
+
+Returns:
+end time as formated String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Lecturer.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Lecturer.html
new file mode 100644
index 0000000..b7c2eda
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Lecturer.html
@@ -0,0 +1,386 @@
+
+
+
+
+
+Lecturer (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.entities.Lecturer
+
+
+
+@Entity
+public class Lecturer
+extends java.lang.Object
+Entity of Lecturer grouping of state ssociated about id,title,name,surname
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+Lecturer ()
+
+
+
+Lecturer (java.lang.String title,
+java.lang.String name,
+java.lang.String surname)
+
+Lecturer
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.lang.String
+getName ()
+
+getName
+
+
+
+java.lang.String
+getSurname ()
+
+getSurname
+
+
+
+java.lang.String
+getTitle ()
+
+getTitle
+
+
+
+void
+setName (java.lang.String name)
+
+setName
+
+
+
+void
+setSurname (java.lang.String surname)
+
+setSurname
+
+
+
+void
+setTitle (java.lang.String title)
+
+setTitle
+
+
+
+java.lang.String
+toString ()
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public Lecturer (java.lang.String title,
+java.lang.String name,
+java.lang.String surname)
+Lecturer
+
+Parameters:
+title
- title given to the lecturer
+name
- name given to the lecturer
+surname
- surname given to the lecturer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.lang.String getTitle ()
+getTitle
+
+Returns:
+title
+
+
+
+
+
+
+public java.lang.String getSurname ()
+getSurname
+
+Returns:
+surname
+
+
+
+
+
+
+public void setSurname (java.lang.String surname)
+setSurname
+
+Parameters:
+surname
- set surname to the lecturer
+
+
+
+
+
+
+public java.lang.String getName ()
+getName
+
+Returns:
+name
+
+
+
+
+
+
+public void setName (java.lang.String name)
+setName
+
+Parameters:
+name
- set name to the lecturer
+
+
+
+
+
+
+public void setTitle (java.lang.String title)
+setTitle
+
+Parameters:
+title
- set title to the lecturer
+
+
+
+
+
+
+public java.lang.String toString ()
+
+Overrides:
+toString
in class java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/User.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/User.html
new file mode 100644
index 0000000..f234292
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/User.html
@@ -0,0 +1,676 @@
+
+
+
+
+
+User (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.entities.User
+
+
+
+@Entity
+public class User
+extends java.lang.Object
+Entity of User grouping of state ssociated about
+ id,name,surname,email,role,token,tokenCreatedDate
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+User ()
+
+
+
+User (java.lang.String name,
+java.lang.String surname,
+java.lang.String mail,
+UserRoles role)
+
+
+
+User (java.lang.String name,
+java.lang.String surname,
+java.lang.String mail,
+java.lang.String usosId,
+UserRoles role)
+
+
+
+User (java.lang.String name,
+java.lang.String surname,
+java.lang.String mail,
+java.lang.String usosId,
+UserRoles role,
+java.lang.Integer ranking)
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+public User (
java.lang.String name,
+java.lang.String surname,
+java.lang.String mail,
+UserRoles role)
+
+Parameters:
+name
- name given to the user
+surname
- surname given to the user
+mail
- mail given to the user
+role
- user's role
+
+
+
+
+
+
+public User (
java.lang.String name,
+java.lang.String surname,
+java.lang.String mail,
+java.lang.String usosId,
+UserRoles role)
+
+Parameters:
+name
- name given to the user
+surname
- surname given to the user
+mail
- mail given to the user
+usosId
- id in the USOS system
+role
- user's role
+
+
+
+
+
+
+public User (
java.lang.String name,
+java.lang.String surname,
+java.lang.String mail,
+java.lang.String usosId,
+UserRoles role,
+java.lang.Integer ranking)
+
+Parameters:
+name
- name given to the user
+surname
- surname given to the user
+mail
- mail given to the user
+usosId
- id in the USOS system
+role
- user's role
+ranking
- ranking points [100;500]. It's calculated by
+ gradesAvg*100*studiesYear
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.util.Set<Groups > getStudentRegisteredGrups ()
+
+
+
+
+
+public void removeGroup (java.lang.Long id)
+
+
+
+
+
+public void claimGroup (
Groups group)
+
+
+
+
+
+public java.lang.String getUsosId ()
+usos id getter
+
+Returns:
+usosid
+
+
+
+
+
+
+public java.lang.String getEmail ()
+email getter
+
+Returns:
+mailof user
+
+
+
+
+
+
+public void setEmail (java.lang.String email)
+email setter
+
+Parameters:
+email
- user email
+
+
+
+
+
+
+public java.sql.Timestamp getTokenUsageDate ()
+token usage getter
+
+Returns:
+Timestamp when token was used
+
+
+
+
+
+
+public java.lang.String getToken ()
+token getter
+
+Returns:
+user token
+
+
+
+
+
+
+public java.lang.String getRefreshToken ()
+
+Returns:
+token needed to call refresh token after it expired
+
+
+
+
+
+
+public void setToken (java.lang.String token)
+token seter. Sets token and automaticly set time when was set
+
+Parameters:
+token
- token to set
+
+
+
+
+
+
+public java.lang.String getName ()
+name setter
+
+Returns:
+String user name
+
+
+
+
+
+
+
+user rolse getter
+
+Returns:
+UserRoles of user
+
+
+
+
+
+
+
+user role setter
+
+Parameters:
+role
- to be set
+
+
+
+
+
+
+public java.lang.String getSurname ()
+surname getter
+
+Returns:
+string surname
+
+
+
+
+
+
+public void setSurname (java.lang.String surname)
+surname setter
+
+Parameters:
+surname
- string to be set as surnames
+
+
+
+
+
+
+public void setName (java.lang.String name)
+name stter
+
+Parameters:
+name
- stirng to be set as name
+
+
+
+
+
+
+public java.lang.Long getId ()
+id getter
+
+Returns:
+id in database
+
+
+
+
+
+
+public java.lang.Integer getRanking ()
+Ranking points are [100;500]. It's calculated by gradesAvg*100*studiesYear
+
+Returns:
+ranking points [100;500]
+
+
+
+
+
+
+public void setRanking (java.lang.Integer ranking)
+Ranking points setter. Ranking points are [100;500]. It's calculated by
+ gradesAvg*100*studiesYear
+
+Parameters:
+ranking
- ranking points [100;500]
+
+
+
+
+
+
+
+updates user entity with data got by UsosApiService::getUserData
+
+Parameters:
+usosData
- UserApiResponse model with needed data
+
+
+
+
+
+
+public boolean isCredentialsNonExpired ()
+it checks if given ammount of time passed since last token usage. If not
+ retunr true and reset time otherwise return false and token won work anymore
+
+Returns:
+boolena if credentials (token) is expired or not
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/AppConfig.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/AppConfig.html
new file mode 100644
index 0000000..c540af1
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/AppConfig.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+Uses of Class com.plannaplan.entities.AppConfig (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use AppConfig
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Assignment.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Assignment.html
new file mode 100644
index 0000000..0c9ec26
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Assignment.html
@@ -0,0 +1,428 @@
+
+
+
+
+
+Uses of Class com.plannaplan.entities.Assignment (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Commision.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Commision.html
new file mode 100644
index 0000000..39510f3
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Commision.html
@@ -0,0 +1,333 @@
+
+
+
+
+
+Uses of Class com.plannaplan.entities.Commision (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Course.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Course.html
new file mode 100644
index 0000000..9510ceb
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Course.html
@@ -0,0 +1,400 @@
+
+
+
+
+
+Uses of Class com.plannaplan.entities.Course (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use Course
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.entities
+
+Provides all entieites that are created in database by Hibernate
+
+
+
+com.plannaplan.repositories
+
+Provides jpa repositories interfaces to comunicate with database.
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.entities with parameters of type Course
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+Groups. setCourseId (Course courseId)
+
+setCourseId
+
+
+
+void
+Groups. update (java.lang.Integer capacity,
+java.lang.String room,
+Course course,
+java.lang.Integer time,
+java.lang.Integer endTime,
+WeekDay day,
+Lecturer lecturer,
+GroupType type)
+
+Updates given values other that are not null
+
+
+
+
+
+
+
+Constructors in com.plannaplan.entities with parameters of type Course
+
+
+Constructor
+Description
+
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr,
+GroupType type)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer)
+
+Create groups with default class duration
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr,
+GroupType type)
+
+Groups
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Exchange.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Exchange.html
new file mode 100644
index 0000000..a2df728
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Exchange.html
@@ -0,0 +1,348 @@
+
+
+
+
+
+Uses of Class com.plannaplan.entities.Exchange (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use Exchange
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.models
+
+Provides readonly (mostly) classes to keep data for diffrent pourposes
+
+
+
+com.plannaplan.repositories
+
+Provides jpa repositories interfaces to comunicate with database.
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.models that return types with arguments of type Exchange
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.Set<java.util.Map.Entry<java.lang.Long,java.util.List<Exchange >>>
+EmailExchangesData. getDataEntry ()
+
+get datas entry set
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Groups.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Groups.html
new file mode 100644
index 0000000..9666f89
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Groups.html
@@ -0,0 +1,527 @@
+
+
+
+
+
+Uses of Class com.plannaplan.entities.Groups (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.models that return types with arguments of type Groups
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.List<Groups >
+EmailAcceptedData. getAccepted ()
+
+get list of accepted assignments
+
+
+
+java.util.List<Groups >
+EmailAcceptedData. getRemoved ()
+
+get list of removed assignments
+
+
+
+
+
+
+
+Method parameters in com.plannaplan.models with type arguments of type Groups
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+EmailAcceptedData. setAccepted (java.util.List<Groups > accepted)
+
+set list of accepted assignments
+
+
+
+void
+EmailAcceptedData. setRemoved (java.util.List<Groups > removed)
+
+set list of removed assignments
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.repositories that return types with arguments of type Groups
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.Optional<Groups >
+GroupRepository. find (int time,
+java.lang.String room,
+int capacity)
+
+
+
+java.util.Optional<Groups >
+GroupRepository. find (java.lang.Integer zaj_cyk_id,
+java.lang.Integer gr_nr)
+
+
+
+java.util.List<Groups >
+GroupRepository. getByCourse (java.lang.Long id)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.services that return types with arguments of type Groups
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.Optional<Groups >
+GroupService. find (int time,
+int capacity,
+java.lang.String room)
+
+find group with given properties
+
+
+
+java.util.Optional<Groups >
+GroupService. find (java.lang.Integer zajCykId,
+java.lang.Integer nrGr)
+
+find group with given properties
+
+
+
+java.util.Optional<Groups >
+GroupService. getGroupById (java.lang.Long id)
+
+find group with given properties
+
+
+
+java.util.List<Groups >
+GroupService. getGroupsByCourse (java.lang.Long id)
+
+find group with given properties
+
+
+
+
+
+
+
+
+Method parameters in com.plannaplan.services with type arguments of type Groups
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.HashMap<java.lang.Long,java.lang.Integer>
+GroupService. getTakenPlaces (java.util.List<Groups > groups)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Lecturer.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Lecturer.html
new file mode 100644
index 0000000..ce72949
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Lecturer.html
@@ -0,0 +1,391 @@
+
+
+
+
+
+Uses of Class com.plannaplan.entities.Lecturer (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.entities with parameters of type Lecturer
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+Groups. setLecturer (Lecturer lecturer)
+
+setLecturer
+
+
+
+void
+Groups. update (java.lang.Integer capacity,
+java.lang.String room,
+Course course,
+java.lang.Integer time,
+java.lang.Integer endTime,
+WeekDay day,
+Lecturer lecturer,
+GroupType type)
+
+Updates given values other that are not null
+
+
+
+
+
+
+
+Constructors in com.plannaplan.entities with parameters of type Lecturer
+
+
+Constructor
+Description
+
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+int endTime,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr,
+GroupType type)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer)
+
+Create groups with default class duration
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr)
+
+Groups
+
+
+
+Groups (int capacity,
+java.lang.String room,
+Course course,
+int time,
+WeekDay day,
+Lecturer lecturer,
+java.lang.Integer zajCykId,
+java.lang.Integer grNr,
+GroupType type)
+
+Groups
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.repositories that return types with arguments of type Lecturer
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.Optional<Lecturer >
+LecturerRepository. find (java.lang.String title,
+java.lang.String name,
+java.lang.String surname)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.services that return types with arguments of type Lecturer
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.Optional<Lecturer >
+LecturerService. getLecturer (java.lang.String title,
+java.lang.String name,
+java.lang.String surname)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/User.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/User.html
new file mode 100644
index 0000000..07bf205
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/User.html
@@ -0,0 +1,515 @@
+
+
+
+
+
+Uses of Class com.plannaplan.entities.User (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use User
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.entities
+
+Provides all entieites that are created in database by Hibernate
+
+
+
+com.plannaplan.models
+
+Provides readonly (mostly) classes to keep data for diffrent pourposes
+
+
+
+com.plannaplan.repositories
+
+Provides jpa repositories interfaces to comunicate with database.
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.models with parameters of type User
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+EmailExchangesData. addExchange (User user,
+Exchange data)
+
+method to add user and his event to data to be send
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.repositories that return types with arguments of type User
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.List<User >
+UserRepository. getAllByRole (UserRoles role)
+
+
+
+java.util.Optional<User >
+UserRepository. getByAuthority (java.lang.String authority)
+
+return user by given authority
+
+
+
+java.util.Optional<User >
+UserRepository. getByEmail (java.lang.String authority)
+
+
+
+java.util.Optional<User >
+UserRepository. getByRefreshToken (java.lang.String refreshToken)
+
+
+
+java.util.Optional<User >
+UserRepository. getByToken (java.lang.String token)
+
+
+
+java.util.Optional<User >
+UserRepository. getByUsosId (java.lang.String usosId)
+
+
+
+java.util.List<User >
+UserRepository. searchForUsers (java.lang.String query)
+
+
+
+java.util.List<User >
+UserRepository. searchForUsers (java.lang.String query,
+UserRoles role)
+
+search for user with given query
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.services that return User
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+User
+UserService. checkForUser (java.lang.String email,
+java.lang.String usosId)
+
+checks if user exist and return him or creates new one with student role
+ otherwise
+
+
+
+User
+UserService. checkForUser (java.lang.String email,
+java.lang.String usosId,
+UserRoles roleIfNotExist)
+
+checks if user exist and creates new one if doesn't
+
+
+
+User
+UserService. getUserByEmail (java.lang.String email)
+
+
+
+User
+UserService. login (User authority)
+
+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
+
+
+
+User
+UserService. save (User user)
+
+sacves user to databse and return instatnce with id
+
+
+
+
+
+
+
+
+
+Method parameters in com.plannaplan.services with type arguments of type User
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+UserService. saveAll (java.util.List<User > users)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-summary.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-summary.html
new file mode 100644
index 0000000..888f5d8
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-summary.html
@@ -0,0 +1,180 @@
+
+
+
+
+
+com.plannaplan.entities (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Provides all entieites that are created in database by Hibernate
+
+Since:
+1.0
+
+
+
+
+
+
+
+Class Summary
+
+
+Class
+Description
+
+
+
+
+AppConfig
+
+entity that keeps app configurations
+
+
+
+Assignment
+
+Entity of Assignment grouping of state associated about group_id and
+ commision_id
+
+
+
+Commision
+
+Entity of Commision grouping of state associated about commison and owner_id
+
+
+
+Course
+
+Entity of Course grouping of state of course
+
+
+
+Exchange
+
+Entity that keeps user exchange offer.
+
+
+
+Groups
+
+Entity of Groups grouping of state ssociated about
+ course,time,room,capacity,type,day
+
+
+
+Lecturer
+
+Entity of Lecturer grouping of state ssociated about id,title,name,surname
+
+
+
+User
+
+Entity of User grouping of state ssociated about
+ id,name,surname,email,role,token,tokenCreatedDate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-tree.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-tree.html
new file mode 100644
index 0000000..7810884
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-tree.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+com.plannaplan.entities Class Hierarchy (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-use.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-use.html
new file mode 100644
index 0000000..6e04528
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/entities/package-use.html
@@ -0,0 +1,381 @@
+
+
+
+
+
+Uses of Package com.plannaplan.entities (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Classes in com.plannaplan.entities used by com.plannaplan.entities
+
+
+Class
+Description
+
+
+
+
+Assignment
+
+Entity of Assignment grouping of state associated about group_id and
+ commision_id
+
+
+
+Commision
+
+Entity of Commision grouping of state associated about commison and owner_id
+
+
+
+Course
+
+Entity of Course grouping of state of course
+
+
+
+Groups
+
+Entity of Groups grouping of state ssociated about
+ course,time,room,capacity,type,day
+
+
+
+Lecturer
+
+Entity of Lecturer grouping of state ssociated about id,title,name,surname
+
+
+
+User
+
+Entity of User grouping of state ssociated about
+ id,name,surname,email,role,token,tokenCreatedDate
+
+
+
+
+
+
+
+
+
+
+
+
+
+Classes in com.plannaplan.entities used by com.plannaplan.models
+
+
+Class
+Description
+
+
+
+
+Assignment
+
+Entity of Assignment grouping of state associated about group_id and
+ commision_id
+
+
+
+Exchange
+
+Entity that keeps user exchange offer.
+
+
+
+Groups
+
+Entity of Groups grouping of state ssociated about
+ course,time,room,capacity,type,day
+
+
+
+User
+
+Entity of User grouping of state ssociated about
+ id,name,surname,email,role,token,tokenCreatedDate
+
+
+
+
+
+
+
+
+
+
+
+
+
+Classes in com.plannaplan.entities used by com.plannaplan.repositories
+
+
+Class
+Description
+
+
+
+
+Assignment
+
+Entity of Assignment grouping of state associated about group_id and
+ commision_id
+
+
+
+Commision
+
+Entity of Commision grouping of state associated about commison and owner_id
+
+
+
+Course
+
+Entity of Course grouping of state of course
+
+
+
+Exchange
+
+Entity that keeps user exchange offer.
+
+
+
+Groups
+
+Entity of Groups grouping of state ssociated about
+ course,time,room,capacity,type,day
+
+
+
+Lecturer
+
+Entity of Lecturer grouping of state ssociated about id,title,name,surname
+
+
+
+User
+
+Entity of User grouping of state ssociated about
+ id,name,surname,email,role,token,tokenCreatedDate
+
+
+
+
+
+
+
+
+
+
+
+
+
+Classes in com.plannaplan.entities used by com.plannaplan.services
+
+
+Class
+Description
+
+
+
+
+AppConfig
+
+entity that keeps app configurations
+
+
+
+Assignment
+
+Entity of Assignment grouping of state associated about group_id and
+ commision_id
+
+
+
+Commision
+
+Entity of Commision grouping of state associated about commison and owner_id
+
+
+
+Course
+
+Entity of Course grouping of state of course
+
+
+
+Exchange
+
+Entity that keeps user exchange offer.
+
+
+
+Groups
+
+Entity of Groups grouping of state ssociated about
+ course,time,room,capacity,type,day
+
+
+
+Lecturer
+
+Entity of Lecturer grouping of state ssociated about id,title,name,surname
+
+
+
+User
+
+Entity of User grouping of state ssociated about
+ id,name,surname,email,role,token,tokenCreatedDate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/TokenExpiredException.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/TokenExpiredException.html
new file mode 100644
index 0000000..b050e9b
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/TokenExpiredException.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+TokenExpiredException (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
java.lang.Throwable
+
java.lang.Exception
+
java.lang.RuntimeException
+
com.plannaplan.exceptions.TokenExpiredException
+
+
+
+
+
+
+All Implemented Interfaces:
+java.io.Serializable
+
+
+public class TokenExpiredException
+extends java.lang.RuntimeException
+Excepction to be thrown when provided token is expired
+
+See Also:
+Serialized Form
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+TokenExpiredException (java.lang.String message)
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
Methods inherited from class java.lang.Throwable
+
+
+ addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public TokenExpiredException (java.lang.String message)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/UserNotFoundException.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/UserNotFoundException.html
new file mode 100644
index 0000000..d49417f
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/UserNotFoundException.html
@@ -0,0 +1,224 @@
+
+
+
+
+
+UserNotFoundException (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
java.lang.Throwable
+
java.lang.Exception
+
com.plannaplan.exceptions.UserNotFoundException
+
+
+
+
+
+All Implemented Interfaces:
+java.io.Serializable
+
+
+public class UserNotFoundException
+extends java.lang.Exception
+Exception to be thrown when provided user does not exist in database
+
+See Also:
+Serialized Form
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+UserNotFoundException (java.lang.String message)
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
Methods inherited from class java.lang.Throwable
+
+
+ addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public UserNotFoundException (java.lang.String message)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/class-use/TokenExpiredException.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/class-use/TokenExpiredException.html
new file mode 100644
index 0000000..ba858f9
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/class-use/TokenExpiredException.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Class com.plannaplan.exceptions.TokenExpiredException (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.exceptions.TokenExpiredException
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/class-use/UserNotFoundException.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/class-use/UserNotFoundException.html
new file mode 100644
index 0000000..f541abb
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/class-use/UserNotFoundException.html
@@ -0,0 +1,159 @@
+
+
+
+
+
+Uses of Class com.plannaplan.exceptions.UserNotFoundException (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.services that throw UserNotFoundException
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+User
+UserService. getUserByEmail (java.lang.String email)
+
+
+
+User
+UserService. login (User authority)
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-summary.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-summary.html
new file mode 100644
index 0000000..acf48cb
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-summary.html
@@ -0,0 +1,141 @@
+
+
+
+
+
+com.plannaplan.exceptions (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Provides custom for our app exceptions to get more accutrate errors info
+
+Since:
+1.0
+
+
+
+
+
+
+
+Exception Summary
+
+
+Exception
+Description
+
+
+
+
+TokenExpiredException
+
+Excepction to be thrown when provided token is expired
+
+
+
+UserNotFoundException
+
+Exception to be thrown when provided user does not exist in database
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-tree.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-tree.html
new file mode 100644
index 0000000..56f5557
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-tree.html
@@ -0,0 +1,128 @@
+
+
+
+
+
+com.plannaplan.exceptions Class Hierarchy (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Class Hierarchy
+
+java.lang.Object
+
+java.lang.Throwable (implements java.io.Serializable)
+
+java.lang.Exception
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-use.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-use.html
new file mode 100644
index 0000000..6468b1d
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/exceptions/package-use.html
@@ -0,0 +1,150 @@
+
+
+
+
+
+Uses of Package com.plannaplan.exceptions (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/ConfigData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/ConfigData.html
new file mode 100644
index 0000000..ccbc675
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/ConfigData.html
@@ -0,0 +1,306 @@
+
+
+
+
+
+ConfigData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.models.ConfigData
+
+
+
+public class ConfigData
+extends java.lang.Object
+Config data copntainer to keep tours dates and stream of dasta to import
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+ConfigData (TourData firstTour,
+TourData secondTour,
+java.io.InputStream filestream)
+
+constructor
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public ConfigData (
TourData firstTour,
+TourData secondTour,
+java.io.InputStream filestream)
+constructor
+
+Parameters:
+firstTour
- date of first tours
+secondTour
- date of second tours
+filestream
- filestram with data to import
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+second tour getter
+
+Returns:
+TourData second tour
+
+
+
+
+
+
+
+first tour getter
+
+Returns:
+TourData first tour
+
+
+
+
+
+
+public java.io.InputStream getFilestream ()
+filestream getter
+
+Returns:
+InputStream with data to import
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/EmailAcceptedData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/EmailAcceptedData.html
new file mode 100644
index 0000000..d1c8162
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/EmailAcceptedData.html
@@ -0,0 +1,349 @@
+
+
+
+
+
+EmailAcceptedData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.models.EmailAcceptedData
+
+
+
+public class EmailAcceptedData
+extends java.lang.Object
+Instance to keep data to send in mail about accepted courses results
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.List<Groups >
+getAccepted ()
+
+get list of accepted assignments
+
+
+
+java.lang.String
+getEmailMessage ()
+
+it creates and return email message body
+
+
+
+java.util.List<Groups >
+getRemoved ()
+
+get list of removed assignments
+
+
+
+void
+setAccepted (java.util.List<Groups > accepted)
+
+set list of accepted assignments
+
+
+
+void
+setRemoved (java.util.List<Groups > removed)
+
+set list of removed assignments
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public EmailAcceptedData ()
+
+
+
+
+
+public EmailAcceptedData (
java.util.List<Groups > accepted,
+java.util.List<Groups > removed)
+creates instance of class
+
+Parameters:
+accepted
- list of groups that user joined to
+removed
- lsit of groups that user failed to join
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.util.List<Groups > getRemoved ()
+get list of removed assignments
+
+Returns:
+removed assingments
+
+
+
+
+
+
+public void setRemoved (
java.util.List<Groups > removed)
+set list of removed assignments
+
+Parameters:
+removed
- list of removed assignments
+
+
+
+
+
+
+public java.util.List<Groups > getAccepted ()
+get list of accepted assignments
+
+Returns:
+accepted assingments
+
+
+
+
+
+
+public void setAccepted (
java.util.List<Groups > accepted)
+set list of accepted assignments
+
+Parameters:
+accepted
- list of accepted assignments
+
+
+
+
+
+
+public java.lang.String getEmailMessage ()
+it creates and return email message body
+
+Returns:
+string with emiale massage
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/EmailExchangesData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/EmailExchangesData.html
new file mode 100644
index 0000000..7449b8f
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/EmailExchangesData.html
@@ -0,0 +1,279 @@
+
+
+
+
+
+EmailExchangesData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.models.EmailExchangesData
+
+
+
+public class EmailExchangesData
+extends java.lang.Object
+Class to keepm data to be send after exchanges being accept
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+addExchange (User user,
+Exchange data)
+
+method to add user and his event to data to be send
+
+
+
+java.util.Set<java.util.Map.Entry<java.lang.Long,java.util.List<Exchange >>>
+getDataEntry ()
+
+get datas entry set
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public EmailExchangesData ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+method to add user and his event to data to be send
+
+Parameters:
+user
- owner of exchange being performed
+data
- exchange that was executed
+
+
+
+
+
+
+public java.util.Set<java.util.Map.Entry<java.lang.Long,java.util.List<Exchange >>> getDataEntry ()
+get datas entry set
+
+Returns:
+set with entries that contains Long that is user id and list of hiss
+ performed Exchanges
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/ExportData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/ExportData.html
new file mode 100644
index 0000000..811a432
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/ExportData.html
@@ -0,0 +1,369 @@
+
+
+
+
+
+ExportData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.models.ExportData
+
+
+
+public class ExportData
+extends java.lang.Object
+Container to keep data to export
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+ExportData (java.lang.String userId,
+java.lang.String zajCyklId,
+java.lang.String grNr)
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Static Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public ExportData (java.lang.String userId,
+java.lang.String zajCyklId,
+java.lang.String grNr)
+
+Parameters:
+userId
- usosid
+zajCyklId
- course cycle
+grNr
- group number
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.lang.String getGrNr ()
+
+Returns:
+group number
+
+
+
+
+
+
+public void setGrNr (java.lang.String grNr)
+
+Parameters:
+grNr
- group number
+
+
+
+
+
+
+public java.lang.String getZajCyklId ()
+
+Returns:
+course cycle
+
+
+
+
+
+
+public void setZajCyklId (java.lang.String zajCyklId)
+
+Parameters:
+zajCyklId
- course cycle
+
+
+
+
+
+
+public java.lang.String getUserId ()
+
+Returns:
+usosid
+
+
+
+
+
+
+public void setUserId (java.lang.String userId)
+
+Parameters:
+userId
- usosid
+
+
+
+
+
+
+public java.lang.String convertToCSVRecord ()
+
+Returns:
+csv fromated line
+
+
+
+
+
+
+public static java.lang.String getCSVHeader ()
+
+Returns:
+csv formated first line
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/FileData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/FileData.html
new file mode 100644
index 0000000..dadfb7b
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/FileData.html
@@ -0,0 +1,296 @@
+
+
+
+
+
+FileData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.models.FileData
+
+
+
+public class FileData
+extends java.lang.Object
+Wrapper for data readed from file
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+FileData (java.util.HashMap<java.lang.String,java.lang.Integer> keys,
+java.util.Iterator<org.apache.poi.ss.usermodel.Row> rows)
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+int
+getIndexOf (java.lang.String key)
+
+
+
+java.util.HashMap<java.lang.String,java.lang.Integer>
+getKeys ()
+
+
+
+java.util.Iterator<org.apache.poi.ss.usermodel.Row>
+getRows ()
+
+
+
+void
+setKeys (java.util.HashMap<java.lang.String,java.lang.Integer> keys)
+
+
+
+void
+setRows (java.util.Iterator<org.apache.poi.ss.usermodel.Row> rows)
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public FileData (java.util.HashMap<java.lang.String,java.lang.Integer> keys,
+java.util.Iterator<org.apache.poi.ss.usermodel.Row> rows)
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.util.Iterator<org.apache.poi.ss.usermodel.Row> getRows ()
+
+
+
+
+
+public void setRows (java.util.Iterator<org.apache.poi.ss.usermodel.Row> rows)
+
+
+
+
+
+public java.util.HashMap<java.lang.String,java.lang.Integer> getKeys ()
+
+
+
+
+
+public void setKeys (java.util.HashMap<java.lang.String,java.lang.Integer> keys)
+
+
+
+
+
+public int getIndexOf (java.lang.String key)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/MatchData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/MatchData.html
new file mode 100644
index 0000000..797931c
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/MatchData.html
@@ -0,0 +1,377 @@
+
+
+
+
+
+MatchData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.models.MatchData
+
+
+
+public class MatchData
+extends java.lang.Object
+Match of users Exchange's to be performed
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+MatchData (Exchange exchangeOne,
+Exchange exchangeTwo)
+
+create MatchData
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+create MatchData
+
+Parameters:
+exchangeOne
- first Exchange of found match
+exchangeTwo
- second Exchange of found match
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+Returns:
+first Exchange
+
+
+
+
+
+
+
+
+Returns:
+second Exchange
+
+
+
+
+
+
+
+
+Returns:
+second Exchange's owned assignmetn
+
+
+
+
+
+
+
+
+Returns:
+first Exchange's owned assignmetn
+
+
+
+
+
+
+public int hashCode ()
+
+Overrides:
+hashCode
in class java.lang.Object
+
+
+
+
+
+
+public boolean equals (java.lang.Object o)
+
+Overrides:
+equals
in class java.lang.Object
+
+
+
+
+
+
+
+comparator for MatchData. It compare it by sum of both exchange's times. For
+ example MatchData with Exchanges 11:00 and 12:00 will be less than with
+ Exchanges 12:00 and 12:00
+
+Parameters:
+m1
- MatchData instance to compare to
+Returns:
+int less than 0 if m1 is "less than", 0 if it's equal and more than 0
+ otherwise
+
+
+
+
+
+
+public long getExchangesMsValue ()
+
+Returns:
+sum of both exchanges java.sql.Timestanp::getTime"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/TourData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/TourData.html
new file mode 100644
index 0000000..3b942b6
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/TourData.html
@@ -0,0 +1,305 @@
+
+
+
+
+
+TourData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.models.TourData
+
+
+
+public class TourData
+extends java.lang.Object
+Container for Tours dates
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+TourData (java.sql.Date start,
+java.sql.Date end)
+
+construcotr for java.sql.Date
+
+
+
+TourData (java.util.Date start,
+java.util.Date end)
+
+constructor construcotr for java.util.Date
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.sql.Date
+getEnd ()
+
+tour end getter
+
+
+
+java.sql.Date
+getStart ()
+
+tour start getter
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public TourData (java.sql.Date start,
+java.sql.Date end)
+construcotr for java.sql.Date
+
+Parameters:
+start
- Date when tour start
+end
- Date when tour end
+
+
+
+
+
+
+public TourData (java.util.Date start,
+java.util.Date end)
+constructor construcotr for java.util.Date
+
+Parameters:
+start
- Date when tour start
+end
- Date when tour end
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.sql.Date getEnd ()
+tour end getter
+
+Returns:
+Date end of tour
+
+
+
+
+
+
+public java.sql.Date getStart ()
+tour start getter
+
+Returns:
+Date beginning of tour
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/UserApiResponse.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/UserApiResponse.html
new file mode 100644
index 0000000..727c4a8
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/UserApiResponse.html
@@ -0,0 +1,308 @@
+
+
+
+
+
+UserApiResponse (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.models.UserApiResponse
+
+
+
+public class UserApiResponse
+extends java.lang.Object
+Model to keep data from /services/users/user response called in
+ UsosApiService
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+UserApiResponse ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.lang.String
+getName ()
+
+
+
+java.lang.String
+getSurname ()
+
+
+
+void
+setName (java.lang.String name)
+
+setter for surname.
+
+
+
+void
+setSurname (java.lang.String surname)
+
+setter for name.
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public UserApiResponse ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.lang.String getSurname ()
+
+Returns:
+user's Surname
+
+
+
+
+
+
+public void setSurname (java.lang.String surname)
+setter for name. Reson to have setters for this class is for case if there
+ would be name and no surname or otherwise
+
+Parameters:
+surname
- name to set that was obtained by api request
+
+
+
+
+
+
+public java.lang.String getName ()
+
+Returns:
+user's Name
+
+
+
+
+
+
+public void setName (java.lang.String name)
+setter for surname. Reson to have setters for this class is for case if there
+ would be name and no surname or otherwise
+
+Parameters:
+name
- name to set that was obtained by api request
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/ConfigData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/ConfigData.html
new file mode 100644
index 0000000..21308b0
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/ConfigData.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+Uses of Class com.plannaplan.models.ConfigData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use ConfigData
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/EmailAcceptedData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/EmailAcceptedData.html
new file mode 100644
index 0000000..e199152
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/EmailAcceptedData.html
@@ -0,0 +1,154 @@
+
+
+
+
+
+Uses of Class com.plannaplan.models.EmailAcceptedData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use EmailAcceptedData
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/EmailExchangesData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/EmailExchangesData.html
new file mode 100644
index 0000000..84eac51
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/EmailExchangesData.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+Uses of Class com.plannaplan.models.EmailExchangesData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/ExportData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/ExportData.html
new file mode 100644
index 0000000..e779d52
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/ExportData.html
@@ -0,0 +1,151 @@
+
+
+
+
+
+Uses of Class com.plannaplan.models.ExportData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use ExportData
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/FileData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/FileData.html
new file mode 100644
index 0000000..8dd318e
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/FileData.html
@@ -0,0 +1,174 @@
+
+
+
+
+
+Uses of Class com.plannaplan.models.FileData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use FileData
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.configutils
+
+Provides the classes necessary to to config and import related operations in
+ the app
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/MatchData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/MatchData.html
new file mode 100644
index 0000000..02f4019
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/MatchData.html
@@ -0,0 +1,185 @@
+
+
+
+
+
+Uses of Class com.plannaplan.models.MatchData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use MatchData
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.models
+
+Provides readonly (mostly) classes to keep data for diffrent pourposes
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/TourData.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/TourData.html
new file mode 100644
index 0000000..746b572
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/TourData.html
@@ -0,0 +1,250 @@
+
+
+
+
+
+Uses of Class com.plannaplan.models.TourData (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Packages that use TourData
+
+
+Package
+Description
+
+
+
+
+com.plannaplan.entities
+
+Provides all entieites that are created in database by Hibernate
+
+
+
+com.plannaplan.models
+
+Provides readonly (mostly) classes to keep data for diffrent pourposes
+
+
+
+com.plannaplan.services
+
+Provides service classes to make operations with entities or comunicate with
+ external systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Methods in com.plannaplan.services with parameters of type TourData
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+ConfiguratorService. saveTours (TourData firstTour,
+TourData secondTour)
+
+Save tours to DataBase and shedule PerformAcceptAlgorythmTask as a side
+ effect
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/UserApiResponse.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/UserApiResponse.html
new file mode 100644
index 0000000..b984fe6
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/class-use/UserApiResponse.html
@@ -0,0 +1,187 @@
+
+
+
+
+
+Uses of Class com.plannaplan.models.UserApiResponse (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-summary.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-summary.html
new file mode 100644
index 0000000..7752501
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-summary.html
@@ -0,0 +1,178 @@
+
+
+
+
+
+com.plannaplan.models (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Provides readonly (mostly) classes to keep data for diffrent pourposes
+
+Since:
+1.0
+
+
+
+
+
+
+
+Class Summary
+
+
+Class
+Description
+
+
+
+
+ConfigData
+
+Config data copntainer to keep tours dates and stream of dasta to import
+
+
+
+EmailAcceptedData
+
+Instance to keep data to send in mail about accepted courses results
+
+
+
+EmailExchangesData
+
+Class to keepm data to be send after exchanges being accept
+
+
+
+ExportData
+
+Container to keep data to export
+
+
+
+FileData
+
+Wrapper for data readed from file
+
+
+
+MatchData
+
+Match of users Exchange's to be performed
+
+
+
+TourData
+
+Container for Tours dates
+
+
+
+UserApiResponse
+
+Model to keep data from /services/users/user response called in
+ UsosApiService
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-tree.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-tree.html
new file mode 100644
index 0000000..fe52dee
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-tree.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+com.plannaplan.models Class Hierarchy (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-use.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-use.html
new file mode 100644
index 0000000..e2716ec
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/models/package-use.html
@@ -0,0 +1,294 @@
+
+
+
+
+
+Uses of Package com.plannaplan.models (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/AppConfigRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/AppConfigRepository.html
new file mode 100644
index 0000000..64bb3f8
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/AppConfigRepository.html
@@ -0,0 +1,178 @@
+
+
+
+
+
+AppConfigRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+org.springframework.data.repository.CrudRepository<AppConfig ,java.lang.Long>
, org.springframework.data.jpa.repository.JpaRepository<AppConfig ,java.lang.Long>
, org.springframework.data.repository.PagingAndSortingRepository<AppConfig ,java.lang.Long>
, org.springframework.data.repository.query.QueryByExampleExecutor<AppConfig >
, org.springframework.data.repository.Repository<AppConfig ,java.lang.Long>
+
+
+public interface AppConfigRepository
+extends org.springframework.data.jpa.repository.JpaRepository<AppConfig ,java.lang.Long>
+Repository for app config
+
+
+
+
+
+
+
+
+Method Summary
+
+
Methods inherited from interface org.springframework.data.repository.CrudRepository
+
+
+ count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
+
+
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
+
+
+ deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
+
+
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
+
+
+ findAll
+
+
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
+
+
+ count, exists, findAll, findOne
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/AssignmentRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/AssignmentRepository.html
new file mode 100644
index 0000000..fc4a959
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/AssignmentRepository.html
@@ -0,0 +1,232 @@
+
+
+
+
+
+AssignmentRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+org.springframework.data.repository.CrudRepository<Assignment ,java.lang.Long>
, org.springframework.data.jpa.repository.JpaRepository<Assignment ,java.lang.Long>
, org.springframework.data.repository.PagingAndSortingRepository<Assignment ,java.lang.Long>
, org.springframework.data.repository.query.QueryByExampleExecutor<Assignment >
, org.springframework.data.repository.Repository<Assignment ,java.lang.Long>
+
+
+@Repository
+public interface AssignmentRepository
+extends org.springframework.data.jpa.repository.JpaRepository<Assignment ,java.lang.Long>
+AssignmentRepository.getByCommision:
+ Return list of:
+ SELECT * FROM Assignment WHERE commision_id = i .
+
+ Where i, ?1 are equale to variables.
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.List<Assignment >
+getByCommision (java.lang.Long id)
+
+
+
+
+
+
+
+
Methods inherited from interface org.springframework.data.repository.CrudRepository
+
+
+ count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
+
+
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
+
+
+ deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
+
+
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
+
+
+ findAll
+
+
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
+
+
+ count, exists, findAll, findOne
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+@Query("FROM Assignment WHERE commision_id = ?1")
+ java.util.List<Assignment > getByCommision (
@Param("commision_id")
+java.lang.Long id)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/CommisionRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/CommisionRepository.html
new file mode 100644
index 0000000..1a217d9
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/CommisionRepository.html
@@ -0,0 +1,266 @@
+
+
+
+
+
+CommisionRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+org.springframework.data.repository.CrudRepository<Commision ,java.lang.Long>
, org.springframework.data.jpa.repository.JpaRepository<Commision ,java.lang.Long>
, org.springframework.data.repository.PagingAndSortingRepository<Commision ,java.lang.Long>
, org.springframework.data.repository.query.QueryByExampleExecutor<Commision >
, org.springframework.data.repository.Repository<Commision ,java.lang.Long>
+
+
+@Repository
+public interface CommisionRepository
+extends org.springframework.data.jpa.repository.JpaRepository<Commision ,java.lang.Long>
+CommisionRepository.getUsers: Return list of: SELECT * FROM Commision WHERE
+ owner_id = i .
+
+ Where i, ?1 are equale to variables.
+
+ CommisionRepository.getNewestCommision Return list of: SELECT * FROM
+ Commision WHERE owner_id = i Order by commisionDate desc.
+
+ Where i, ?1 are equale to variables.
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
Methods inherited from interface org.springframework.data.repository.CrudRepository
+
+
+ count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
+
+
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
+
+
+ deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
+
+
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
+
+
+ findAll
+
+
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
+
+
+ count, exists, findAll, findOne
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+@Query("FROM Commision WHERE owner_id = ?1")
+ java.util.List<Commision > getUsers (
@Param("owner_id")
+java.lang.Long id)
+
+
+
+
+
+@Query("FROM Commision WHERE owner_id = ?1 order by commisionDate desc")
+ java.util.List<Commision > getNewestCommision (
@Param("owner_id")
+java.lang.Long id)
+
+
+
+
+
+@Query("SELECT COUNT(DISTINCT owner_id) AS count FROM Commision")
+ java.lang.Object[] getUsersAssigned ()
+
+Returns:
+ammount of uniqe users that have a commision placed on first array
+ element
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/CourseRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/CourseRepository.html
new file mode 100644
index 0000000..c9b0d75
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/CourseRepository.html
@@ -0,0 +1,232 @@
+
+
+
+
+
+CourseRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+org.springframework.data.repository.CrudRepository<Course ,java.lang.Long>
, org.springframework.data.jpa.repository.JpaRepository<Course ,java.lang.Long>
, org.springframework.data.repository.PagingAndSortingRepository<Course ,java.lang.Long>
, org.springframework.data.repository.query.QueryByExampleExecutor<Course >
, org.springframework.data.repository.Repository<Course ,java.lang.Long>
+
+
+@Repository
+public interface CourseRepository
+extends org.springframework.data.jpa.repository.JpaRepository<Course ,java.lang.Long>
+CourseRepository.findByName:
+ Return list of:
+ SELECT * FROM Course WHERE name = i .
+
+ Where i, ?1 are equale to variables.
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.Optional<Course >
+findByName (java.lang.String name)
+
+
+
+
+
+
+
+
Methods inherited from interface org.springframework.data.repository.CrudRepository
+
+
+ count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
+
+
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
+
+
+ deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
+
+
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
+
+
+ findAll
+
+
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
+
+
+ count, exists, findAll, findOne
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+@Query("FROM Course WHERE name = ?1")
+ java.util.Optional<Course > findByName (
@Param("name")
+java.lang.String name)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/ExchangeRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/ExchangeRepository.html
new file mode 100644
index 0000000..ec6ef3e
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/ExchangeRepository.html
@@ -0,0 +1,255 @@
+
+
+
+
+
+ExchangeRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+org.springframework.data.repository.CrudRepository<Exchange ,java.lang.Long>
, org.springframework.data.jpa.repository.JpaRepository<Exchange ,java.lang.Long>
, org.springframework.data.repository.PagingAndSortingRepository<Exchange ,java.lang.Long>
, org.springframework.data.repository.query.QueryByExampleExecutor<Exchange >
, org.springframework.data.repository.Repository<Exchange ,java.lang.Long>
+
+
+@Repository
+public interface ExchangeRepository
+extends org.springframework.data.jpa.repository.JpaRepository<Exchange ,java.lang.Long>
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
Methods inherited from interface org.springframework.data.repository.CrudRepository
+
+
+ count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
+
+
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
+
+
+ deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
+
+
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
+
+
+ findAll
+
+
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
+
+
+ count, exists, findAll, findOne
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+@Query("FROM Exchange WHERE owned_id = ?1 AND desired_id = ?2")
+ java.util.Optional<Exchange > checkForExchange (
@Param("owned_id")
+Assignment assignment,
+@Param("desired_id")
+Groups group)
+
+
+
+
+
+@Query("FROM Exchange WHERE ownerId = ?1")
+ java.util.List<Exchange > getByUserId (
@Param("id")
+java.lang.Long id)
+
+
+
+
+
+@Query("Select e1,e2 FROM Exchange e1, Exchange e2 WHERE e1.ownedAssignment.group.id = e2.desiredAssignment.id")
+ java.util.List<java.lang.Object[]> getMatches ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/GroupRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/GroupRepository.html
new file mode 100644
index 0000000..0fa795a
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/GroupRepository.html
@@ -0,0 +1,310 @@
+
+
+
+
+
+GroupRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+org.springframework.data.repository.CrudRepository<Groups ,java.lang.Long>
, org.springframework.data.jpa.repository.JpaRepository<Groups ,java.lang.Long>
, org.springframework.data.repository.PagingAndSortingRepository<Groups ,java.lang.Long>
, org.springframework.data.repository.query.QueryByExampleExecutor<Groups >
, org.springframework.data.repository.Repository<Groups ,java.lang.Long>
+
+
+@Repository
+public interface GroupRepository
+extends org.springframework.data.jpa.repository.JpaRepository<Groups ,java.lang.Long>
+GroupRepository.find:
+ Return list of:
+ SELECT * FROM Groups WHERE time = i AND room = j AND capacity = k .
+
+ Where i, j, k, ?1, ?2, ?3 are equale to variables.
+
+ GroupRepository.getByCourse:
+ Return list of:
+ SELECT * FROM Groups WHERE course_id = i .
+
+ Where i, ?1 are equale to variables.
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.Optional<Groups >
+find (int time,
+java.lang.String room,
+int capacity)
+
+
+
+java.util.Optional<Groups >
+find (java.lang.Integer zaj_cyk_id,
+java.lang.Integer gr_nr)
+
+
+
+java.util.Optional<java.lang.Number>
+getAssignedAmount (java.lang.Long groupId)
+
+
+
+java.util.List<java.lang.Object[]>
+getAssignedAmounts (java.util.List<java.lang.Long> groupIds)
+
+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)")
+
+
+
+java.util.List<Groups >
+getByCourse (java.lang.Long id)
+
+
+
+
+
+
+
+
Methods inherited from interface org.springframework.data.repository.CrudRepository
+
+
+ count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
+
+
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
+
+
+ deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
+
+
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
+
+
+ findAll
+
+
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
+
+
+ count, exists, findAll, findOne
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+@Query("FROM Groups WHERE time = ?1 AND room = ?2 AND capacity = ?3")
+ java.util.Optional<Groups > find (
@Param("time")
+int time,
+@Param("room")
+java.lang.String room,
+@Param("capacity")
+int capacity)
+
+
+
+
+
+@Query("FROM Groups WHERE zajCykId = ?1 AND grNr = ?2")
+ java.util.Optional<Groups > find (
@Param("zajCykId")
+java.lang.Integer zaj_cyk_id,
+@Param("grNr")
+java.lang.Integer gr_nr)
+
+
+
+
+
+@Query("FROM Groups WHERE course_id = ?1")
+ java.util.List<Groups > getByCourse (
@Param("id")
+java.lang.Long id)
+
+
+
+
+
+@Query("SELECT COUNT(*) AS assinged_times FROM Assignment WHERE isPastAssignment=false GROUP BY group HAVING group_id=?1")
+ java.util.Optional<java.lang.Number> getAssignedAmount (java.lang.Long groupId)
+
+
+
+
+
+@Query("SELECT group, COUNT(*) AS assinged_times FROM Assignment a WHERE a.isPastAssignment=false GROUP BY a.group HAVING group_id IN (:ids)")
+ java.util.List<java.lang.Object[]> getAssignedAmounts (@Param("ids")
+java.util.List<java.lang.Long> groupIds)
+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)")
+
+Parameters:
+groupIds
- list of groups ids
+Returns:
+list of objects arrays where first object is Groups instance and
+ second is Long that is taken places value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/LecturerRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/LecturerRepository.html
new file mode 100644
index 0000000..fe7fb27
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/LecturerRepository.html
@@ -0,0 +1,238 @@
+
+
+
+
+
+LecturerRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+org.springframework.data.repository.CrudRepository<Lecturer ,java.lang.Long>
, org.springframework.data.jpa.repository.JpaRepository<Lecturer ,java.lang.Long>
, org.springframework.data.repository.PagingAndSortingRepository<Lecturer ,java.lang.Long>
, org.springframework.data.repository.query.QueryByExampleExecutor<Lecturer >
, org.springframework.data.repository.Repository<Lecturer ,java.lang.Long>
+
+
+@Repository
+public interface LecturerRepository
+extends org.springframework.data.jpa.repository.JpaRepository<Lecturer ,java.lang.Long>
+LecturerRepository.find:
+ Return list of:
+ SELECT * FROM Lecturer WHERE title = i AND name = j AND surname = k.
+
+ Where i, j, k, ?1, ?2, ?3 are equale to variables.
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+java.util.Optional<Lecturer >
+find (java.lang.String title,
+java.lang.String name,
+java.lang.String surname)
+
+
+
+
+
+
+
+
Methods inherited from interface org.springframework.data.repository.CrudRepository
+
+
+ count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
+
+
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
+
+
+ deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
+
+
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
+
+
+ findAll
+
+
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
+
+
+ count, exists, findAll, findOne
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+@Query("FROM Lecturer WHERE title = ?1 AND name = ?2 AND surname = ?3")
+ java.util.Optional<Lecturer > find (
@Param("title")
+java.lang.String title,
+@Param("name")
+java.lang.String name,
+@Param("surname")
+java.lang.String surname)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/UserRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/UserRepository.html
new file mode 100644
index 0000000..acf71b7
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/UserRepository.html
@@ -0,0 +1,359 @@
+
+
+
+
+
+UserRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+org.springframework.data.repository.CrudRepository<User ,java.lang.Long>
, org.springframework.data.jpa.repository.JpaRepository<User ,java.lang.Long>
, org.springframework.data.repository.PagingAndSortingRepository<User ,java.lang.Long>
, org.springframework.data.repository.query.QueryByExampleExecutor<User >
, org.springframework.data.repository.Repository<User ,java.lang.Long>
+
+
+@Repository
+public interface UserRepository
+extends org.springframework.data.jpa.repository.JpaRepository<User ,java.lang.Long>
+UserRepository.getByAuthority: Return list of: SELECT * FROM User WHERE email
+ = i.
+
+ Where i, ?1 are equale to variables.
+
+ UserRepository.getByToken: Return list of: SELECT * FROM User WHERE token =
+ i.
+
+ Where i, ?1 are equale to variables.
+
+ UserRepository.searchForUsers: Return list of: SELECT * FROM User WHERE (name
+ LIKE %?1% OR surname LIKE %?1%).
+
+ Where i, ?1 are equale to variables.
+
+ UserRepository.searchForUsers with role: Return list of: SELECT * FROM User
+ WHERE (name LIKE %?1% OR surname LIKE %?1%) AND role=?2").
+
+ Where i, ?1 are equale to variables.
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
Methods inherited from interface org.springframework.data.repository.CrudRepository
+
+
+ count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
+
+
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
+
+
+ deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
+
+
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
+
+
+ findAll
+
+
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
+
+
+ count, exists, findAll, findOne
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+@Query("FROM User WHERE email = ?1 OR usosId = ?1")
+ java.util.Optional<User > getByAuthority (
@Param("authority")
+java.lang.String authority)
+return user by given authority
+
+Parameters:
+authority
- user usosId or email
+Returns:
+optional with user if found
+
+
+
+
+
+
+@Query("FROM User WHERE email = ?1")
+ java.util.Optional<User > getByEmail (
@Param("authority")
+java.lang.String authority)
+
+
+
+
+
+@Query("FROM User WHERE refreshToken = ?1")
+ java.util.Optional<User > getByRefreshToken (
@Param("refreshToken")
+java.lang.String refreshToken)
+
+
+
+
+
+@Query("FROM User WHERE token = ?1")
+ java.util.Optional<User > getByToken (
@Param("token")
+java.lang.String token)
+
+
+
+
+
+@Query("FROM User WHERE (name LIKE %?1% OR surname LIKE %?1%)")
+ java.util.List<User > searchForUsers (
@Param("query")
+java.lang.String query)
+
+
+
+
+
+@Query("FROM User WHERE (name LIKE %?1% OR surname LIKE %?1%) AND role=?2")
+ java.util.List<User > searchForUsers (
@Param("query")
+java.lang.String query,
+@Param("role")
+UserRoles role)
+search for user with given query
+
+Parameters:
+query
- string that will be matched to users name and surname
+role
- limits results by role
+Returns:
+list opf results
+
+
+
+
+
+
+@Query("FROM User WHERE role=?1")
+ java.util.List<User > getAllByRole (
@Param("role")
+UserRoles role)
+
+
+
+
+
+@Query("FROM User WHERE usosId = ?1")
+ java.util.Optional<User > getByUsosId (
@Param("usosId")
+java.lang.String usosId)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/AppConfigRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/AppConfigRepository.html
new file mode 100644
index 0000000..d8e87a5
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/AppConfigRepository.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Interface com.plannaplan.repositories.AppConfigRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories.AppConfigRepository
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/AssignmentRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/AssignmentRepository.html
new file mode 100644
index 0000000..c041af2
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/AssignmentRepository.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Interface com.plannaplan.repositories.AssignmentRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories.AssignmentRepository
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/CommisionRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/CommisionRepository.html
new file mode 100644
index 0000000..6a955b7
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/CommisionRepository.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Interface com.plannaplan.repositories.CommisionRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories.CommisionRepository
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/CourseRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/CourseRepository.html
new file mode 100644
index 0000000..778d80e
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/CourseRepository.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Interface com.plannaplan.repositories.CourseRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories.CourseRepository
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/ExchangeRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/ExchangeRepository.html
new file mode 100644
index 0000000..0208529
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/ExchangeRepository.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Interface com.plannaplan.repositories.ExchangeRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories.ExchangeRepository
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/GroupRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/GroupRepository.html
new file mode 100644
index 0000000..2704f6e
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/GroupRepository.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Interface com.plannaplan.repositories.GroupRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories.GroupRepository
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/LecturerRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/LecturerRepository.html
new file mode 100644
index 0000000..ea2629b
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/LecturerRepository.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Interface com.plannaplan.repositories.LecturerRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories.LecturerRepository
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/UserRepository.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/UserRepository.html
new file mode 100644
index 0000000..ededd52
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/class-use/UserRepository.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Interface com.plannaplan.repositories.UserRepository (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories.UserRepository
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-summary.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-summary.html
new file mode 100644
index 0000000..324e03a
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-summary.html
@@ -0,0 +1,186 @@
+
+
+
+
+
+com.plannaplan.repositories (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Provides jpa repositories interfaces to comunicate with database. These are
+ used exclusively in services
+
+Since:
+1.0
+
+
+
+
+
+
+
+Interface Summary
+
+
+Interface
+Description
+
+
+
+
+AppConfigRepository
+
+Repository for app config
+
+
+
+AssignmentRepository
+
+AssignmentRepository.getByCommision:
+ Return list of:
+ SELECT * FROM Assignment WHERE commision_id = i .
+
+
+
+CommisionRepository
+
+CommisionRepository.getUsers: Return list of: SELECT * FROM Commision WHERE
+ owner_id = i .
+
+
+
+CourseRepository
+
+CourseRepository.findByName:
+ Return list of:
+ SELECT * FROM Course WHERE name = i .
+
+
+
+ExchangeRepository
+
+
+
+GroupRepository
+
+GroupRepository.find:
+ Return list of:
+ SELECT * FROM Groups WHERE time = i AND room = j AND capacity = k .
+
+
+
+LecturerRepository
+
+LecturerRepository.find:
+ Return list of:
+ SELECT * FROM Lecturer WHERE title = i AND name = j AND surname = k.
+
+
+
+UserRepository
+
+UserRepository.getByAuthority: Return list of: SELECT * FROM User WHERE email
+ = i.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-tree.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-tree.html
new file mode 100644
index 0000000..8a40109
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-tree.html
@@ -0,0 +1,150 @@
+
+
+
+
+
+com.plannaplan.repositories Class Hierarchy (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Interface Hierarchy
+
+org.springframework.data.repository.query.QueryByExampleExecutor<T>
+
+org.springframework.data.jpa.repository.JpaRepository<T,ID> (also extends org.springframework.data.repository.PagingAndSortingRepository<T,ID>)
+
+
+
+
+org.springframework.data.repository.Repository<T,ID>
+
+org.springframework.data.repository.CrudRepository<T,ID>
+
+org.springframework.data.repository.PagingAndSortingRepository<T,ID>
+
+org.springframework.data.jpa.repository.JpaRepository<T,ID> (also extends org.springframework.data.repository.query.QueryByExampleExecutor<T>)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-use.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-use.html
new file mode 100644
index 0000000..039e0fc
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/repositories/package-use.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Package com.plannaplan.repositories (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+No usage of com.plannaplan.repositories
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/AssignmentService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/AssignmentService.html
new file mode 100644
index 0000000..c8d62d4
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/AssignmentService.html
@@ -0,0 +1,352 @@
+
+
+
+
+
+AssignmentService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.AssignmentService
+
+
+
+@Service
+public class AssignmentService
+extends java.lang.Object
+Service of Assignment which can save assignments, diplay assignments, get
+ ammount of assigments.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public AssignmentService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+Save given assignment
+
+Parameters:
+assignment
- assignment to save
+Returns:
+assignment saved assignment with database id
+
+
+
+
+
+
+
+gets list of assignments of given commision
+
+Parameters:
+com
- Commision to get assinments from
+Returns:
+list of assignments
+
+
+
+
+
+
+public long getAssignmentsAmmount ()
+get ammount of all assignments (not only for selected commision)
+
+Returns:
+long - ammount of assingments
+
+
+
+
+
+
+public java.util.Optional<Assignment > getById (
java.lang.Long id)
+Get assigmnent by id
+
+Parameters:
+id
- id of assigmnent
+Returns:
+Optional of assignment
+
+
+
+
+
+
+public void callAcceptAlgorythm ()
+this method will activate accept algorythm for all students. Algorythm is
+ takeing each student in order defined by ranking and accept for him groups
+ that are joinable for him
+
+
+
+
+
+
+
+Parameters:
+toSave
- list of entites to save to db
+Returns:
+list of assignments entities with ids from db
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/CommisionService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/CommisionService.html
new file mode 100644
index 0000000..7041935
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/CommisionService.html
@@ -0,0 +1,336 @@
+
+
+
+
+
+CommisionService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.CommisionService
+
+
+
+@Service
+public class CommisionService
+extends java.lang.Object
+Service of CommisionService which can save commision, get user's commisions,
+ get newest user's commision, get ammount of commisions.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public CommisionService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+save to database commision. It also checks for missing assignments from
+ previous commision (you can not get rid of accepted assignment)
+
+Parameters:
+commision
- to save to db
+Returns:
+Commision instance with id from database
+
+
+
+
+
+
+
+gets user commisions
+
+Parameters:
+user
- owner of commisions
+Returns:
+list of user commisions
+
+
+
+
+
+
+public java.util.Optional<Commision > getNewestCommision (
User user)
+get newest commision ov given user
+
+Parameters:
+user
- owener of commision we attemp to get
+Returns:
+optional if commition was found
+
+
+
+
+
+
+public long getCommisionsAmmount ()
+get ammpounts of commisions
+
+Returns:
+long - ammounts of commisions (all even from history, not only
+ cutrrent one)
+
+
+
+
+
+
+
+
+Returns:
+list of ExportData inmstancces keeping data to exprt to file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/ConfiguratorService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/ConfiguratorService.html
new file mode 100644
index 0000000..bf15ba4
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/ConfiguratorService.html
@@ -0,0 +1,315 @@
+
+
+
+
+
+ConfiguratorService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.ConfiguratorService
+
+
+
+@Component
+public class ConfiguratorService
+extends java.lang.Object
+FileReader is used for reading xls file from input stream.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public ConfiguratorService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+methoid to config system. it shedules PerformAcceptAlgorythmTask as a side
+ effect
+
+Parameters:
+data
- ConfigData containng system configs
+
+
+
+
+
+
+
+Save tours to DataBase and shedule PerformAcceptAlgorythmTask as a side
+ effect
+
+Parameters:
+firstTour
- First tour period.
+secondTour
- Second tour period.
+
+
+
+
+
+
+
+current config getter
+
+Returns:
+AppConfig with newest config_date
+
+
+
+
+
+
+public void importCoursesStream (java.io.InputStream inputStream)
+
+Parameters:
+inputStream
- This input stream contains new courses to import.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/CourseService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/CourseService.html
new file mode 100644
index 0000000..7cb2315
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/CourseService.html
@@ -0,0 +1,329 @@
+
+
+
+
+
+CourseService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.CourseService
+
+
+
+@Service
+public class CourseService
+extends java.lang.Object
+Service of CourseService which can get(Course By Name, All Courses, Courses
+ Ammount ), save, delete course.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+CourseService ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public CourseService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.util.Optional<Course > getCourseByName (
java.lang.String name)
+getCourseByName
+
+Parameters:
+name
- name of course to be found
+Returns:
+Course By Name
+
+
+
+
+
+
+public java.util.List<Course > getAllCourses ()
+
+Returns:
+all courses from db
+
+
+
+
+
+
+
+save to db
+
+Parameters:
+course
- which course you would like to save
+Returns:
+Course instance with id from db
+
+
+
+
+
+
+public void delete (
Course course)
+delete course from db
+
+Parameters:
+course
- which course you would like to delete
+
+
+
+
+
+
+public int getCoursesAmmount ()
+
+Returns:
+ammount of courses in db
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/EmailService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/EmailService.html
new file mode 100644
index 0000000..cf5b662
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/EmailService.html
@@ -0,0 +1,302 @@
+
+
+
+
+
+EmailService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.EmailService
+
+
+
+@Service
+public class EmailService
+extends java.lang.Object
+Service to send emails
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+EmailService ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public EmailService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public void sendMail (java.lang.String destination,
+java.lang.String message)
+send simple text email
+
+Parameters:
+destination
- destitnaion mail
+message
- text to be send
+
+
+
+
+
+
+
+sends email with infromation about accepted groups
+
+Parameters:
+user
- user to send a mail
+data
- EmailAcceptedData instance containing informations about accepted
+ and removed groups
+
+
+
+
+
+
+
+method to send email for students whose groups were swaped
+
+Parameters:
+data
- EmailExchangesData instance that contains pair of datas user and
+ list of performed exhanges
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/EventService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/EventService.html
new file mode 100644
index 0000000..205920f
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/EventService.html
@@ -0,0 +1,371 @@
+
+
+
+
+
+EventService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.EventService
+
+
+
+@Service
+public class EventService
+extends java.lang.Object
+Service to manage app events
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+EventService ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+collectGroupLosses ()
+
+
+
+void
+initialize ()
+
+init resources needed for dynamicly creating new tasks (needed to set tours
+ end events)
+
+
+
+void
+performExchangeService ()
+
+perfroms checks for matching exchanges daily
+
+
+
+void
+scheduleTask (int taskId,
+java.lang.Runnable task,
+org.springframework.scheduling.support.CronTrigger cronTrigger)
+
+Schedule provided task to perform
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public EventService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+@Scheduled(cron="0 24 17 * * *")
+ public void collectGroupLosses ()
+
+
+
+
+
+@Scheduled(cron="0 0 0 * * *")
+ public void performExchangeService ()
+perfroms checks for matching exchanges daily
+
+
+
+
+
+public void scheduleTask (int taskId,
+java.lang.Runnable task,
+org.springframework.scheduling.support.CronTrigger cronTrigger)
+Schedule provided task to perform
+
+Parameters:
+taskId
- static filed of this class that represents to what event
+ we want to assign task
+task
- runnable class that perform task in implemented run method
+cronTrigger
- CronTrigger instance with date to perform
+
+
+
+
+
+
+@PostConstruct
+ public void initialize ()
+init resources needed for dynamicly creating new tasks (needed to set tours
+ end events)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/ExchangeService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/ExchangeService.html
new file mode 100644
index 0000000..04e8541
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/ExchangeService.html
@@ -0,0 +1,373 @@
+
+
+
+
+
+ExchangeService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.ExchangeService
+
+
+
+@Service
+public class ExchangeService
+extends java.lang.Object
+Service to manage Exchanges
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+ExchangeService ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public ExchangeService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+Parameters:
+exchange
- Instance to save in database
+Returns:
+Exchange Instance contains database id
+
+
+
+
+
+
+public java.util.Optional<Exchange > getById (
java.lang.Long id)
+
+Parameters:
+id
- Id of exchange in database
+Returns:
+Optional Exchange if found
+
+
+
+
+
+
+public java.util.List<Exchange > getAllExchanges ()
+
+Returns:
+list of all exchanges in database
+
+
+
+
+
+
+public java.util.List<Exchange > getByUserId (
java.lang.Long id)
+
+Parameters:
+id
- Id of user
+Returns:
+List of exchanges that belong to user
+
+
+
+
+
+
+public void deleteExchange (
Exchange entity)
+
+Parameters:
+entity
- Exchange entity which we would like to delete
+
+
+
+
+
+
+
+
+Parameters:
+assignment
- Assignment to trade for
+group
- Desired group
+Returns:
+Optional with Exchange if exist
+
+
+
+
+
+
+public void performExchange ()
+method to perform Exchange algorythm. It search for matches and swap
+ assignments between latests user commisions if it can be performed. After
+ swap we block users matches that contains switched groups. After algorythm
+ email is being sent to all users with information about performed exchanges
+
+
+
+
+
+public java.util.List<MatchData > getMatches ()
+
+Returns:
+list of matches found in database
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/GroupService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/GroupService.html
new file mode 100644
index 0000000..77de7c0
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/GroupService.html
@@ -0,0 +1,458 @@
+
+
+
+
+
+GroupService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.GroupService
+
+
+
+@Service
+public class GroupService
+extends java.lang.Object
+Service of GroupService which can find(optional), get(By Course, Groups
+ Ammount, Group By Id, find Not Existing Group), save, delete group.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+GroupService ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+void
+delete (Groups groups)
+
+delete from database
+
+
+
+java.util.Optional<Groups >
+find (int time,
+int capacity,
+java.lang.String room)
+
+find group with given properties
+
+
+
+java.util.Optional<Groups >
+find (java.lang.Integer zajCykId,
+java.lang.Integer nrGr)
+
+find group with given properties
+
+
+
+java.util.Optional<java.lang.Long>
+findNotExistingGroup (java.util.List<java.lang.Long> ids)
+
+get wich of provided id is not existind groups
+
+
+
+java.lang.Integer
+getFullgroupsAmmount ()
+
+
+
+java.util.Optional<Groups >
+getGroupById (java.lang.Long id)
+
+find group with given properties
+
+
+
+int
+getGroupsAmmount ()
+
+get hom manyh groups are in database in general
+
+
+
+java.util.List<Groups >
+getGroupsByCourse (java.lang.Long id)
+
+find group with given properties
+
+
+
+java.util.HashMap<java.lang.Long,java.lang.Integer>
+getTakenPlaces (java.util.List<Groups > groups)
+
+
+
+java.util.HashMap<java.lang.Long,java.lang.Integer>
+getTakenPlacesOfAssignments (java.util.List<Assignment > assignments)
+
+
+
+Groups
+save (Groups group)
+
+save group to database
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public GroupService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.util.Optional<Groups > find (
int time,
+int capacity,
+java.lang.String room)
+find group with given properties
+
+Parameters:
+time
- scheduled time for group as int of minutes passed from 00:00
+capacity
- capacity of group
+room
- class room
+Returns:
+optional with Groups instance if found
+
+
+
+
+
+
+public java.util.Optional<Groups > find (
java.lang.Integer zajCykId,
+java.lang.Integer nrGr)
+find group with given properties
+
+Parameters:
+zajCykId
- proteprty from usos
+nrGr
- group number
+Returns:
+optional with Groups instance if found
+
+
+
+
+
+
+public java.util.List<Groups > getGroupsByCourse (
java.lang.Long id)
+find group with given properties
+
+Parameters:
+id
- course id of groups belogns to
+Returns:
+list of found groups
+
+
+
+
+
+
+
+save group to database
+
+Parameters:
+group
- insatnce to be saved
+Returns:
+new instance that has id form database
+
+
+
+
+
+
+public void delete (
Groups groups)
+delete from database
+
+Parameters:
+groups
- isntance to delete
+
+
+
+
+
+
+public int getGroupsAmmount ()
+get hom manyh groups are in database in general
+
+Returns:
+int - groups ammount
+
+
+
+
+
+
+public java.util.Optional<Groups > getGroupById (
java.lang.Long id)
+find group with given properties
+
+Parameters:
+id
- group id
+Returns:
+optional with group if found
+
+
+
+
+
+
+public java.util.Optional<java.lang.Long> findNotExistingGroup (java.util.List<java.lang.Long> ids)
+get wich of provided id is not existind groups
+
+Parameters:
+ids
- list of ids to check
+Returns:
+optional with id that is not group if found. If there is multiple
+ will be returned first found
+
+
+
+
+
+
+public java.util.HashMap<java.lang.Long,java.lang.Integer> getTakenPlacesOfAssignments (
java.util.List<Assignment > assignments)
+
+Parameters:
+assignments
- list of assignments you want to get taken places ammount
+Returns:
+HashMap of Long to Integer where Long is group id and Integer is how
+ many places in gorup is already taken
+
+
+
+
+
+
+public java.util.HashMap<java.lang.Long,java.lang.Integer> getTakenPlaces (
java.util.List<Groups > groups)
+
+Parameters:
+groups
- list of groups you want to get taken places ammount
+Returns:
+HashMap of Long to Integer where Long is group id and Integer is how
+ many places in gorup is already taken
+
+
+
+
+
+
+public java.lang.Integer getFullgroupsAmmount ()
+
+Returns:
+amount of groups with full capacity taken
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/LecturerService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/LecturerService.html
new file mode 100644
index 0000000..eb70b00
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/LecturerService.html
@@ -0,0 +1,288 @@
+
+
+
+
+
+LecturerService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.LecturerService
+
+
+
+@Service
+public class LecturerService
+extends java.lang.Object
+Service of LecturerService which can get(Lecturer, Lecturers Ammount), save, delete lecturers.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+LecturerService ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public LecturerService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public java.util.Optional<Lecturer > getLecturer (
java.lang.String title,
+java.lang.String name,
+java.lang.String surname)
+
+
+
+
+
+
+
+
+
+
+
+public int getLecturersAmmount ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/UserService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/UserService.html
new file mode 100644
index 0000000..5a6b878
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/UserService.html
@@ -0,0 +1,540 @@
+
+
+
+
+
+UserService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.UserService
+
+
+
+@Service
+public class UserService
+extends java.lang.Object
+Service of UserService which can get(By Email), login, save user.
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+UserService ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public UserService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public User checkForUser (
java.lang.String email,
+java.lang.String usosId)
+checks if user exist and return him or creates new one with student role
+ otherwise
+
+Parameters:
+email
- user email in usos
+usosId
- user id in usos
+Returns:
+user entity instace containing changes saved in database
+
+
+
+
+
+
+public User checkForUser (
java.lang.String email,
+java.lang.String usosId,
+UserRoles roleIfNotExist)
+checks if user exist and creates new one if doesn't
+
+Parameters:
+email
- user email in usos
+usosId
- user id in usos
+roleIfNotExist
- role to be set in case user is not in database yet
+Returns:
+user entity instace containing changes saved in database
+
+
+
+
+
+
+
+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
+
+Parameters:
+authority
- user we want to login
+Returns:
+user with changed values after save in db
+Throws:
+UserNotFoundException
- throwed if user doesn't exist
+
+
+
+
+
+
+
+sacves user to databse and return instatnce with id
+
+Parameters:
+user
- to be saved
+Returns:
+instatnce with bd id
+
+
+
+
+
+
+
+
+Parameters:
+email
- of user to be find
+Returns:
+user with given mail
+Throws:
+UserNotFoundException
- throwed if user doesn't exist
+
+
+
+
+
+
+public java.util.Optional<User > getByAuthority (
java.lang.String authority)
+return user by given authority
+
+Parameters:
+authority
- user usosId or email
+Returns:
+optional with user if found
+
+
+
+
+
+
+public java.util.Optional<User > getByToken (
java.lang.String token)
+
+
+
+
+
+public java.util.List<User > searchForStudents (
java.lang.String query)
+search for user with given query
+
+Parameters:
+query
- string that will be matched to users name and surname
+Returns:
+list opf results
+
+
+
+
+
+
+public java.util.Optional<User > getById (
java.lang.Long userId)
+
+
+
+
+
+public java.util.List<User > getAllStudents ()
+
+
+
+
+
+public java.util.Optional<User > getUserByRefreshToken (
java.lang.String refreshToken)
+
+
+
+
+
+public boolean adminExists ()
+
+
+
+
+
+public void saveAll (
java.util.List<User > users)
+
+
+
+
+
+public java.util.List<User > getStudentsSortedByRanking ()
+get students sorted by their ranking
+
+Returns:
+list of students
+
+
+
+
+
+
+public int getAmmountOfUsersWithAssignedGroups ()
+
+Returns:
+ammount of how many users created an assignment
+
+
+
+
+
+
+public java.lang.Integer getAmmountOfUsersWithNoAssignedGroups ()
+
+Returns:
+ammount of how many users haven't created an assignment yet
+
+
+
+
+
+
+public java.lang.Integer getAmmountOfUsersWithAcceptedSchedules ()
+
+Returns:
+ammount of how many users have full schedule accepted
+
+
+
+
+
+
+public java.lang.Integer getAmmountOfUsersWithNoAcceptedSchedules ()
+
+Returns:
+ammount of how many users have partly or none schedule accepted
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/UsosApiService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/UsosApiService.html
new file mode 100644
index 0000000..2134b8e
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/UsosApiService.html
@@ -0,0 +1,260 @@
+
+
+
+
+
+UsosApiService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
java.lang.Object
+
com.plannaplan.services.UsosApiService
+
+
+
+@Service
+public class UsosApiService
+extends java.lang.Object
+service to call usos api endpoints
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+UsosApiService ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+UserApiResponse
+getUserData (java.lang.String usosId)
+
+/services/users/user
+
+
+
+
+
+
+
+
Methods inherited from class java.lang.Object
+
+
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public UsosApiService ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+/services/users/user
+
+Parameters:
+usosId
- user id in usos
+Returns:
+UserApiResponse modle contatining desired values
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/class-use/AssignmentService.html b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/class-use/AssignmentService.html
new file mode 100644
index 0000000..ae80f6c
--- /dev/null
+++ b/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/services/class-use/AssignmentService.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Uses of Class com.plannaplan.services.AssignmentService (buisnesslogic 1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+