Package de.iritgo.aktera.persist

Examples of de.iritgo.aktera.persist.PersistentFactory.create()


        throw new PermissionException("Permission denied to edit com device function keys of user " + userId);
      }

      try
      {
        Persistent user = pf.create("keel.user");

        user.setField("uid", userId);
        user.find();
        userName = user.getFieldString("name");
      }
View Full Code Here


      for (int i = 0; i < configs.length; ++i)
      {
        Configuration config = configs[i];

        Persistent configEntry = persistentManager.create("aktera.PreferencesConfig");

        configEntry.setField("userId", userId);
        configEntry.setField("category", config.getAttribute("category"));
        configEntry.setField("name", config.getAttribute("name"));
View Full Code Here

        if (! config.getAttribute("category").equals(category) && ! config.getAttribute("name").equals(name))
        {
          continue;
        }

        Persistent configEntry = persistentManager.create("aktera.PreferencesConfig");

        configEntry.setField("userId", userId);
        configEntry.setField("category", config.getAttribute("category"));
        configEntry.setField("name", config.getAttribute("name"));
View Full Code Here

      }

      PersistentFactory persistentManager = (PersistentFactory) req.getService(PersistentFactory.ROLE, req
              .getDomain());

      Persistent keelUser = persistentManager.create("keel.user");

      keelUser.setField("uid", new Integer(uid));

      if (! keelUser.find())
      {
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.