Class UserPortalContentViewModelMapper

    • Constructor Detail

      • UserPortalContentViewModelMapper

        public UserPortalContentViewModelMapper()
    • Method Detail

      • map

        public static UserPortalContentViewModel map​(UserPortalContent entity,
                                                     Locale locale,
                                                     boolean active,
                                                     UserPortalViewModel portalModel,
                                                     IResourceBundle resourceBundle)
        Maps a UserPortalContent entity to its corresponding ViewModel.
        Parameters:
        entity - The UserPortalContent entity to be mapped.
        locale - the locale for localization
        active - indicates if the content is active
        portalModel - the parent portal view model
        resourceBundle - the resource bundle for localization
        Returns:
        The mapped UserPortalContentViewModel.