Uses of Class
de.xima.fc.gui.model.portal.UserPortalViewModel
Packages that use UserPortalViewModel
Package
Description
-
Uses of UserPortalViewModel in de.xima.fc.gui.bean.portal
Methods in de.xima.fc.gui.bean.portal that return UserPortalViewModelModifier and TypeMethodDescriptionUserPortalConfigBean.getModel()Gets the view model for editing the selected user portal. -
Uses of UserPortalViewModel in de.xima.fc.gui.helper.user_portal
Methods in de.xima.fc.gui.helper.user_portal that return UserPortalViewModelModifier and TypeMethodDescriptionstatic UserPortalViewModelUserPortalViewHelper.newUserPortalViewModel(IEntityContext ec, Locale locale, WorkspaceScope workspace, IUserPermissionCheck userPermissionCheck, UserPortal portal, IResourceBundle resourceBundle) Creates a new view model for editing a single user portal.Methods in de.xima.fc.gui.helper.user_portal with parameters of type UserPortalViewModelModifier and TypeMethodDescriptionstatic voidUserPortalViewHelper.addKeyToCustomLocalizations(UserPortalViewModel model, ELocalizationsType type) Adds a new key to the custom messages or files of the selected portal related entity of the given type.static voidUserPortalViewHelper.addNewLocaleToPortal(IEntityContext ec, Locale locale, UserPortalViewModel model, IResourceBundle resourceBundle) Adds a new locale to the portal.static voidUserPortalViewHelper.addTagToUserPortal(UserPortalViewModel model, String newTagName) Adds a new tag to the user portal.static voidUserPortalViewHelper.addUploadedFileToSelectedPortal(org.primefaces.model.file.UploadedFile file, String fileKey, UserPortalViewModel model) Adjusts the model by adding an uploaded file to the list of localized portal files.static voidUserPortalViewHelper.addUploadedFileToSelectedProject(org.primefaces.model.file.UploadedFile file, String fileKey, UserPortalViewModel model) Adjusts the model by adding an uploaded file to the list of files of the currently selected project.static voidUserPortalViewHelper.applySelectionFromPreviousPortalViewModel(IEntityContext ec, UserPortalViewModel previousModel, UserPortalViewModel model, Locale locale, IResourceBundle resourceBundle) Applies the selection from the previous view model to the new view model.static voidUserPortalViewHelper.cleanupPortalViewModel(UserPortalViewModel model) Cleans up an existing portal view model, releasing resource such as temporary files.static voidUserPortalViewHelper.deleteLocaleFromPortal(RequestEntityContext ec, Locale deletedLocale, UserPortalViewModel model, Locale locale, IResourceBundle resourceBundle) UserPortalViewHelper.findCustomLocalizationsKeys(UserPortalViewModel model, ELocalizationsType type) Finds all custom keys that can be configured for the given type of portal related entity.UserPortalViewHelper.findCustomPortalMessagesForLocale(UserPortalViewModel model, Locale locale) Finds all custom localizations that can be configured for the given type of portal related entity.UserPortalViewHelper.findLanguagesToAddMatchingQuery(String query, Locale locale, UserPortalViewModel model) Finds all languages that match the given query and are not yet added to the user portal.UserPortalProjectConfigFactory.newProjectConfigViewModelFromProject(IEntityContext ec, UUID portalUuid, ProjectConfigKey configKey, UserPortalViewModel model, Locale locale, IResourceBundle resourceBundle) static UserPortalPersistResultUserPortalViewHelper.persistUserPortalViewModel(IEntityContext ec, UserPortal portal, UserPortalViewModel model, WorkspaceScope workspace) Given a view model with data, persists that data in the database.static voidUserPortalViewHelper.prepareSelectedProjectForEditing(IEntityContext ec, UserPortalViewModel model, Locale locale, IResourceBundle resourceBundle) Prepares the model so that the given project's portal configuration can be edited.static voidUserPortalViewHelper.prepareUserPortalViewForUpdatedLocale(IEntityContext ec, UserPortalViewModel model, Locale locale, IResourceBundle resourceBundle) Prepares the model for the given locale so that the portal configuration for that locale can be edited.static voidUserPortalViewHelper.removeFileFromSelectedPortal(String fileKey, UserPortalViewModel model) Adjusts the model by removing the file with the given key from the currently selected portal, if present.static voidUserPortalViewHelper.removeFileFromSelectedProject(String fileKey, UserPortalViewModel model) Adjusts the model by removing the file with the given key from the currently selected project, if present.static voidUserPortalViewHelper.removeKeyFromCustomLocalizations(UserPortalViewModel model, ELocalizationsType type, String key) Removes a custom key from all messages or files of the selected portal related entity of the given type.static voidUserPortalViewHelper.removeTagFromUserPortal(UserPortalViewModel model, ProjectPortalTagViewModel tag) Removes a tag from the user portal.static voidUserPortalViewHelper.reorderInputAuthenticators(int fromIndex, int toIndex, UserPortalViewModel model) Updates the model and moves an input login service at a given position to another position.static voidUserPortalViewHelper.reorderRedirectAuthenticators(int fromIndex, int toIndex, UserPortalViewModel model) Updates the model and moves a redirect login service at a given position to another position.static StringUserPortalViewHelper.resolveTagMessage(ProjectPortalTagViewModel tag, UserPortalViewModel model, String messageKey, Supplier<String> defaultSupplier) Resolves the value of a localized tag message for a given tag. -
Uses of UserPortalViewModel in de.xima.fc.gui.model.auth
Methods in de.xima.fc.gui.model.auth with parameters of type UserPortalViewModelModifier and TypeMethodDescriptionvoidAuthenticatorConfigViewModel.determineWarnings(UserPortalViewModel model, Locale locale) -
Uses of UserPortalViewModel in de.xima.fc.gui.model.project
Methods in de.xima.fc.gui.model.project with parameters of type UserPortalViewModelModifier and TypeMethodDescriptionvoidEndUserProjectConfigViewModel.determineWarnings(Projekt project, UserPortalViewModel model, Locale locale, IResourceBundle resourceBundle) voidProjectPortalTagViewModel.determineWarnings(UserPortalViewModel model, Locale locale, IResourceBundle resourceBundle) static ProjectPortalTagViewModelProjectPortalTagViewModel.forEntity(ProjectPortalTag entity, UserPortalViewModel userPortalModel) Creates a new instance of the view model for the given tag entity.Constructors in de.xima.fc.gui.model.project with parameters of type UserPortalViewModelModifierConstructorDescriptionEndUserProjectConfigViewModel(Projekt project, boolean active, UserPortalViewModel portalModel, Locale locale, IResourceBundle resourceBundle) -
Uses of UserPortalViewModel in de.xima.fc.gui.validator.name
Subclasses with type arguments of type UserPortalViewModel in de.xima.fc.gui.validator.nameModifier and TypeClassDescriptionclassclassMethods in de.xima.fc.gui.validator.name with parameters of type UserPortalViewModelModifier and TypeMethodDescriptionprotected booleanUniqueUserPortalViewModelAliasValidator.hasDuplicates(UserPortalViewModel bean, String value) protected booleanUniqueUserPortalViewModelNameValidator.hasDuplicates(UserPortalViewModel bean, String value)