Uses of Class
cz.zcu.students.cacha.bp_server.domain.User
-
-
Uses of User in cz.zcu.students.cacha.bp_server.controllers
Methods in cz.zcu.students.cacha.bp_server.controllers with parameters of type User Modifier and Type Method Description GenericResponse
InstitutionController. addInstitutionManager(@Valid EmailVM emailVM, User user)
Adds new institution manager by sending credentials of a new manager account to given emailGenericResponse
InstitutionController. addLanguage(Long languageId, User user)
Adds language to logged in user's institutionGenericResponse
LocationController. deleteBuilding(Long buildingId, User user)
Deletes building based on its idGenericResponse
ExhibitController. deleteExhibit(Long exhibitId, User user)
Deletes an exhibit based on its idGenericResponse
InstitutionController. deleteMyInstitution(User user)
Deletes institution of logged in userGenericResponse
LocationController. deleteRoom(Long roomId, User user)
Deletes room based on its idGenericResponse
TranslationController. deleteSequence(Long exhibitId, Long languageId, User user)
Deletes all user's translations for given pair exhibit-languageGenericResponse
LocationController. deleteShowcase(Long showcaseId, User user)
Deletes showcase based on its idList<BuildingVM>
LocationController. getAllBuildingsOfUsersInstitution(User user)
Gets all buildings of logged in user's institutionList<ExhibitVM>
ExhibitController. getAllExhibitsOfUsersInstitution(User user)
Gets all exhibits of logged in user's institutionAllowedLanguagesVM
InstitutionController. getAllowedLanguages(User user)
Gets the chosen and possible languages of logged in user's institutionBuildingVM
LocationController. getBuilding(Long buildingId, User user)
Gets building based on its idExhibitVM
ExhibitController. getExhibit(Long exhibitId, User user)
Gets exhibit based on its idString
ExhibitController. getExhibitQRCode(Long exhibitId, User user)
Gets base64 encoded QR code for given exhibitExhibitsLanguagesVM
ExhibitController. getExhibitsApproveTranslations(User user)
Gets exhibits and allowed languages of logged in user insitutionInstitutionVM
InstitutionController. getMyInstitution(User user)
Gets an institution of current userNewTranslationVM
TranslationController. getNewTranslation(Long exhibitId, Long languageId, User user)
Gets the information for translation to given language and for given exhibitRateTranslationsVM
TranslationController. getRateOverview(Long exhibitId, Long languageId, User user)
Gets the translation overview for ratingRoomVM
LocationController. getRoom(Long roomId, User user)
Gets room based on its idList<TranslationVM>
TranslationController. getSequence(Long exhibitId, Long languageId, User user)
Gets translation sequence for given exhibit and languageList<TranslationSequenceVM>
TranslationController. getSequences(User user)
Gets the translation sequences of logged in userShowcaseVM
LocationController. getShowcase(Long showcaseId, User user)
Gets showcase based on its idGenericResponse
UserController. register(@Valid User user)
Registeres a new user in the systemGenericResponse
TranslationController. rollback(Long translationId, User user)
Deletes every translation for given user-exhibit-language that was created after this translationGenericResponse
LocationController. saveBuilding(@Valid Building building, User user)
Saves new building to logged in user's institutionGenericResponse
ExhibitController. saveExhibit(@Valid Exhibit exhibit, User user)
Saves new exhibit to logged in user's institutionGenericResponse
InstitutionController. saveInstitution(@Valid Institution institution, User user)
Saves new institution with logged in user as a managerGenericResponse
TranslationController. saveNewTranslation(Long exhibitId, Long languageId, @Valid Translation newTranslation, User user)
Saves new translationGenericResponse
LocationController. saveRoom(@Valid Room room, Long buildingId, User user)
Saves new room to given building defined by idGenericResponse
LocationController. saveShowcase(@Valid Showcase showcase, Long roomId, User user)
Saves new showcase to given room defined by idGenericResponse
TranslationController. setLike(@Valid BooleanValVM booleanValVM, Long translationId, User user)
Set like or dislike from logged in user to given translationGenericResponse
TranslationController. setTranslationOfficial(@Valid BooleanValVM booleanValVM, Long translationId, User user)
Set translation official or unofficial based on given valueGenericResponse
LocationController. updateBuilding(@Valid Building building, Long buildingId, User user)
Updates building information based on its idGenericResponse
ExhibitController. updateExhibit(Long exhibitId, @Valid UpdateExhibitVM updateExhibitVM, User user)
Updates information of given exhibitGenericResponse
ExhibitController. updateExhibitImage(Long exhibitId, @Valid ImageVM imageVM, User user)
Updates the image of given exhibit and returns its new nameGenericResponse
ExhibitController. updateExhibitInfoLabel(Long exhibitId, @Valid ImageVM imageVM, User user)
Updates the info label image of given exhibit and returns its new nameGenericResponse
InstitutionController. updateImage(@Valid ImageVM imageVM, User user)
Updates institution imageGenericResponse
InstitutionController. updateInstitution(@Valid UpdateInstitutionVM updateInstitutionVM, User user)
Updates institution informationGenericResponse
UserController. updatePassword(@Valid PasswordUpdateVM passwordUpdateVM, User user)
Changes user's passwordGenericResponse
LocationController. updateRoom(@Valid Room room, Long roomId, User user)
Updates room information based on its idGenericResponse
LocationController. updateShowcase(@Valid Showcase showcase, Long showcaseId, User user)
Updates showcase information based on its idGenericResponse
UserController. updateUser(@Valid UserUpdateVM userUpdateVM, User user)
Updates user's personal information -
Uses of User in cz.zcu.students.cacha.bp_server.repositories
Methods in cz.zcu.students.cacha.bp_server.repositories that return types with arguments of type User Modifier and Type Method Description Optional<User>
UserRepository. findByEmail(String email)
Gets user by emailOptional<User>
UserRepository. findByUsername(String userName)
Gets user by usernameList<User>
UserRepository. getNonAdminUsers()
Gets all non admin users -
Uses of User in cz.zcu.students.cacha.bp_server.services
Methods in cz.zcu.students.cacha.bp_server.services that return User Modifier and Type Method Description User
AuthUserService. loadUserById(Long id)
Get user by his idMethods in cz.zcu.students.cacha.bp_server.services with parameters of type User Modifier and Type Method Description void
InstitutionService. addInstitutionManager(EmailVM emailVM, User user)
Adds new institution manager by sending credentials of a new manager account to given emailvoid
InstitutionService. addLanguage(Long languageId, User user)
Adds language to institutionvoid
LocationService. deleteBuilding(Long buildingId, User user)
Deletes building by its idvoid
ExhibitService. deleteExhibit(Long exhibitId, User user)
Deletes exhibit if is managed by given uservoid
InstitutionService. deleteMyInstitution(User user)
Deletes user's institutionvoid
LocationService. deleteRoom(Long roomId, User user)
Deletes room by its idvoid
TranslationService. deleteSequence(Long exhibitId, Long languageId, User user)
Deletes all user's translations for given pair exhibit-languagevoid
LocationService. deleteShowcase(Long showcaseId, User user)
Deletes showcase by its idList<BuildingVM>
LocationService. getAllBuildingsOfUsersInstitution(User user)
Gets all buildings of user's institutionList<ExhibitVM>
ExhibitService. getAllExhibitsOfUsersInstitution(User user)
Gets all the exhibits of user's institutionAllowedLanguagesVM
InstitutionService. getAllowedLanguages(User user)
Gets the chosen and possible languages of institutionBuildingVM
LocationService. getBuilding(Long buildingId, User user)
Gets details about building defined by its idExhibitVM
ExhibitService. getExhibit(Long exhibitId, User user)
Gets an exhibit defined by its id if is managed by given userString
ExhibitService. getExhibitQRCode(Long exhibitId, User user)
Gets base64 encoded QR code for given exhibitExhibitsLanguagesVM
ExhibitService. getExhibitsApproveTranslations(User user)
Gets exhibits and allowed languages of user's institutionInstitutionVM
InstitutionService. getMyInstitution(User user)
Gets user's institutionNewTranslationVM
TranslationService. getNewTranslation(Long exhibitId, Long languageId, User user)
Gets the information for translation to given language and for given exhibitRateTranslationsVM
TranslationService. getRateOverview(Long exhibitId, Long languageId, User user)
Gets the translation overview for ratingRoomVM
LocationService. getRoom(Long roomId, User user)
Gets room details by its idList<TranslationVM>
TranslationService. getSequence(Long exhibitId, Long languageId, User user)
Gets translation sequence for given exhibit and languageList<TranslationSequenceVM>
TranslationService. getSequences(User user)
Gets the translation sequences of given userShowcaseVM
LocationService. getShowcase(Long showcaseId, User user)
Gets showcase details by its idvoid
TranslationService. rollback(Long translationId, User user)
Deletes every translation for given user-exhibit-language that was created after this translationvoid
UserService. save(User user)
Registeres an user in the systemvoid
LocationService. saveBuilding(Building building, User user)
Saves new building to logged in user's institutionvoid
ExhibitService. saveExhibit(Exhibit exhibit, User user)
Saves new exhibit to user's institutionvoid
InstitutionService. saveInstitution(Institution institution, User user)
Saves institution with given user as a managervoid
TranslationService. saveNewTranslation(Long exhibitId, Long languageId, Translation newTranslation, User user)
Saves new translationvoid
LocationService. saveRoom(Room room, Long buildingId, User user)
Saves new room to building defined by idvoid
LocationService. saveShowcase(Showcase showcase, Long roomId, User user)
Saves new showcase to room defined by idvoid
TranslationService. setLike(BooleanValVM booleanValVM, Long translationId, User user)
Set like or dislike from given user to given translationvoid
TranslationService. setTranslationOfficial(BooleanValVM booleanValVM, Long translationId, User user)
Set translation official or unofficial based on given valuevoid
LocationService. updateBuilding(Building updatedBuilding, Long buildingId, User user)
Updates building with new information based on its idvoid
ExhibitService. updateExhibit(Long exhibitId, UpdateExhibitVM updateExhibitVM, User user)
Updates exhibit informationString
ExhibitService. updateExhibitImage(Long exhibitId, ImageVM imageVM, User user)
Updates exhibit image and returns its new nameString
ExhibitService. updateExhibitInfoLabel(Long exhibitId, ImageVM imageVM, User user)
Updates exhibit info label image and returns its new nameString
InstitutionService. updateImage(ImageVM imageVM, User user)
Updates institution imagevoid
InstitutionService. updateInstitution(UpdateInstitutionVM institution, User user)
Updates institution informationvoid
UserService. updatePassword(User user, String password)
Changes user's passwordvoid
LocationService. updateRoom(Room updatedRoom, Long roomId, User user)
Updates room defined by id with new informationvoid
LocationService. updateShowcase(Showcase updatedShowcase, Long showcaseId, User user)
Updates showcase defined by id with new informationvoid
UserService. updateUser(User user, String username, String email)
Updates user's username and email -
Uses of User in cz.zcu.students.cacha.bp_server.view_models
Constructors in cz.zcu.students.cacha.bp_server.view_models with parameters of type User Constructor Description RateTranslationsVM(Set<Translation> translations, Exhibit exhibit, User user, Language language)
Creates new instance based on given paramsRateTranslationVM(Translation translation, User user)
Creates new instance based on given paramsUserDetailVM(User user)
creates new instance based on given userUserVM(User user)
Creates new instance based on given user
-