Examples of DBReminder


Examples of de.willuhn.jameica.hbci.rmi.DBReminder

  /**
   * @see de.willuhn.jameica.reminder.ReminderStorageProvider#get(java.lang.String)
   */
  public Reminder get(String uuid) throws Exception
  {
    DBReminder r = this.getDBReminder(uuid);
    return r != null ? r.getReminder() : null;
  }
View Full Code Here

Examples of de.willuhn.jameica.hbci.rmi.DBReminder

    if (reminder == null)
      throw new JameicaException("no reminder given");
   
    String uuid = this.createUUID();
   
    DBReminder r = (DBReminder) Settings.getDBService().createObject(DBReminder.class,null);
    r.setUUID(uuid);
    r.setReminder(reminder);
    r.store();
   
    return uuid;
  }
View Full Code Here

Examples of de.willuhn.jameica.hbci.rmi.DBReminder

   
    if (reminder == null)
      throw new JameicaException("no reminder given");
   
    // Checken, ob wir den schon haben
    DBReminder r = this.getDBReminder(uuid);
    if (r == null)
      throw new ObjectNotFoundException("no reminder found for uuid: " + uuid);
   
    // Daten uebernehmen und speichern
    r.setReminder(reminder);
    r.store();
  }
View Full Code Here

Examples of de.willuhn.jameica.hbci.rmi.DBReminder

  public Reminder delete(String uuid) throws Exception
  {
    if (StringUtils.trimToNull(uuid) == null)
      throw new JameicaException("no uuid given");
   
    DBReminder r = this.getDBReminder(uuid);
    if (r == null)
      return null; // den gibts gar nicht
   
    Reminder reminder = r.getReminder();
    r.delete();
   
    // den geloeschten Reminder noch zurueckliefern
    return reminder;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.