Package de.iritgo.aktera.persist

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


        Iterator persistentConfigIterator = persistentConfig.iterator();
        Configuration aPersistentConfig = (Configuration) persistentConfigIterator.next();

        if (aPersistentConfig.getAttribute("name", null) != null)
        {
          Persistent persistent = persistentManager.create(aPersistentConfig.getAttribute("name"));

          if (id.intValue() != - 1)
          {
            persistent.setField(aPersistentConfig.getAttribute("key"), id);
            persistent.find();
View Full Code Here


          {
            aPersistentConfig = (Configuration) persistentConfigIterator.next();

            if (aPersistentConfig.getAttribute("join", null) != null)
            {
              persistent = persistentManager.create(aPersistentConfig.getAttribute("name"));
              persistents.put(aPersistentConfig.getAttribute("id"), persistent);

              if (id.intValue() != - 1)
              {
                persistent.setField(aPersistentConfig.getAttribute("myKey"), persistents.getPersistent(
View Full Code Here

        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

        if (persistentConfig.size() != 0)
        {
          if (persistentConfig.get(0).getAttribute("name", null) != null)
          {
            persistent = persistentManager.create(persistentConfig.get(0).getAttribute("name"));
            persistent.setField(persistentConfig.get(0).getAttribute("key"), NumberTools.toIntInstance(
                    ids[i], - 1));
            persistent.find();
          }
          else
View Full Code Here

        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

      if (persistentConfig.size() > 0)
      {
        Iterator persistentConfigIterator = persistentConfig.iterator();
        Configuration aPersistentConfig = (Configuration) persistentConfigIterator.next();

        Persistent persistent = persistentManager.create(aPersistentConfig.getAttribute("name"));

        persistents.put(aPersistentConfig.getAttribute("id"), persistent);

        for (; persistentConfigIterator.hasNext();)
        {
View Full Code Here

        for (; persistentConfigIterator.hasNext();)
        {
          aPersistentConfig = (Configuration) persistentConfigIterator.next();

          persistent = persistentManager.create(aPersistentConfig.getAttribute("name"));

          String join = aPersistentConfig.getAttribute("join", null);

          if (join != null)
          {
View Full Code Here

    Persistent myUser = null;

    try
    {
      pf = (PersistentFactory) getService(PersistentFactory.ROLE);
      myUser = pf.create("keel.user");
    }
    catch (ServiceException e)
    {
      throw new UserMgrException(e);
    }
View Full Code Here

    Persistent myGroup = null;

    try
    {
      pf = (PersistentFactory) getService(PersistentFactory.ROLE);
      myGroup = pf.create("keel.usergroup");
    }
    catch (ServiceException e)
    {
      throw new UserMgrException(e);
    }
View Full Code Here

    Persistent myGroupMembers = null;

    try
    {
      pf = (PersistentFactory) getService(PersistentFactory.ROLE);
      myGroupMembers = pf.create("keel.groupmembers");
    }
    catch (ServiceException e)
    {
      throw new UserMgrException(e);
    }
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.