GenericResponse |
InstitutionController.addInstitutionManager(@Valid EmailVM emailVM,
User user) |
Adds new institution manager by sending credentials of a new manager account to given email
|
GenericResponse |
InstitutionController.addLanguage(Long languageId,
User user) |
Adds language to logged in user's institution
|
GenericResponse |
LocationController.deleteBuilding(Long buildingId,
User user) |
Deletes building based on its id
|
GenericResponse |
ExhibitController.deleteExhibit(Long exhibitId,
User user) |
Deletes an exhibit based on its id
|
GenericResponse |
InstitutionController.deleteMyInstitution(User user) |
Deletes institution of logged in user
|
GenericResponse |
LocationController.deleteRoom(Long roomId,
User user) |
Deletes room based on its id
|
GenericResponse |
TranslationController.deleteSequence(Long exhibitId,
Long languageId,
User user) |
Deletes all user's translations for given pair exhibit-language
|
GenericResponse |
LocationController.deleteShowcase(Long showcaseId,
User user) |
Deletes showcase based on its id
|
GenericResponse |
UserController.register(@Valid User user) |
Registeres a new user in the system
|
GenericResponse |
AdminController.removeInstitution(Long userId) |
Removes user's managerial rights to his institution
|
GenericResponse |
TranslationController.rollback(Long translationId,
User user) |
Deletes every translation for given user-exhibit-language that was created after this translation
|
GenericResponse |
LocationController.saveBuilding(@Valid Building building,
User user) |
Saves new building to logged in user's institution
|
GenericResponse |
ExhibitController.saveExhibit(@Valid Exhibit exhibit,
User user) |
Saves new exhibit to logged in user's institution
|
GenericResponse |
ExhibitController.saveExhibit(Long institutionId,
@Valid Exhibit exhibit) |
Saves new exhibit to an institution defined by its id
|
GenericResponse |
InstitutionController.saveInstitution(@Valid Institution institution,
User user) |
Saves new institution with logged in user as a manager
|
GenericResponse |
TranslationController.saveNewTranslation(Long exhibitId,
Long languageId,
@Valid Translation newTranslation,
User user) |
Saves new translation
|
GenericResponse |
LocationController.saveRoom(@Valid Room room,
Long buildingId,
User user) |
Saves new room to given building defined by id
|
GenericResponse |
LocationController.saveShowcase(@Valid Showcase showcase,
Long roomId,
User user) |
Saves new showcase to given room defined by id
|
GenericResponse |
AdminController.setBan(@Valid BooleanValVM booleanValVM,
Long userId) |
Changes if user is banned or not depending on given value
|
GenericResponse |
TranslationController.setLike(@Valid BooleanValVM booleanValVM,
Long translationId,
User user) |
Set like or dislike from logged in user to given translation
|
GenericResponse |
TranslationController.setTranslationOfficial(@Valid BooleanValVM booleanValVM,
Long translationId,
User user) |
Set translation official or unofficial based on given value
|
GenericResponse |
AdminController.setTranslator(@Valid BooleanValVM booleanValVM,
Long userId) |
Changes the value of user translator rights
|
GenericResponse |
LocationController.updateBuilding(@Valid Building building,
Long buildingId,
User user) |
Updates building information based on its id
|
GenericResponse |
ExhibitController.updateExhibit(Long exhibitId,
@Valid UpdateExhibitVM updateExhibitVM,
User user) |
Updates information of given exhibit
|
GenericResponse |
ExhibitController.updateExhibitImage(Long exhibitId,
@Valid ImageVM imageVM,
User user) |
Updates the image of given exhibit and returns its new name
|
GenericResponse |
ExhibitController.updateExhibitInfoLabel(Long exhibitId,
@Valid ImageVM imageVM,
User user) |
Updates the info label image of given exhibit and returns its new name
|
GenericResponse |
InstitutionController.updateImage(@Valid ImageVM imageVM,
User user) |
Updates institution image
|
GenericResponse |
InstitutionController.updateInstitution(@Valid UpdateInstitutionVM updateInstitutionVM,
User user) |
Updates institution information
|
GenericResponse |
UserController.updatePassword(@Valid PasswordUpdateVM passwordUpdateVM,
User user) |
Changes user's password
|
GenericResponse |
LocationController.updateRoom(@Valid Room room,
Long roomId,
User user) |
Updates room information based on its id
|
GenericResponse |
LocationController.updateShowcase(@Valid Showcase showcase,
Long showcaseId,
User user) |
Updates showcase information based on its id
|
GenericResponse |
UserController.updateUser(@Valid UserUpdateVM userUpdateVM,
User user) |
Updates user's personal information
|
GenericResponse |
AdminController.updateUserPassword(Long userId) |
Generates new password for user and sends it to his mail
|
GenericResponse |
AdminController.updateUserUsername(@Valid UsernameUpdateVM usernameUpdateVM,
Long userId) |
Updates username to given user
|