05cb006f6c691f4573eae2b58265ccbfd50a2292
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/communication/user/profile/FavoritesResult.java
| ... | ... | @@ -6,10 +6,11 @@ public class FavoritesResult implements Result { |
| 6 | 6 | |
| 7 | 7 | private FavoriteBoatClassesDTO favoriteBoatClasses; |
| 8 | 8 | private FavoriteCompetitorsDTO favoriteCompetitors; |
| 9 | + private boolean isSubscribedToFeatureAndCommunityUpdates; |
|
| 9 | 10 | |
| 10 | 11 | protected FavoritesResult() {} |
| 11 | 12 | |
| 12 | - public FavoritesResult(FavoriteBoatClassesDTO favoriteBoatClasses, FavoriteCompetitorsDTO favoriteCompetitors) { |
|
| 13 | + public FavoritesResult(FavoriteBoatClassesDTO favoriteBoatClasses, FavoriteCompetitorsDTO favoriteCompetitors, boolean isSubscribedToFeatureAndCommunityUpdates) { |
|
| 13 | 14 | this.favoriteBoatClasses = favoriteBoatClasses; |
| 14 | 15 | this.favoriteCompetitors = favoriteCompetitors; |
| 15 | 16 | } |
| ... | ... | @@ -22,4 +23,8 @@ public class FavoritesResult implements Result { |
| 22 | 23 | return favoriteCompetitors; |
| 23 | 24 | } |
| 24 | 25 | |
| 26 | + public boolean getIsSubscribedToFeatureAndCommunityUpdates() { |
|
| 27 | + return isSubscribedToFeatureAndCommunityUpdates; |
|
| 28 | + } |
|
| 29 | + |
|
| 25 | 30 | } |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/communication/user/profile/GetFavoritesAction.java
| ... | ... | @@ -25,7 +25,12 @@ public class GetFavoritesAction implements SailingAction<FavoritesResult> { |
| 25 | 25 | @Override |
| 26 | 26 | @GwtIncompatible |
| 27 | 27 | public FavoritesResult execute(SailingDispatchContext ctx) throws DispatchException { |
| 28 | - return new FavoritesResult(getFavoriteBoatClasses(ctx), getFavoriteCompetitors(ctx)); |
|
| 28 | + return new FavoritesResult(getFavoriteBoatClasses(ctx), getFavoriteCompetitors(ctx), |
|
| 29 | + getDidOptOutOfFeatureAndCommunityEmails(ctx)); |
|
| 30 | + } |
|
| 31 | + |
|
| 32 | + private boolean getDidOptOutOfFeatureAndCommunityEmails(SailingDispatchContext ctx) { |
|
| 33 | + return ctx.getSecurityService().getCurrentUser().getDidOptOutOfFeatureAndCommunityEmails(); |
|
| 29 | 34 | } |
| 30 | 35 | |
| 31 | 36 | @GwtIncompatible |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/communication/user/profile/GetMiscEmailPreferencesAction.java
| ... | ... | @@ -1,22 +0,0 @@ |
| 1 | -package com.sap.sailing.gwt.home.communication.user.profile; |
|
| 2 | - |
|
| 3 | -import com.google.gwt.core.shared.GwtIncompatible; |
|
| 4 | -import com.google.gwt.user.client.rpc.IsSerializable; |
|
| 5 | -import com.sap.sailing.gwt.home.communication.SailingAction; |
|
| 6 | -import com.sap.sailing.gwt.home.communication.SailingDispatchContext; |
|
| 7 | -import com.sap.sse.gwt.dispatch.shared.commands.BooleanResult; |
|
| 8 | -import com.sap.sse.gwt.dispatch.shared.commands.HasWriteAction; |
|
| 9 | -import com.sap.sse.gwt.dispatch.shared.exceptions.DispatchException; |
|
| 10 | - |
|
| 11 | -public class GetMiscEmailPreferencesAction implements SailingAction<BooleanResult>, HasWriteAction, IsSerializable { |
|
| 12 | - // @GwtIncompatible |
|
| 13 | - public GetMiscEmailPreferencesAction() { |
|
| 14 | - } |
|
| 15 | - |
|
| 16 | - @Override |
|
| 17 | - @GwtIncompatible |
|
| 18 | - public BooleanResult execute(SailingDispatchContext ctx) throws DispatchException { |
|
| 19 | - final boolean didOptOut = ctx.getSecurityService().getCurrentUser().getDidOptOutOfFeatureAndCommunityEmails(); |
|
| 20 | - return new BooleanResult(!didOptOut); |
|
| 21 | - } |
|
| 22 | -} |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/shared/partials/multiselection/MiscellaneousDisplayImpl.java
| ... | ... | @@ -6,7 +6,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback; |
| 6 | 6 | import com.google.gwt.user.client.ui.FlowPanel; |
| 7 | 7 | import com.sap.sailing.gwt.home.shared.partials.checkboxtile.CheckBoxTile; |
| 8 | 8 | import com.sap.sailing.gwt.home.shared.partials.labeledbox.LabeledBox; |
| 9 | -import com.sap.sailing.gwt.home.shared.places.user.profile.preferences.UserPreferencesView; |
|
| 9 | +import com.sap.sailing.gwt.home.shared.places.user.profile.preferences.MiscPreferencesPresenter; |
|
| 10 | 10 | import com.sap.sailing.gwt.ui.client.StringMessages; |
| 11 | 11 | import com.sap.sse.gwt.client.Notification; |
| 12 | 12 | import com.sap.sse.gwt.client.Notification.NotificationType; |
| ... | ... | @@ -14,19 +14,23 @@ import com.sap.sse.gwt.dispatch.shared.commands.VoidResult; |
| 14 | 14 | |
| 15 | 15 | public class MiscellaneousDisplayImpl { |
| 16 | 16 | public final LabeledBox selectionUi; |
| 17 | + private final CheckBoxTile featureAndCommunityUpdates; |
|
| 17 | 18 | |
| 18 | - public MiscellaneousDisplayImpl(final UserPreferencesView.Presenter presenter) { |
|
| 19 | + public MiscellaneousDisplayImpl(final MiscPreferencesPresenter presenter) { |
|
| 20 | + presenter.registerDisplay(this); |
|
| 19 | 21 | // compose ui |
| 20 | 22 | final String securityUpdatesTitle = StringMessages.INSTANCE.securityUpdates(); |
| 21 | 23 | final CheckBoxTile securityUpdates = new CheckBoxTile(securityUpdatesTitle, true, null); |
| 22 | - final CheckBoxTile featureAndCommunityUpdates = composeFeatureAndCommunityUpdatesTile(presenter); |
|
| 24 | + featureAndCommunityUpdates = composeFeatureAndCommunityUpdatesTile(presenter); |
|
| 23 | 25 | final FlowPanel tileList = new FlowPanel(); |
| 24 | 26 | tileList.add(securityUpdates); |
| 25 | 27 | tileList.add(featureAndCommunityUpdates); |
| 26 | 28 | final String boxTitle = StringMessages.INSTANCE.miscellaneous(); |
| 27 | 29 | selectionUi = new LabeledBox(boxTitle, tileList); |
| 28 | - // fire init call |
|
| 29 | - presenter.initIsSubscribedToFeatureAndCommunityUpdates(featureAndCommunityUpdates); |
|
| 30 | + } |
|
| 31 | + |
|
| 32 | + public void setIsSubscribedToFeatureAndCommunityUpdates(final boolean b, final boolean fireChangeHandlers) { |
|
| 33 | + featureAndCommunityUpdates.setValue(b, fireChangeHandlers); |
|
| 30 | 34 | } |
| 31 | 35 | |
| 32 | 36 | private AsyncCallback<VoidResult> wrapCallbackWithToastResponse(final boolean isNowTrue, |
| ... | ... | @@ -56,10 +60,10 @@ public class MiscellaneousDisplayImpl { |
| 56 | 60 | return callbackWrappedWithToastNotification; |
| 57 | 61 | } |
| 58 | 62 | |
| 59 | - private CheckBoxTile composeFeatureAndCommunityUpdatesTile(final UserPreferencesView.Presenter presenter) { |
|
| 63 | + private CheckBoxTile composeFeatureAndCommunityUpdatesTile(final MiscPreferencesPresenter presenter) { |
|
| 60 | 64 | final BiConsumer<Boolean, AsyncCallback<VoidResult>> onToggle = (isNowTrue, callback) -> { |
| 61 | 65 | final AsyncCallback<VoidResult> wrappedCallback = wrapCallbackWithToastResponse(isNowTrue, callback); |
| 62 | - presenter.setIsSubscribedToFeatureAndCommunityUpdates(isNowTrue, wrappedCallback); |
|
| 66 | + presenter.updateIsSubscribedToFeatureAndCommunityUpdates(isNowTrue, wrappedCallback); |
|
| 63 | 67 | }; |
| 64 | 68 | final String title = StringMessages.INSTANCE.featureAndCommunityUpdates(); |
| 65 | 69 | return new CheckBoxTile(title, false, onToggle); |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/shared/places/user/profile/preferences/MiscPreferencesPresenter.java
| ... | ... | @@ -0,0 +1,14 @@ |
| 1 | +package com.sap.sailing.gwt.home.shared.places.user.profile.preferences; |
|
| 2 | + |
|
| 3 | +import com.google.gwt.user.client.rpc.AsyncCallback; |
|
| 4 | +import com.sap.sailing.gwt.home.shared.partials.multiselection.MiscellaneousDisplayImpl; |
|
| 5 | +import com.sap.sse.gwt.dispatch.shared.commands.VoidResult; |
|
| 6 | + |
|
| 7 | +public interface MiscPreferencesPresenter { |
|
| 8 | + public void registerDisplay(MiscellaneousDisplayImpl display); |
|
| 9 | + |
|
| 10 | + public void updateIsSubscribedToFeatureAndCommunityUpdates(final boolean b, final AsyncCallback<VoidResult> callback); |
|
| 11 | + |
|
| 12 | + /** get value via dispatch method, set first correct value onto checkbox */ |
|
| 13 | + public void initIsSubscribedToFeatureAndCommunityUpdates(final boolean b); |
|
| 14 | +} |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/shared/places/user/profile/preferences/UserPreferences.java
| ... | ... | @@ -48,7 +48,7 @@ public class UserPreferences extends Composite implements UserPreferencesView { |
| 48 | 48 | flagImageResolver).selectionUi; |
| 49 | 49 | favoriteBoatClassesSelctionUi = new BoatClassDisplayImpl( |
| 50 | 50 | presenter.getFavoriteBoatClassesDataProvider()).selectionUi; |
| 51 | - miscUi = (new MiscellaneousDisplayImpl(presenter)).selectionUi; |
|
| 51 | + miscUi = (new MiscellaneousDisplayImpl(presenter.getMiscPresenter())).selectionUi; |
|
| 52 | 52 | initWidget(uiBinder.createAndBindUi(this)); |
| 53 | 53 | // TODO hide notificationsTextUi if the user's mail address is already verified |
| 54 | 54 | } |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/shared/places/user/profile/preferences/UserPreferencesPresenter.java
| ... | ... | @@ -9,16 +9,14 @@ import com.sap.sailing.gwt.home.communication.user.profile.FavoriteBoatClassesDT |
| 9 | 9 | import com.sap.sailing.gwt.home.communication.user.profile.FavoriteCompetitorsDTO; |
| 10 | 10 | import com.sap.sailing.gwt.home.communication.user.profile.FavoritesResult; |
| 11 | 11 | import com.sap.sailing.gwt.home.communication.user.profile.GetFavoritesAction; |
| 12 | -import com.sap.sailing.gwt.home.communication.user.profile.GetMiscEmailPreferencesAction; |
|
| 13 | 12 | import com.sap.sailing.gwt.home.communication.user.profile.SaveFavoriteBoatClassesAction; |
| 14 | 13 | import com.sap.sailing.gwt.home.communication.user.profile.SaveFavoriteCompetitorsAction; |
| 15 | 14 | import com.sap.sailing.gwt.home.communication.user.profile.SaveMiscEmailPreferences; |
| 16 | 15 | import com.sap.sailing.gwt.home.shared.app.ClientFactoryWithDispatch; |
| 17 | -import com.sap.sailing.gwt.home.shared.partials.checkboxtile.CheckBoxTile; |
|
| 18 | 16 | import com.sap.sailing.gwt.home.shared.partials.multiselection.AbstractSuggestedBoatClassMultiSelectionPresenter; |
| 19 | 17 | import com.sap.sailing.gwt.home.shared.partials.multiselection.AbstractSuggestedCompetitorMultiSelectionPresenter; |
| 18 | +import com.sap.sailing.gwt.home.shared.partials.multiselection.MiscellaneousDisplayImpl; |
|
| 20 | 19 | import com.sap.sailing.gwt.ui.client.refresh.ErrorAndBusyClientFactory; |
| 21 | -import com.sap.sse.gwt.dispatch.shared.commands.BooleanResult; |
|
| 22 | 20 | import com.sap.sse.gwt.dispatch.shared.commands.VoidResult; |
| 23 | 21 | |
| 24 | 22 | /** |
| ... | ... | @@ -34,6 +32,7 @@ public class UserPreferencesPresenter<C extends ClientFactoryWithDispatch & Erro |
| 34 | 32 | |
| 35 | 33 | private final BoatClassSelectionPresenter boatClassSelectionPresenter = new BoatClassSelectionPresenterImpl(); |
| 36 | 34 | final CompetitorSelectionPresenter competitorPresenter; |
| 35 | + private final MiscPreferencesPresenter miscPresenter = new MiscPresenterImpl(); |
|
| 37 | 36 | private final C clientFactory; |
| 38 | 37 | |
| 39 | 38 | public UserPreferencesPresenter(C clientFactory) { |
| ... | ... | @@ -57,12 +56,39 @@ public class UserPreferencesPresenter<C extends ClientFactoryWithDispatch & Erro |
| 57 | 56 | final FavoriteBoatClassesDTO favoriteBoatClasses = result.getFavoriteBoatClasses(); |
| 58 | 57 | boatClassSelectionPresenter.initNotifications(favoriteBoatClasses.isNotifyAboutUpcomingRaces(), |
| 59 | 58 | favoriteBoatClasses.isNotifyAboutResults(), favoriteBoatClasses.getSelectedBoatClasses()); |
| 59 | + miscPresenter.initIsSubscribedToFeatureAndCommunityUpdates(result.getIsSubscribedToFeatureAndCommunityUpdates()); |
|
| 60 | 60 | } |
| 61 | 61 | }; |
| 62 | 62 | clientFactory.getDispatch().execute(new GetFavoritesAction(), callback); |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | @Override |
| 66 | + public MiscPreferencesPresenter getMiscPresenter() { |
|
| 67 | + return miscPresenter; |
|
| 68 | + } |
|
| 69 | + |
|
| 70 | + private class MiscPresenterImpl implements MiscPreferencesPresenter { |
|
| 71 | + MiscellaneousDisplayImpl display; |
|
| 72 | + |
|
| 73 | + @Override |
|
| 74 | + public void registerDisplay(MiscellaneousDisplayImpl display) { |
|
| 75 | + this.display = display; |
|
| 76 | + } |
|
| 77 | + |
|
| 78 | + @Override |
|
| 79 | + public void initIsSubscribedToFeatureAndCommunityUpdates(final boolean b) { |
|
| 80 | + if (display != null) { |
|
| 81 | + display.setIsSubscribedToFeatureAndCommunityUpdates(b, false); |
|
| 82 | + } |
|
| 83 | + } |
|
| 84 | + |
|
| 85 | + @Override |
|
| 86 | + public void updateIsSubscribedToFeatureAndCommunityUpdates(final boolean b, final AsyncCallback<VoidResult> callback) { |
|
| 87 | + clientFactory.getDispatch().execute(new SaveMiscEmailPreferences(b), callback); |
|
| 88 | + } |
|
| 89 | + } |
|
| 90 | + |
|
| 91 | + @Override |
|
| 66 | 92 | public BoatClassSelectionPresenter getFavoriteBoatClassesDataProvider() { |
| 67 | 93 | return boatClassSelectionPresenter; |
| 68 | 94 | } |
| ... | ... | @@ -108,11 +134,7 @@ public class UserPreferencesPresenter<C extends ClientFactoryWithDispatch & Erro |
| 108 | 134 | if (selectionCallback != null) { |
| 109 | 135 | persistResults(display.getNotifyAboutUpcomingRaces(), display.getNotifyAboutResults(), |
| 110 | 136 | selectionCallback, selectedItems); |
| 111 | - } else { |
|
| 112 | - throw new RuntimeException("set the selection callback first"); |
|
| 113 | 137 | } |
| 114 | - } else { |
|
| 115 | - throw new RuntimeException("attach a display to this presenter"); |
|
| 116 | 138 | } |
| 117 | 139 | } |
| 118 | 140 | |
| ... | ... | @@ -130,28 +152,6 @@ public class UserPreferencesPresenter<C extends ClientFactoryWithDispatch & Erro |
| 130 | 152 | } |
| 131 | 153 | } |
| 132 | 154 | |
| 133 | - @Override |
|
| 134 | - public void setIsSubscribedToFeatureAndCommunityUpdates(final Boolean b, final AsyncCallback<VoidResult> callback) { |
|
| 135 | - clientFactory.getDispatch().execute(new SaveMiscEmailPreferences(b), callback); |
|
| 136 | - } |
|
| 137 | - |
|
| 138 | - /** get value via dispatch method, set first correct value onto checkbox */ |
|
| 139 | - @Override |
|
| 140 | - public void initIsSubscribedToFeatureAndCommunityUpdates(final CheckBoxTile ui) { |
|
| 141 | - final AsyncCallback<BooleanResult> callback = new AsyncCallback<BooleanResult>() { |
|
| 142 | - @Override |
|
| 143 | - public void onFailure(Throwable caught) { |
|
| 144 | - clientFactory.createErrorView("Error while loading miscellaneous email subscriptions!", caught); |
|
| 145 | - } |
|
| 146 | - |
|
| 147 | - @Override |
|
| 148 | - public void onSuccess(BooleanResult result) { |
|
| 149 | - ui.setValue(result.getValue()); |
|
| 150 | - } |
|
| 151 | - }; |
|
| 152 | - clientFactory.getDispatch().execute(new GetMiscEmailPreferencesAction(), callback); |
|
| 153 | - } |
|
| 154 | - |
|
| 155 | 155 | private class CompetitorSelectionPresenterImpl |
| 156 | 156 | extends AbstractSuggestedCompetitorMultiSelectionPresenter<CompetitorSelectionPresenter.Display> |
| 157 | 157 | implements CompetitorSelectionPresenter { |
| ... | ... | @@ -168,11 +168,7 @@ public class UserPreferencesPresenter<C extends ClientFactoryWithDispatch & Erro |
| 168 | 168 | .toArray()[0]; |
| 169 | 169 | if (selectionCallback != null) { |
| 170 | 170 | persistResults(display.getIsNotify(), selectionCallback, selectedItems); |
| 171 | - } else { |
|
| 172 | - throw new RuntimeException("set the selection callback first"); |
|
| 173 | 171 | } |
| 174 | - } else { |
|
| 175 | - throw new RuntimeException("attach a display to this presenter"); |
|
| 176 | 172 | } |
| 177 | 173 | } |
| 178 | 174 |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/shared/places/user/profile/preferences/UserPreferencesView.java
| ... | ... | @@ -1,10 +1,7 @@ |
| 1 | 1 | package com.sap.sailing.gwt.home.shared.places.user.profile.preferences; |
| 2 | 2 | |
| 3 | -import com.google.gwt.user.client.rpc.AsyncCallback; |
|
| 4 | 3 | import com.google.gwt.user.client.ui.IsWidget; |
| 5 | -import com.sap.sailing.gwt.home.shared.partials.checkboxtile.CheckBoxTile; |
|
| 6 | 4 | import com.sap.sailing.gwt.home.shared.partials.multiselection.SuggestedMultiSelectionPresenter; |
| 7 | -import com.sap.sse.gwt.dispatch.shared.commands.VoidResult; |
|
| 8 | 5 | |
| 9 | 6 | /** |
| 10 | 7 | * Interface for the user preferences UI. To support desktop as well as mobile version, an |
| ... | ... | @@ -31,11 +28,9 @@ public interface UserPreferencesView extends IsWidget { |
| 31 | 28 | |
| 32 | 29 | BoatClassSelectionPresenter getFavoriteBoatClassesDataProvider(); |
| 33 | 30 | |
| 34 | - void setIsSubscribedToFeatureAndCommunityUpdates(final Boolean b, final AsyncCallback<VoidResult> callback); |
|
| 35 | - |
|
| 36 | - void initIsSubscribedToFeatureAndCommunityUpdates(final CheckBoxTile featureAndCommunityUpdates); |
|
| 37 | - |
|
| 38 | 31 | CompetitorSelectionPresenter getFavoriteCompetitorsDataProvider(); |
| 32 | + |
|
| 33 | + MiscPreferencesPresenter getMiscPresenter(); |
|
| 39 | 34 | } |
| 40 | 35 | |
| 41 | 36 | } |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
| ... | ... | @@ -2565,6 +2565,16 @@ public interface StringMessages extends com.sap.sse.gwt.client.StringMessages, |
| 2565 | 2565 | String youWillNowReceiveNotificationsForFavoriteCompetitors(); |
| 2566 | 2566 | String youWillNotReceiveNotificationsForFavoriteCompetitorsAnymore(); |
| 2567 | 2567 | String failedToSetStatusOfNotificationsForFavoriteCompetitors(); |
| 2568 | + String youWillNowReceiveNotificationsForFavoriteBoatClassUpcomingRaces(); |
|
| 2569 | + String youWillNotReceiveUpdatesOnUpcomingRacesForYourFavoredBoatClassesAnymore(); |
|
| 2570 | + String failedToSetStatusOfUpdatesOnUpcomingRacesForYourFavoredBoatClasses(); |
|
| 2571 | + String youWillNowReceiveUpdatesOnNewResultsForYourFavoredBoatClasses(); |
|
| 2572 | + String youWillNotReceiveNotificationsForFavoriteBoatClassNewResultsAnymore(); |
|
| 2573 | + String failedToSetStatusOfUpdatesOnNewResultsForYourFavoredBoatClasses(); |
|
| 2574 | + String failedToModifyFavoriteCompetitors(); |
|
| 2575 | + String favoriteCompetitorsModifiedSuccessfully(); |
|
| 2576 | + String failedToModifyFavoredBoatClasses(); |
|
| 2577 | + String succesfullyModifiedFavoredBoatClasses(); |
|
| 2568 | 2578 | String revokeExplicitTrackingTimes(); |
| 2569 | 2579 | String confirmRevokeExplicitTrackingTimes(String leaderboardName); |
| 2570 | 2580 | String errorRevokingExplicitTrackingTimes(String leaderboardName, String message); |
| ... | ... | @@ -2574,4 +2584,5 @@ public interface StringMessages extends com.sap.sse.gwt.client.StringMessages, |
| 2574 | 2584 | String notRevokedTrackingTimesBecauseOfMissingStartOrFinishTime(); |
| 2575 | 2585 | String noRegattaLeaderboard(String leaderboardName); |
| 2576 | 2586 | String noAutomatedTrackingTimes(String leaderboardName); |
| 2577 | - String unknownError(String name); |
|
| ... | ... | \ No newline at end of file |
| 0 | + String unknownError(String name); |
|
| 1 | +} |
|
| ... | ... | \ No newline at end of file |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
| ... | ... | @@ -2600,6 +2600,16 @@ youWillNotReceiveFeatureAndCommunityUpdatesAnymore=You will not receive feature |
| 2600 | 2600 | failedToSetStatusOfFeatureAndCommunityUpdates=Failed to set status of feature and community updates |
| 2601 | 2601 | failedToSetStatusOfNotificationsForFavoriteCompetitors=Failed to set status of notifications for favorite competitors |
| 2602 | 2602 | youWillNowReceiveNotificationsForFavoriteCompetitors=You will now receive notifications for favorite competitors |
| 2603 | +failedToSetStatusOfUpdatesOnUpcomingRacesForYourFavoredBoatClasses=Failed to set status of notifications for upcoming races of your favored boat classes |
|
| 2604 | +youWillNowReceiveNotificationsForFavoriteBoatClassUpcomingRaces=You will now receive notifications for upcoming races of your favored boat classes |
|
| 2605 | +youWillNotReceiveUpdatesOnUpcomingRacesForYourFavoredBoatClassesAnymore=You will not receive notifications for upcoming races of your favored boat classes anymore |
|
| 2606 | +failedToSetStatusOfUpdatesOnNewResultsForYourFavoredBoatClasses=Failed to set status of notifications for new results of your favored boat classes |
|
| 2607 | +youWillNowReceiveUpdatesOnNewResultsForYourFavoredBoatClasses=You will now receive notifications for new results of your favored boat classes |
|
| 2608 | +youWillNotReceiveNotificationsForFavoriteBoatClassNewResultsAnymore=You will not receive notifications for new results of your favored boat classes anymore |
|
| 2609 | +failedToModifyFavoriteCompetitors=Failed to modify favorite competitors |
|
| 2610 | +favoriteCompetitorsModifiedSuccessfully=Favorite competitors modified successfully |
|
| 2611 | +failedToModifyFavoredBoatClasses=Failed to modify favorite boat classes |
|
| 2612 | +succesfullyModifiedFavoredBoatClasses=Successfully modified favored boat classes |
|
| 2603 | 2613 | youWillNotReceiveNotificationsForFavoriteCompetitorsAnymore=You will not receive notifications for favorite competitors anymore |
| 2604 | 2614 | revokeExplicitTrackingTimes=Revoke explicit tracking times for races with valid start and finishing times |
| 2605 | 2615 | confirmRevokeExplicitTrackingTimes=Really revoke explicit tracking times for all races of leaderboard {0} that have valid start and finishing times? |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
| ... | ... | @@ -2596,6 +2596,15 @@ failedToSetStatusOfNotificationsForFavoriteCompetitors=Status der Benachrichtigu |
| 2596 | 2596 | youWillNowReceiveNotificationsForFavoriteCompetitors=Sie erhalten nun Benachrichtigungen für Ihre bevorzugten Teilnehmer. |
| 2597 | 2597 | youWillNotReceiveNotificationsForFavoriteCompetitorsAnymore=Sie erhalten keine Benachrichtigungen mehr für Ihre Lieblingskonkurrenten. |
| 2598 | 2598 | failedToSetStatusOfUpdatesOnUpcomingRacesForYourFavoredBoatClasses=Fehler beim Festlegen des Benachrichtigungsstatus für bevorstehende Rennen Ihrer bevorzugten Bootsklasse |
| 2599 | +youWillNowReceiveNotificationsForFavoriteBoatClassUpcomingRaces=Sie erhalten nun Benachrichtigungen für anstehende Rennen Ihrer bevorzugten Bootsklasse. |
|
| 2600 | +youWillNotReceiveUpdatesOnUpcomingRacesForYourFavoredBoatClassesAnymore=Sie erhalten keine Benachrichtigungen mehr für bevorstehende Rennen Ihrer bevorzugten Bootsklasse. |
|
| 2601 | +failedToSetStatusOfUpdatesOnNewResultsForYourFavoredBoatClasses=Fehler beim Festlegen des Benachrichtigungsstatus für neue Ergebnisse Ihrer bevorzugten Bootsklasse |
|
| 2602 | +youWillNowReceiveUpdatesOnNewResultsForYourFavoredBoatClasses=Sie erhalten nun Benachrichtigungen über neue Ergebnisse Ihrer bevorzugten Bootsklasse. |
|
| 2603 | +youWillNotReceiveNotificationsForFavoriteBoatClassNewResultsAnymore=Sie erhalten keine Benachrichtigungen mehr über neue Ergebnisse Ihrer bevorzugten Bootsklasse. |
|
| 2604 | +failedToModifyFavoriteCompetitors=Fehler beim Setzen der Teilnemer-Favoriten |
|
| 2605 | +favoriteCompetitorsModifiedSuccessfully=Teilnehmer-Favoriten erfolgreich aktualisiert |
|
| 2606 | +failedToModifyFavoredBoatClasses=Die bevorzugten Bootsklassen konnten nicht angepasst werden. |
|
| 2607 | +succesfullyModifiedFavoredBoatClasses=Die bevorzugten Bootsklassen wurden erfolgreich angepasst. |
|
| 2599 | 2608 | revokeExplicitTrackingTimes=Explizite Tracking-Zeiten zurücksetzen für Rennen mit gültigen Start- und Endzeitpunkten |
| 2600 | 2609 | confirmRevokeExplicitTrackingTimes=Wirklich explizite Tracking-Zeiten zurücksetzen für Rennen mit gültigen Start- und Endzeitpunkten der Rangliste {0}? |
| 2601 | 2610 | errorRevokingExplicitTrackingTimes=Fehler beim Zurücksetzen expliziter Tracking-Zeiten für Rennen mit gültigen Start- und Endzeitpunkten der Rangliste {0}: {1} |
java/com.sap.sse.gwt/src/com/sap/sse/gwt/dispatch/shared/commands/BooleanResult.java
| ... | ... | @@ -1,19 +0,0 @@ |
| 1 | -package com.sap.sse.gwt.dispatch.shared.commands; |
|
| 2 | - |
|
| 3 | -import com.sap.sse.gwt.shared.DTO; |
|
| 4 | - |
|
| 5 | -public class BooleanResult implements DTO, Result { |
|
| 6 | - private boolean value; |
|
| 7 | - |
|
| 8 | - @Deprecated // Used for GWT serialization only |
|
| 9 | - BooleanResult() { |
|
| 10 | - } |
|
| 11 | - |
|
| 12 | - public BooleanResult(final boolean b) { |
|
| 13 | - this.value = b; |
|
| 14 | - } |
|
| 15 | - |
|
| 16 | - public boolean getValue() { |
|
| 17 | - return value; |
|
| 18 | - } |
|
| 19 | -} |