Package at.molindo.notify.model

Examples of at.molindo.notify.model.Preferences


  private PushResultMessage push(@Nonnull Notification notification, boolean ignoreFrequency) {
    IPreferences prefs;

    final String unknownChannel = notification.getParams().get(INotifyService.NOTIFY_UNKNOWN);
    if (unknownChannel != null) {
      prefs = new Preferences().setUserId(notification.getUserId());
    } else {
      prefs = _preferencesDAO.getPreferences(notification.getUserId());
    }

    if (prefs == null) {
View Full Code Here


    return _preferencesDAO.getPreferences(userId);
  }

  @Override
  public Preferences newPreferences(String userId) {
    Preferences p = _defaultPreferences.clone();
    p.setUserId(userId);
    p.generateSecret();

    p.getChannelPrefs().putAll(_instantDispatcher.newDefaultPreferences());

    return p;
  }
View Full Code Here

TOP

Related Classes of at.molindo.notify.model.Preferences

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.