Uses of Class
cz.zcu.students.cacha.bp_server.domain.Translation
-
-
Uses of Translation in cz.zcu.students.cacha.bp_server.controllers
Methods in cz.zcu.students.cacha.bp_server.controllers with parameters of type Translation Modifier and Type Method Description GenericResponse
TranslationController. saveNewTranslation(Long exhibitId, Long languageId, @Valid Translation newTranslation, User user)
Saves new translation -
Uses of Translation in cz.zcu.students.cacha.bp_server.repositories
Methods in cz.zcu.students.cacha.bp_server.repositories that return types with arguments of type Translation Modifier and Type Method Description Optional<Translation>
TranslationRepository. getLatestTranslation(Long user_id, Long exhibit_id, Long language_id)
Gets the latest translation of given author, exhibit and languageSet<Translation>
TranslationRepository. getLatestTranslations(Long exhibit_id, Long language_id)
Gets the latest translations for given exhibit and language from all authorsOptional<Translation>
TranslationRepository. getOfficialTranslation(Long exhibit_id, Long language_id)
Gets the official translation for given exhibit and languageList<Translation>
TranslationRepository. getSequence(Long user_id, Long exhibit_id, Long language_id)
Gets translation sequence for given author-exhibit-languageList<Translation>
TranslationRepository. getSequences(Long user_id)
Gets all latest translations for every pair exhibit-languge for given translatorSet<Translation>
TranslationRepository. getSequenceToDelete(Long user_id, Long exhibit_id, Long language_id)
Gets all translation for given user-exhibit-languageSet<Translation>
TranslationRepository. getTranslationToRollback(Long user_id, Long exhibit_id, Long language_id, Long id)
Gets all translation for given author-exhibit-language that are more recent than translation with given id -
Uses of Translation in cz.zcu.students.cacha.bp_server.services
Methods in cz.zcu.students.cacha.bp_server.services with parameters of type Translation Modifier and Type Method Description void
TranslationService. saveNewTranslation(Long exhibitId, Long languageId, Translation newTranslation, User user)
Saves new translation -
Uses of Translation in cz.zcu.students.cacha.bp_server.view_models
Constructors in cz.zcu.students.cacha.bp_server.view_models with parameters of type Translation Constructor Description RateTranslationVM(Translation translation, User user)
Creates new instance based on given paramsTranslationSequenceVM(Translation translation)
Creates new instance based on given translationTranslationVM(Translation translation)
Cretes new instance based on given translationConstructor parameters in cz.zcu.students.cacha.bp_server.view_models with type arguments of type Translation Constructor Description RateTranslationsVM(Set<Translation> translations, Exhibit exhibit, User user, Language language)
Creates new instance based on given params
-