Uses of Class
cz.zcu.students.cacha.bp_server.view_models.BooleanValVM
-
Packages that use BooleanValVM Package Description cz.zcu.students.cacha.bp_server.controllers cz.zcu.students.cacha.bp_server.services -
-
Uses of BooleanValVM in cz.zcu.students.cacha.bp_server.controllers
Methods in cz.zcu.students.cacha.bp_server.controllers with parameters of type BooleanValVM Modifier and Type Method Description GenericResponse
AdminController. setBan(@Valid BooleanValVM booleanValVM, Long userId)
Changes if user is banned or not depending on given valueGenericResponse
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
AdminController. setTranslator(@Valid BooleanValVM booleanValVM, Long userId)
Changes the value of user translator rights -
Uses of BooleanValVM in cz.zcu.students.cacha.bp_server.services
Methods in cz.zcu.students.cacha.bp_server.services with parameters of type BooleanValVM Modifier and Type Method Description void
AdminService. setBan(BooleanValVM booleanValVM, Long userId)
Changes if user is banned or not depending on given valuevoid
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
AdminService. setTranslator(BooleanValVM booleanValVM, Long userId)
Changes the value of user translator rights
-