Package jnode.dto

Examples of jnode.dto.Subscription


        ret.setGroup((link != null) ? getOptionString(link,
            LinkOption.SARRAY_LINK_GROUPS).split(" ")[0] : "");
        logger.l3("Echoarea " + name.toUpperCase() + " created");
        ORMManager.get(Echoarea.class).save(ret);
        if (link != null) {
          Subscription sub = new Subscription();
          sub.setArea(ret);
          sub.setLink(link);
          ORMManager.get(Subscription.class).save(sub);
        }
        Notifier.INSTANSE.notify(new NewEchoareaEvent(name, link));
      }
    } else {
View Full Code Here


        local.setDescription("Local echoarea");
        local.setName(FtnTools.getPrimaryFtnAddress().getNode()
            + ".local");
        local.setGroup("");
        ORMManager.get(Echoarea.class).save(local);
        Subscription sub = new Subscription();
        sub.setArea(local);
        sub.setLink(owner);
        ORMManager.get(Subscription.class).save(sub);
        FtnTools.writeEchomail(local, "Your new jNode installation",
            "Welcome aboard!\n\nYou've just installed. Enjoy in Fidonet now!");
        logger.l1("[+] created local echoarea " + local.getName());
      }
View Full Code Here

TOP

Related Classes of jnode.dto.Subscription

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.