A B C D E F G H I J L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addInstitutionManager(EmailVM, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Adds new institution manager by sending credentials of a new manager account to given email
- addInstitutionManager(EmailVM, User) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Adds new institution manager by sending credentials of a new manager account to given email
- addLanguage(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Adds language to logged in user's institution
- addLanguage(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Adds language to institution
- addResourceHandlers(ResourceHandlerRegistry) - Method in class cz.zcu.students.cacha.bp_server.assets_store_config.WebConfiguration
-
Maps http requests to folders
- AdminController - Class in cz.zcu.students.cacha.bp_server.controllers
-
Class represent rest controller which is responsible for administrator operations
- AdminController() - Constructor for class cz.zcu.students.cacha.bp_server.controllers.AdminController
- AdminService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for administrator operations
- AdminService() - Constructor for class cz.zcu.students.cacha.bp_server.services.AdminService
- AllowedLanguagesVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
Allowed languages view model
- AllowedLanguagesVM(Set<Language>, Set<Language>) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.AllowedLanguagesVM
-
Creates new instance with given possible languages and chosen languages
- ApiError - Class in cz.zcu.students.cacha.bp_server.error
-
Class that represents response if an error has occured during response processing
- ApiError(int, String, String) - Constructor for class cz.zcu.students.cacha.bp_server.error.ApiError
-
Creates new instance with given parameters
- authenticationManager() - Method in class cz.zcu.students.cacha.bp_server.security.SecurityConfiguration
-
Creates bean of AuthenticationManager
- AuthUserService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for authorization operations
- AuthUserService() - Constructor for class cz.zcu.students.cacha.bp_server.services.AuthUserService
B
- bCryptPasswordEncoder() - Method in class cz.zcu.students.cacha.bp_server.BpServerApplication
-
Gets the bean of password encoder
- BooleanValVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
View model with one boolean value
- BooleanValVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.BooleanValVM
- BpServerApplication - Class in cz.zcu.students.cacha.bp_server
-
Start point of the program
- BpServerApplication() - Constructor for class cz.zcu.students.cacha.bp_server.BpServerApplication
- Building - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents a building belonging to a cultural institution
- Building() - Constructor for class cz.zcu.students.cacha.bp_server.domain.Building
- BuildingImage - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents an image of a building
- BuildingImage() - Constructor for class cz.zcu.students.cacha.bp_server.domain.BuildingImage
- BuildingRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for buildings db operations
- BuildingVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model describing a building
- BuildingVM(Building) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.BuildingVM
-
creates new instance based on given building
C
- CannotPerformActionException - Exception in cz.zcu.students.cacha.bp_server.exceptions
-
Exception thrown when operation can not be performed
- CannotPerformActionException(String) - Constructor for exception cz.zcu.students.cacha.bp_server.exceptions.CannotPerformActionException
-
Creates new CannotPerformActionException with given message
- CannotSaveImageException - Exception in cz.zcu.students.cacha.bp_server.exceptions
-
Exception thrown when there is error when saving an image
- CannotSaveImageException(String) - Constructor for exception cz.zcu.students.cacha.bp_server.exceptions.CannotSaveImageException
-
Creates new instances with given message
- commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class cz.zcu.students.cacha.bp_server.security.JwtAuthenticationEntryPoint
-
Modifies the response on unsuccessful login
- configure(AuthenticationManagerBuilder) - Method in class cz.zcu.students.cacha.bp_server.security.SecurityConfiguration
-
Sets user service and password encoder
- configure(HttpSecurity) - Method in class cz.zcu.students.cacha.bp_server.security.SecurityConfiguration
-
Configurates spring security and set detail restrictions for system endpoints
- CoordinatesVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for passing coordinates
- CoordinatesVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.CoordinatesVM
- CurrentUser - Annotation Type in cz.zcu.students.cacha.bp_server.shared
-
Annotation for extracting logged in user
- cz.zcu.students.cacha.bp_server - package cz.zcu.students.cacha.bp_server
- cz.zcu.students.cacha.bp_server.assets_store_config - package cz.zcu.students.cacha.bp_server.assets_store_config
- cz.zcu.students.cacha.bp_server.controllers - package cz.zcu.students.cacha.bp_server.controllers
- cz.zcu.students.cacha.bp_server.domain - package cz.zcu.students.cacha.bp_server.domain
- cz.zcu.students.cacha.bp_server.error - package cz.zcu.students.cacha.bp_server.error
- cz.zcu.students.cacha.bp_server.exceptions - package cz.zcu.students.cacha.bp_server.exceptions
- cz.zcu.students.cacha.bp_server.repositories - package cz.zcu.students.cacha.bp_server.repositories
- cz.zcu.students.cacha.bp_server.responses - package cz.zcu.students.cacha.bp_server.responses
- cz.zcu.students.cacha.bp_server.security - package cz.zcu.students.cacha.bp_server.security
- cz.zcu.students.cacha.bp_server.services - package cz.zcu.students.cacha.bp_server.services
- cz.zcu.students.cacha.bp_server.shared - package cz.zcu.students.cacha.bp_server.shared
- cz.zcu.students.cacha.bp_server.validators - package cz.zcu.students.cacha.bp_server.validators
- cz.zcu.students.cacha.bp_server.view_models - package cz.zcu.students.cacha.bp_server.view_models
- czechCollator() - Method in class cz.zcu.students.cacha.bp_server.BpServerApplication
-
Gets czech sorting collator
D
- DEFAULT_EXHIBIT_IMAGE - Static variable in class cz.zcu.students.cacha.bp_server.assets_store_config.WebConfiguration
-
default exhibit image name
- DEFAULT_IMAGE - Static variable in class cz.zcu.students.cacha.bp_server.assets_store_config.WebConfiguration
-
default blank image
- DEFAULT_INSTITUTION_IMAGE - Static variable in class cz.zcu.students.cacha.bp_server.assets_store_config.WebConfiguration
-
default institution image name
- deleteBuilding(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Deletes building based on its id
- deleteBuilding(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Deletes building by its id
- deleteExhibit(Exhibit) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Deletes given exhibit from db and its images from fs
- deleteExhibit(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Deletes an exhibit based on its id
- deleteExhibit(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Deletes exhibit if is managed by given user
- deleteExhibitImage(String) - Method in class cz.zcu.students.cacha.bp_server.services.FileService
-
Delete exhibit image
- deleteInfoLabelImage(String) - Method in class cz.zcu.students.cacha.bp_server.services.FileService
-
Delete info label image
- deleteInstitution(Institution) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Deletes given institution
- deleteInstitutionImage(String) - Method in class cz.zcu.students.cacha.bp_server.services.FileService
-
Deletes institution image
- deleteMyInstitution(User) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Deletes institution of logged in user
- deleteMyInstitution(User) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Deletes user's institution
- deleteRoom(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Deletes room based on its id
- deleteRoom(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Deletes room by its id
- deleteSequence(Long, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Deletes all user's translations for given pair exhibit-language
- deleteSequence(Long, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Deletes all user's translations for given pair exhibit-language
- deleteShowcase(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Deletes showcase based on its id
- deleteShowcase(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Deletes showcase by its id
- detectType(byte[]) - Method in class cz.zcu.students.cacha.bp_server.services.FileService
-
Detects the type of file
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class cz.zcu.students.cacha.bp_server.security.JwtAuthenticationFilter
-
Adds filter to spring security that checks user provided jwt
E
- EmailService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for mail operations
- EmailService() - Constructor for class cz.zcu.students.cacha.bp_server.services.EmailService
- EmailVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for email
- EmailVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.EmailVM
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.Building
-
Gets whether two instances represents the same building
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.BuildingImage
-
Gets whether two instances represents the same image
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.Exhibit
-
Defines whether two exhibit instances are the same exhibit
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.ExhibitImage
-
Gets whether two instances represents the same image
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.Institution
-
Gets whether two instances represents the same institution
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.InstitutionImage
-
Gets whether two instances represents the same image
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.Language
-
Gets whether two instances represents the same language
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.Role
-
Gets whether two instances represents the same role
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.Room
-
Gets whether two instances represents the same room
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.RoomImage
-
Gets whether two instances represents the same image
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.Showcase
-
Gets whether two instances represents the same show-case
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.ShowcaseImage
-
Gets whether two instances represents the same image
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.Translation
-
Gets whether two instances represents the same translation
- equals(Object) - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
Gets whether two instances represents the same user
- Exhibit - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents an exhibit of a cultural institution
- Exhibit() - Constructor for class cz.zcu.students.cacha.bp_server.domain.Exhibit
- ExhibitController - Class in cz.zcu.students.cacha.bp_server.controllers
-
Class represents rest controller which is responsible for exhibits operations
- ExhibitController() - Constructor for class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
- ExhibitImage - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents an image of an exhibit
- ExhibitImage() - Constructor for class cz.zcu.students.cacha.bp_server.domain.ExhibitImage
- ExhibitRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for exhibits db operations
- ExhibitService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for exhibits operations
- ExhibitService() - Constructor for class cz.zcu.students.cacha.bp_server.services.ExhibitService
- ExhibitsLanguagesVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model containing exhibits and allowed languages
- ExhibitsLanguagesVM(Set<Language>, Set<Exhibit>) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.ExhibitsLanguagesVM
-
Creates new instance with given languages and exhibits
- ExhibitVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model describing an exhibit
- ExhibitVM(Exhibit) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.ExhibitVM
-
creates new instance based on given exhibit
- EXPIRATION_TIME - Static variable in class cz.zcu.students.cacha.bp_server.security.SecurityConstants
-
jwt expiration length
F
- FileService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for images operations
- FileService() - Constructor for class cz.zcu.students.cacha.bp_server.services.FileService
- findAllByOrderByName() - Method in interface cz.zcu.students.cacha.bp_server.repositories.LanguageRepository
-
Gets all languages ordered by name
- findByCode(String) - Method in interface cz.zcu.students.cacha.bp_server.repositories.LanguageRepository
-
Finds language by its code
- findByEmail(String) - Method in interface cz.zcu.students.cacha.bp_server.repositories.UserRepository
-
Gets user by email
- findByIdAndBuilding(Long, Building) - Method in interface cz.zcu.students.cacha.bp_server.repositories.RoomRepository
-
Gets room by its name and building
- findByIdAndInstitution(Long, Institution) - Method in interface cz.zcu.students.cacha.bp_server.repositories.BuildingRepository
-
Gets building by its id and institution
- findByIdAndRoom(Long, Room) - Method in interface cz.zcu.students.cacha.bp_server.repositories.ShowcaseRepository
-
Gets showcase by its id and room
- findByName(String) - Method in interface cz.zcu.students.cacha.bp_server.repositories.InstitutionRepository
-
Gets institution by its name
- findByName(String) - Method in interface cz.zcu.students.cacha.bp_server.repositories.RoleRepository
-
Gets role by its name
- findByNameAndBuilding(String, Building) - Method in interface cz.zcu.students.cacha.bp_server.repositories.RoomRepository
-
Gets room by its name and building
- findByNameAndInstitution(String, Institution) - Method in interface cz.zcu.students.cacha.bp_server.repositories.BuildingRepository
-
Gets building by its name and institution
- findByNameAndRoom(String, Room) - Method in interface cz.zcu.students.cacha.bp_server.repositories.ShowcaseRepository
-
Gets showcase by its name and room
- findByUsername(String) - Method in interface cz.zcu.students.cacha.bp_server.repositories.UserRepository
-
Gets user by username
G
- generateQRCodeImage(String) - Method in class cz.zcu.students.cacha.bp_server.services.QRCodeService
-
Generates QR code with given text
- generateToken(Authentication) - Method in class cz.zcu.students.cacha.bp_server.security.JwtTokenProvider
-
Generates new jwt login token
- GenericResponse - Class in cz.zcu.students.cacha.bp_server.responses
-
Class represents response that is returned as information if request was processed successfully
- GenericResponse(String) - Constructor for class cz.zcu.students.cacha.bp_server.responses.GenericResponse
-
Creates new instance with given message
- getAllBuildings(Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Gets all buildings of institution based on its id
- getAllBuildings(Long) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Gets all buildings of institution defined by its id
- getAllBuildingsOfUsersInstitution(User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Gets all buildings of logged in user's institution
- getAllBuildingsOfUsersInstitution(User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Gets all buildings of user's institution
- getAllExhibitsOfInstitution(Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Gets all exhibits of given institution
- getAllExhibitsOfUsersInstitution(User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Gets all exhibits of logged in user's institution
- getAllExhibitsOfUsersInstitution(User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Gets all the exhibits of user's institution
- getAllowedLanguages(User) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Gets the chosen and possible languages of logged in user's institution
- getAllowedLanguages(User) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Gets the chosen and possible languages of institution
- getAllRooms(Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Gets all rooms of building based on its id
- getAllRooms(Long) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Gets all rooms of building defined by id
- getAllShowcases(Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Gets all showcases of room based on its id
- getAllShowcases(Long) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Gets all showcases of room defined by id
- getAuthorities() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
Gets all authorities represented by roles that user has
- getBuilding(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Gets building based on its id
- getBuilding(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Gets details about building defined by its id
- getExhibit(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Gets exhibit based on its id
- getExhibit(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Gets an exhibit defined by its id if is managed by given user
- getExhibitQRCode(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Gets base64 encoded QR code for given exhibit
- getExhibitQRCode(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Gets base64 encoded QR code for given exhibit
- getExhibitsApproveTranslations(User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Gets exhibits and allowed languages of logged in user insitution
- getExhibitsApproveTranslations(User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Gets exhibits and allowed languages of user's institution
- getExhibitsOfInstitution(Long) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Gets all exhibits of given institution
- getExhibitsTranslate(Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Gets exhibits and allowed languages of an institution defined by its id
- getExhibitsTranslate(Long) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Gets exhibits and allowed languages of an institution defined by its id
- getFreshToken() - Method in class cz.zcu.students.cacha.bp_server.services.UserService
-
Returns new jwt for authenticated user
- getInstitutions() - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Gets all registered institutions
- getInstitutions() - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Gets all institutions
- getInstitutionsOrdered(CoordinatesVM) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Gets all institutions ordered relative to given coordinates
- getInstitutionsOrdered(CoordinatesVM) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Gets all institutions ordered relative to given coordinates
- getLatestTranslation(Long, Long, Long) - Method in interface cz.zcu.students.cacha.bp_server.repositories.TranslationRepository
-
Gets the latest translation of given author, exhibit and language
- getLatestTranslations(Long, Long) - Method in interface cz.zcu.students.cacha.bp_server.repositories.TranslationRepository
-
Gets the latest translations for given exhibit and language from all authors
- getMyInstitution(User) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Gets an institution of current user
- getMyInstitution(User) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Gets user's institution
- getNewTranslation(Long, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Gets the information for translation to given language and for given exhibit
- getNewTranslation(Long, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Gets the information for translation to given language and for given exhibit
- getNonAdminUsers() - Method in interface cz.zcu.students.cacha.bp_server.repositories.UserRepository
-
Gets all non admin users
- getOfficialTranslation(Long, Long) - Method in interface cz.zcu.students.cacha.bp_server.repositories.TranslationRepository
-
Gets the official translation for given exhibit and language
- getOfficialTranslation(Long, String) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Gets official translation for given exhibit and language
- getOfficialTranslation(Long, String) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Gets official translation for given exhibit and language
- getQRCodeWriter() - Method in class cz.zcu.students.cacha.bp_server.BpServerApplication
-
Gets bean of QRCodeWriter
- getRateOverview(Long, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Gets the translation overview for rating
- getRateOverview(Long, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Gets the translation overview for rating
- getRoom(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Gets room based on its id
- getRoom(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Gets room details by its id
- getSequence(Long, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Gets translation sequence for given exhibit and language
- getSequence(Long, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Gets translation sequence for given exhibit and language
- getSequence(Long, Long, Long) - Method in interface cz.zcu.students.cacha.bp_server.repositories.TranslationRepository
-
Gets translation sequence for given author-exhibit-language
- getSequences(User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Gets the translation sequences of logged in user
- getSequences(User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Gets the translation sequences of given user
- getSequences(Long) - Method in interface cz.zcu.students.cacha.bp_server.repositories.TranslationRepository
-
Gets all latest translations for every pair exhibit-languge for given translator
- getSequenceToDelete(Long, Long, Long) - Method in interface cz.zcu.students.cacha.bp_server.repositories.TranslationRepository
-
Gets all translation for given user-exhibit-language
- getShowcase(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Gets showcase based on its id
- getShowcase(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Gets showcase details by its id
- getTranslationToRollback(Long, Long, Long, Long) - Method in interface cz.zcu.students.cacha.bp_server.repositories.TranslationRepository
-
Gets all translation for given author-exhibit-language that are more recent than translation with given id
- getUserDetail(Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.AdminController
-
Gets the details about given user
- getUserDetail(Long) - Method in class cz.zcu.students.cacha.bp_server.services.AdminService
-
Gets the details about given user
- getUserIdFromJWT(String) - Method in class cz.zcu.students.cacha.bp_server.security.JwtTokenProvider
-
Gets user id from given token
- getUsers() - Method in class cz.zcu.students.cacha.bp_server.controllers.AdminController
-
Gets all users except admins
- getUsers() - Method in class cz.zcu.students.cacha.bp_server.services.AdminService
-
Gets all users except admins
- groups() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.PngJpgFile
- groups() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueEmail
- groups() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueEmailExclPrincipal
- groups() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionName
- groups() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameExclUpdated
- groups() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueUsername
- groups() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueUsernameExclPrincipal
H
- handleCustomValidationException(ValidationErrorException, HttpServletRequest) - Method in class cz.zcu.students.cacha.bp_server.error.ValidationErrorsHandler
-
Gets the response for ValidationErrorException custom exception
- handleException(Exception, HttpServletRequest) - Method in class cz.zcu.students.cacha.bp_server.error.ValidationErrorsHandler
-
Handles named custom exception
- handleValidationException(MethodArgumentNotValidException, HttpServletRequest) - Method in class cz.zcu.students.cacha.bp_server.error.ValidationErrorsHandler
-
Gets the response for MethodArgumentNotValidException
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.Building
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.BuildingImage
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.Exhibit
-
Gets the hash code of exhibit
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.ExhibitImage
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.Institution
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.InstitutionImage
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.Language
-
Gets the hash code
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.Role
-
Gets the hash code
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.Room
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.RoomImage
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.Showcase
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.ShowcaseImage
-
Gets the hash code for given instance
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.Translation
-
Gets the hash code
- hashCode() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
Gets the hash code
- HEADER_STRING - Static variable in class cz.zcu.students.cacha.bp_server.security.SecurityConstants
-
http authorization
I
- ImageVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for base64 encoded image
- ImageVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.ImageVM
- initialize(UniqueEmail) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueEmailValidator
-
Initializes validator
- initialize(UniqueEmailExclPrincipal) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueEmailExclPrincipalValidator
-
Initializes validator
- initialize(UniqueInstitutionName) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameValidator
-
Initializes validator
- initialize(UniqueInstitutionNameExclUpdated) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameExclUpdatedValidator
-
Initializes validator
- initialize(UniqueUsername) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueUsernameValidator
-
Initializes validator
- initialize(UniqueUsernameExclPrincipal) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueUsernameExclPrincipalValidator
-
Initializes validator
- Institution - Class in cz.zcu.students.cacha.bp_server.domain
-
Class represents a cultural institution
- Institution() - Constructor for class cz.zcu.students.cacha.bp_server.domain.Institution
- InstitutionController - Class in cz.zcu.students.cacha.bp_server.controllers
-
Class represents rest controller which is responsible for institution operations
- InstitutionController() - Constructor for class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
- InstitutionImage - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents an image of a cultural institution
- InstitutionImage() - Constructor for class cz.zcu.students.cacha.bp_server.domain.InstitutionImage
- InstitutionRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for institutions db operations
- InstitutionService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for institution operations
- InstitutionService() - Constructor for class cz.zcu.students.cacha.bp_server.services.InstitutionService
- InstitutionVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for institution
- InstitutionVM(Institution) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.InstitutionVM
-
Creates new instance based on given institution
- InvalidLoginResponse - Class in cz.zcu.students.cacha.bp_server.security
-
Response returned on unsuccessful login
- InvalidLoginResponse() - Constructor for class cz.zcu.students.cacha.bp_server.security.InvalidLoginResponse
-
Creates new instance with default values
- isAccountNonExpired() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
indicates whether is account expired
- isAccountNonLocked() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
indicates if the account is locked
- isAdmin() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
Gets whether user is an administrator
- isCredentialsNonExpired() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
gets if user's credentials are expired
- isEnabled() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
gets whether user is banned
- isInstitutionOwner() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
Gets whether user manages an institution
- isTranslator() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
Gets whether user is translator
- isValid(String, ConstraintValidatorContext) - Method in class cz.zcu.students.cacha.bp_server.validators.PngJpgFileValidator
-
Validates whether file is jpg or png
- isValid(String, ConstraintValidatorContext) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueEmailExclPrincipalValidator
-
Gets if email is unique except email of the user that caused the check
- isValid(String, ConstraintValidatorContext) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueEmailValidator
-
Gets if email is unique
- isValid(String, ConstraintValidatorContext) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameExclUpdatedValidator
-
Gets if name is unique except the that caused the check
- isValid(String, ConstraintValidatorContext) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameValidator
-
Check whether institution name is unique
- isValid(String, ConstraintValidatorContext) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueUsernameExclPrincipalValidator
-
Gets if username is unique except the that caused the check
- isValid(String, ConstraintValidatorContext) - Method in class cz.zcu.students.cacha.bp_server.validators.UniqueUsernameValidator
-
Gets if username is unique
J
- JwtAuthenticationEntryPoint - Class in cz.zcu.students.cacha.bp_server.security
-
Class configurating unsuccessful login responses
- JwtAuthenticationEntryPoint() - Constructor for class cz.zcu.students.cacha.bp_server.security.JwtAuthenticationEntryPoint
- jwtAuthenticationFilter() - Method in class cz.zcu.students.cacha.bp_server.BpServerApplication
-
Gets bean of JwtAuthenticationFilter
- JwtAuthenticationFilter - Class in cz.zcu.students.cacha.bp_server.security
-
Class configurating spring security filter chain to use jwt
- JwtAuthenticationFilter() - Constructor for class cz.zcu.students.cacha.bp_server.security.JwtAuthenticationFilter
- JWTLoginSuccessResponse - Class in cz.zcu.students.cacha.bp_server.responses
-
Response returned on successful login
- JWTLoginSuccessResponse(String) - Constructor for class cz.zcu.students.cacha.bp_server.responses.JWTLoginSuccessResponse
-
Creates new instance with given login token
- JwtTokenProvider - Class in cz.zcu.students.cacha.bp_server.security
-
Class providing utilities for jwt operations
- JwtTokenProvider() - Constructor for class cz.zcu.students.cacha.bp_server.security.JwtTokenProvider
L
- Language - Class in cz.zcu.students.cacha.bp_server.domain
-
Class that represents language
- Language(String, String) - Constructor for class cz.zcu.students.cacha.bp_server.domain.Language
-
Creates new instance with give params
- LanguageRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for languages db operations
- LanguageVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
language view model
- LanguageVM(Language) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.LanguageVM
-
Creates new instance based on given language
- loadUserById(Long) - Method in class cz.zcu.students.cacha.bp_server.services.AuthUserService
-
Get user by his id
- loadUserByUsername(String) - Method in class cz.zcu.students.cacha.bp_server.services.AuthUserService
-
Gets user by his username
- LocationController - Class in cz.zcu.students.cacha.bp_server.controllers
-
Class represents rest controller which is responsible for all operations connected to managing building, room and show-case
- LocationController() - Constructor for class cz.zcu.students.cacha.bp_server.controllers.LocationController
- LocationService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for location (building, room and show-case) operations
- LocationService() - Constructor for class cz.zcu.students.cacha.bp_server.services.LocationService
- login(UsernamePasswordVM) - Method in class cz.zcu.students.cacha.bp_server.controllers.UserController
-
Logs user in based on given credentials
- login(UsernamePasswordVM) - Method in class cz.zcu.students.cacha.bp_server.services.UserService
-
Checks authentication and returns jwt based on given credentials
M
- main(String[]) - Static method in class cz.zcu.students.cacha.bp_server.BpServerApplication
-
Starts the program
- message() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.PngJpgFile
- message() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueEmail
- message() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueEmailExclPrincipal
- message() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionName
- message() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameExclUpdated
- message() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueUsername
- message() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueUsernameExclPrincipal
N
- NewTranslationVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for making new translation
- NewTranslationVM(Exhibit, String, String) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.NewTranslationVM
-
Creates new instance based on given parameters
- NotFoundException - Exception in cz.zcu.students.cacha.bp_server.exceptions
-
Exception thrown when element is not found
- NotFoundException(String) - Constructor for exception cz.zcu.students.cacha.bp_server.exceptions.NotFoundException
-
Creates new instance with given message
O
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.Building
-
sets parameters for newly created buildings
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.BuildingImage
-
sets parameters for newly created images
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.Exhibit
-
saves registration date on new exhibit save
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.ExhibitImage
-
sets parameters for newly created images
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.Institution
-
sets parameters for newly registered institutions
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.InstitutionImage
-
sets parameters for newly created images
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.Room
-
sets parameters for newly created rooms
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.RoomImage
-
sets parameters for newly created images
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.Showcase
-
sets parameters for newly created show-cases
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.ShowcaseImage
-
sets parameters for newly created images
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.Translation
-
sets default params for new translations
- onCreate() - Method in class cz.zcu.students.cacha.bp_server.domain.User
-
Sets default values for newly crated user
P
- PasswordUpdateVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for passing password
- PasswordUpdateVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.PasswordUpdateVM
- payload() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.PngJpgFile
- payload() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueEmail
- payload() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueEmailExclPrincipal
- payload() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionName
- payload() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameExclUpdated
- payload() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueUsername
- payload() - Method in annotation type cz.zcu.students.cacha.bp_server.validators.UniqueUsernameExclPrincipal
- PngJpgFile - Annotation Type in cz.zcu.students.cacha.bp_server.validators
-
Annotation to check right attachment type
- PngJpgFileValidator - Class in cz.zcu.students.cacha.bp_server.validators
-
Class represents validator that checks if file is of type png or jpg
- PngJpgFileValidator() - Constructor for class cz.zcu.students.cacha.bp_server.validators.PngJpgFileValidator
Q
- QRCodeService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for QR code generation
- QRCodeService() - Constructor for class cz.zcu.students.cacha.bp_server.services.QRCodeService
R
- RateTranslationsVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for rating translations
- RateTranslationsVM(Set<Translation>, Exhibit, User, Language) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.RateTranslationsVM
-
Creates new instance based on given params
- RateTranslationVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for rating translation
- RateTranslationVM(Translation, User) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.RateTranslationVM
-
Creates new instance based on given params
- register(User) - Method in class cz.zcu.students.cacha.bp_server.controllers.UserController
-
Registeres a new user in the system
- removeInstitution(Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.AdminController
-
Removes user's managerial rights to his institution
- removeInstitution(Long) - Method in class cz.zcu.students.cacha.bp_server.services.AdminService
-
Removes user's managerial rights to his institution
- Role - Class in cz.zcu.students.cacha.bp_server.domain
-
Class that represents user's role
- Role(String) - Constructor for class cz.zcu.students.cacha.bp_server.domain.Role
-
creates new role with given params
- ROLE_ADMIN - Static variable in class cz.zcu.students.cacha.bp_server.shared.RolesConstants
- ROLE_INSTITUTION_OWNER - Static variable in class cz.zcu.students.cacha.bp_server.shared.RolesConstants
- ROLE_TRANSLATOR - Static variable in class cz.zcu.students.cacha.bp_server.shared.RolesConstants
- RoleRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for roles db operations
- RolesConstants - Class in cz.zcu.students.cacha.bp_server.shared
-
class holding names of roles
- RolesConstants() - Constructor for class cz.zcu.students.cacha.bp_server.shared.RolesConstants
- rollback(Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Deletes every translation for given user-exhibit-language that was created after this translation
- rollback(Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Deletes every translation for given user-exhibit-language that was created after this translation
- Room - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents a room inside a cultural institution
- Room() - Constructor for class cz.zcu.students.cacha.bp_server.domain.Room
- RoomImage - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents an image of a room
- RoomImage() - Constructor for class cz.zcu.students.cacha.bp_server.domain.RoomImage
- RoomRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for rooms db operations
- RoomVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model describing a room
- RoomVM(Room) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.RoomVM
-
creates new instance based on given room
S
- save(User) - Method in class cz.zcu.students.cacha.bp_server.services.UserService
-
Registeres an user in the system
- saveBuilding(Building, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Saves new building to logged in user's institution
- saveBuilding(Building, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Saves new building to logged in user's institution
- saveExhibit(Exhibit, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Saves new exhibit to logged in user's institution
- saveExhibit(Exhibit, User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Saves new exhibit to user's institution
- saveExhibit(Exhibit, Long) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Saves new exhibit to institution defined by its id
- saveExhibit(Long, Exhibit) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Saves new exhibit to an institution defined by its id
- saveExhibitImage(String) - Method in class cz.zcu.students.cacha.bp_server.services.FileService
-
Saves given exhibit image and returns its name
- saveInfoLabelImage(String) - Method in class cz.zcu.students.cacha.bp_server.services.FileService
-
Saves given info label image and returns its name
- saveInstitution(Institution, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Saves new institution with logged in user as a manager
- saveInstitution(Institution, User) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Saves institution with given user as a manager
- saveInstitutionImage(String) - Method in class cz.zcu.students.cacha.bp_server.services.FileService
-
Saves given institution image and returns its name
- saveNewTranslation(Long, Long, Translation, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Saves new translation
- saveNewTranslation(Long, Long, Translation, User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Saves new translation
- saveRoom(Room, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Saves new room to given building defined by id
- saveRoom(Room, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Saves new room to building defined by id
- saveShowcase(Showcase, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Saves new showcase to given room defined by id
- saveShowcase(Showcase, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Saves new showcase to room defined by id
- SECRET - Static variable in class cz.zcu.students.cacha.bp_server.security.SecurityConstants
-
jwt generation secret
- SecurityConfiguration - Class in cz.zcu.students.cacha.bp_server.security
-
Class that configurates system security
- SecurityConfiguration() - Constructor for class cz.zcu.students.cacha.bp_server.security.SecurityConfiguration
- SecurityConstants - Class in cz.zcu.students.cacha.bp_server.security
-
Class holding constants used in security
- SecurityConstants() - Constructor for class cz.zcu.students.cacha.bp_server.security.SecurityConstants
- sendSimpleMessage(String, String, String) - Method in class cz.zcu.students.cacha.bp_server.services.EmailService
-
Sends email with given parameters
- separator - Static variable in class cz.zcu.students.cacha.bp_server.services.FileService
-
Separator that can occur at the beginning of base64 string
- setBan(BooleanValVM, Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.AdminController
-
Changes if user is banned or not depending on given value
- setBan(BooleanValVM, Long) - Method in class cz.zcu.students.cacha.bp_server.services.AdminService
-
Changes if user is banned or not depending on given value
- setLike(BooleanValVM, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Set like or dislike from logged in user to given translation
- setLike(BooleanValVM, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Set like or dislike from given user to given translation
- setTranslationOfficial(BooleanValVM, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.TranslationController
-
Set translation official or unofficial based on given value
- setTranslationOfficial(BooleanValVM, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.TranslationService
-
Set translation official or unofficial based on given value
- setTranslator(BooleanValVM, Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.AdminController
-
Changes the value of user translator rights
- setTranslator(BooleanValVM, Long) - Method in class cz.zcu.students.cacha.bp_server.services.AdminService
-
Changes the value of user translator rights
- Showcase - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents a show-case with exhibits
- Showcase() - Constructor for class cz.zcu.students.cacha.bp_server.domain.Showcase
- ShowcaseImage - Class in cz.zcu.students.cacha.bp_server.domain
-
Represents an image of a show-case
- ShowcaseImage() - Constructor for class cz.zcu.students.cacha.bp_server.domain.ShowcaseImage
- ShowcaseRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for show-case db operations
- ShowcaseVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model describing a show-case
- ShowcaseVM(Showcase) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.ShowcaseVM
-
creates new instance based on given show-case
T
- tika() - Method in class cz.zcu.students.cacha.bp_server.BpServerApplication
-
Gets bean of Tika
- token() - Method in class cz.zcu.students.cacha.bp_server.controllers.UserController
-
Generates new token for authenticated user to avoid expiration
- TOKEN_PREFIX - Static variable in class cz.zcu.students.cacha.bp_server.security.SecurityConstants
-
http authorization token prefix
- Translation - Class in cz.zcu.students.cacha.bp_server.domain
-
Class that represents translation attached to exhibit and langugae
- Translation() - Constructor for class cz.zcu.students.cacha.bp_server.domain.Translation
- TranslationController - Class in cz.zcu.students.cacha.bp_server.controllers
-
Class represents rest controller which is responsible for translations operations
- TranslationController() - Constructor for class cz.zcu.students.cacha.bp_server.controllers.TranslationController
- TranslationRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for translations db operations
- TranslationSequenceVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for translation sequence
- TranslationSequenceVM(Translation) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.TranslationSequenceVM
-
Creates new instance based on given translation
- TranslationService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for translations operations
- TranslationService() - Constructor for class cz.zcu.students.cacha.bp_server.services.TranslationService
- TranslationVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for translation
- TranslationVM(Translation) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.TranslationVM
-
Cretes new instance based on given translation
U
- UnauthorizedException - Exception in cz.zcu.students.cacha.bp_server.exceptions
-
Exception thrown when user tries to access an element that he does not own
- UnauthorizedException(String) - Constructor for exception cz.zcu.students.cacha.bp_server.exceptions.UnauthorizedException
-
Creates new instance with given message
- UniqueEmail - Annotation Type in cz.zcu.students.cacha.bp_server.validators
-
Annotation to checking email uniqueness
- UniqueEmailExclPrincipal - Annotation Type in cz.zcu.students.cacha.bp_server.validators
-
Annotation to check uniqueness of email except email of user that caused the check
- UniqueEmailExclPrincipalValidator - Class in cz.zcu.students.cacha.bp_server.validators
-
Class used to check email uniqueness except the email of user that caused the check
- UniqueEmailExclPrincipalValidator() - Constructor for class cz.zcu.students.cacha.bp_server.validators.UniqueEmailExclPrincipalValidator
- UniqueEmailValidator - Class in cz.zcu.students.cacha.bp_server.validators
- UniqueEmailValidator() - Constructor for class cz.zcu.students.cacha.bp_server.validators.UniqueEmailValidator
- UniqueInstitutionName - Annotation Type in cz.zcu.students.cacha.bp_server.validators
-
Annotation to check uniqueness of institution name
- UniqueInstitutionNameExclUpdated - Annotation Type in cz.zcu.students.cacha.bp_server.validators
-
Annotation to check institution name uniqueness except the one that caused the check
- UniqueInstitutionNameExclUpdatedValidator - Class in cz.zcu.students.cacha.bp_server.validators
-
Class used to check institution name uniqueness except the one that caused the check
- UniqueInstitutionNameExclUpdatedValidator() - Constructor for class cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameExclUpdatedValidator
- UniqueInstitutionNameValidator - Class in cz.zcu.students.cacha.bp_server.validators
-
Class used to check institution name uniqueness
- UniqueInstitutionNameValidator() - Constructor for class cz.zcu.students.cacha.bp_server.validators.UniqueInstitutionNameValidator
- UniqueUsername - Annotation Type in cz.zcu.students.cacha.bp_server.validators
-
Annotation to checking username uniqueness
- UniqueUsernameExclPrincipal - Annotation Type in cz.zcu.students.cacha.bp_server.validators
-
Annotation to check uniqueness of username except the one that caused the check
- UniqueUsernameExclPrincipalValidator - Class in cz.zcu.students.cacha.bp_server.validators
-
Class used to check username uniqueness except the one that caused the check
- UniqueUsernameExclPrincipalValidator() - Constructor for class cz.zcu.students.cacha.bp_server.validators.UniqueUsernameExclPrincipalValidator
- UniqueUsernameValidator - Class in cz.zcu.students.cacha.bp_server.validators
-
Class used to check username uniqueness
- UniqueUsernameValidator() - Constructor for class cz.zcu.students.cacha.bp_server.validators.UniqueUsernameValidator
- updateBuilding(Building, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Updates building information based on its id
- updateBuilding(Building, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Updates building with new information based on its id
- updateExhibit(Long, UpdateExhibitVM, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Updates information of given exhibit
- updateExhibit(Long, UpdateExhibitVM, User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Updates exhibit information
- updateExhibitImage(Long, ImageVM, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Updates the image of given exhibit and returns its new name
- updateExhibitImage(Long, ImageVM, User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Updates exhibit image and returns its new name
- updateExhibitInfoLabel(Long, ImageVM, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.ExhibitController
-
Updates the info label image of given exhibit and returns its new name
- updateExhibitInfoLabel(Long, ImageVM, User) - Method in class cz.zcu.students.cacha.bp_server.services.ExhibitService
-
Updates exhibit info label image and returns its new name
- UpdateExhibitVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for updating an exhibit
- UpdateExhibitVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.UpdateExhibitVM
- updateImage(ImageVM, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Updates institution image
- updateImage(ImageVM, User) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Updates institution image
- updateInstitution(UpdateInstitutionVM, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.InstitutionController
-
Updates institution information
- updateInstitution(UpdateInstitutionVM, User) - Method in class cz.zcu.students.cacha.bp_server.services.InstitutionService
-
Updates institution information
- UpdateInstitutionVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for updating institution information
- UpdateInstitutionVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.UpdateInstitutionVM
- updatePassword(PasswordUpdateVM, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.UserController
-
Changes user's password
- updatePassword(User, String) - Method in class cz.zcu.students.cacha.bp_server.services.UserService
-
Changes user's password
- updateRoom(Room, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Updates room information based on its id
- updateRoom(Room, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Updates room defined by id with new information
- updateShowcase(Showcase, Long, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.LocationController
-
Updates showcase information based on its id
- updateShowcase(Showcase, Long, User) - Method in class cz.zcu.students.cacha.bp_server.services.LocationService
-
Updates showcase defined by id with new information
- updateUser(UserUpdateVM, User) - Method in class cz.zcu.students.cacha.bp_server.controllers.UserController
-
Updates user's personal information
- updateUser(User, String, String) - Method in class cz.zcu.students.cacha.bp_server.services.UserService
-
Updates user's username and email
- updateUserPassword(Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.AdminController
-
Generates new password for user and sends it to his mail
- updateUserPassword(Long) - Method in class cz.zcu.students.cacha.bp_server.services.AdminService
-
Generates new password for given user and sends it to his mail
- updateUserUsername(UsernameUpdateVM, Long) - Method in class cz.zcu.students.cacha.bp_server.controllers.AdminController
-
Updates username to given user
- updateUserUsername(UsernameUpdateVM, Long) - Method in class cz.zcu.students.cacha.bp_server.services.AdminService
-
Updates username to given user
- User - Class in cz.zcu.students.cacha.bp_server.domain
-
Class that represents user of translation system
- User() - Constructor for class cz.zcu.students.cacha.bp_server.domain.User
- UserController - Class in cz.zcu.students.cacha.bp_server.controllers
-
Class represent rest controller which is responsible for user operations
- UserController() - Constructor for class cz.zcu.students.cacha.bp_server.controllers.UserController
- UserDetailVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for user details
- UserDetailVM(User) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.UserDetailVM
-
creates new instance based on given user
- UsernamePasswordVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for username and password input
- UsernamePasswordVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.UsernamePasswordVM
- UsernameUpdateVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for updating username
- UsernameUpdateVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.UsernameUpdateVM
- UserRepository - Interface in cz.zcu.students.cacha.bp_server.repositories
-
Class represent repository which is responsible for users db operations
- UserService - Class in cz.zcu.students.cacha.bp_server.services
-
Class represent service which is responsible for user operations
- UserService() - Constructor for class cz.zcu.students.cacha.bp_server.services.UserService
- UserUpdateVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model for updating user
- UserUpdateVM() - Constructor for class cz.zcu.students.cacha.bp_server.view_models.UserUpdateVM
- UserVM - Class in cz.zcu.students.cacha.bp_server.view_models
-
view model of user
- UserVM(User) - Constructor for class cz.zcu.students.cacha.bp_server.view_models.UserVM
-
Creates new instance based on given user
V
- validateToken(String) - Method in class cz.zcu.students.cacha.bp_server.security.JwtTokenProvider
-
Gets whether given token is valid
- ValidationErrorException - Exception in cz.zcu.students.cacha.bp_server.exceptions
-
Exception thrown when input params are not valid
- ValidationErrorException(HashMap<String, String>) - Constructor for exception cz.zcu.students.cacha.bp_server.exceptions.ValidationErrorException
-
Creates new instance with given validation errors hash map
- ValidationErrorsHandler - Class in cz.zcu.students.cacha.bp_server.error
-
Class for handling errors
- ValidationErrorsHandler() - Constructor for class cz.zcu.students.cacha.bp_server.error.ValidationErrorsHandler
W
- WebConfiguration - Class in cz.zcu.students.cacha.bp_server.assets_store_config
-
Configuration of images serving
- WebConfiguration() - Constructor for class cz.zcu.students.cacha.bp_server.assets_store_config.WebConfiguration
All Classes All Packages