Package de.iritgo.aktera.model

Examples of de.iritgo.aktera.model.Model.execute()


  public static ListingDescriptor createListingFromModel(ModelRequest req, String modelName) throws ModelException
  {
    try
    {
      Model listingModel = (Model) req.getService(Model.ROLE, modelName);
      Output listingOutput = (Output) listingModel.execute(req).get("listing");

      if (listingOutput != null)
      {
        return (ListingDescriptor) listingOutput.getContent();
      }
View Full Code Here


        req.setParameter(attributeName, dataObject.getAttribute(attributeName));
      }

      req.setParameter("id", dataObject.getStringAttribute("keelObjectId"));

      saveModel.execute(req);
      ActionTools.sendServerBroadcast(new EditIObjectAction(EditIObjectAction.OK, systemObject));
    }
    catch (Exception x)
    {
      Log.log("system", "ConnectorServerManager.saveKeelObject", "Keel error, unknown model (" + model
View Full Code Here

      ((KeelContextualizable) req).setKeelContext((Context) keelIritgoAuthMap.get(new Long(userUniqueId)));

      req.setParameter("id", keelObjectId);

      deleteModel.execute(req);
    }
    catch (Exception x)
    {
      Log.log("system", "ConnectorServerManager.deleteKeelObject", "Keel error, unknown model? Error: " + x,
              Log.FATAL);
View Full Code Here

        attributeName = (String) i.next();

        req.setParameter(attributeName, properties.get(attributeName));
      }

      KeelResponse res = model.execute(req);

      return res;
    }
    catch (Exception x)
    {
View Full Code Here

      ((KeelContextualizable) req).setKeelContext((Context) keelIritgoAuthMap.get(new Long(userUniqueId)));

      req.setParameter("id", keelObjectId);

      res = editModel.execute(req);
    }
    catch (Exception x)
    {
      Log.log("system", "ConnectorServerManager.getKeelObject", "Keel error, unknown model? Error: " + x,
              Log.FATAL);
View Full Code Here

      {
        req.setParameter("listSearchCategory", listSearchCategory);
        req.setParameter(listName + "SearchCategory", listSearchCategory);
      }

      res = listingModel.execute(req);
    }
    catch (Exception x)
    {
      Log.log("system", "ConnectorServerManager.doQuery", "Keel error, unknown model (" + model + ")? Error: "
              + x, Log.FATAL);
View Full Code Here

      {
        attributeName = (String) i.next();
        req.setParameter(attributeName, props.getProperty(attributeName));
      }

      model.execute(req);
    }
    catch (Exception x)
    {
      Log.logError("server", "AkteraAktarioServerManager.doModel", "Unable to execute model: " + x.toString());
      x.printStackTrace();
View Full Code Here

    {
      try
      {
        Model formularModel = (Model) req.getService(Model.ROLE, formularModelName);

        Output formularOutput = (Output) formularModel.execute(req).get("formular");

        if (formularOutput != null)
        {
          formular = (FormularDescriptor) formularOutput.getContent();
        }
View Full Code Here

            mreq.setParameter(keyName, req.getParameter(key));
          }
        }
      }

      res = model.execute(mreq);

      try
      {
        Configuration[] attributes = model.getConfiguration().getChildren("attribute");
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.