Package de.iritgo.aktario.framework.dataobject

Examples of de.iritgo.aktario.framework.dataobject.DynDataObject


   */
  public AddressAktarioManager(String instance)
  {
    super(instance);

    address = new DynDataObject("Address");
    address.addAttribute("lastName", "");
    address.addAttribute("firstName", "");
    address.addAttribute("street", "");
    address.addAttribute("company", "");
    address.addAttribute("phonenumber", "");
View Full Code Here


      // Remove unused journal entry caches
      LinkedList<DynDataObject> removeList = new LinkedList<DynDataObject>();
      for (Iterator i = Engine.instance().getBaseRegistry().iterator("aktera.journal.list.notvisible"); i
              .hasNext();)
      {
        DynDataObject akteraQuery = (DynDataObject) i.next();
        if (Long.valueOf(akteraQuery.getStringAttribute("userUniqueId")) == user.getUniqueId())
        {
          removeList.add(akteraQuery);
        }
      }
      for (DynDataObject akteraQuery : removeList)
View Full Code Here

          User user = (User) j.next();
          long userId = user.getUniqueId();
          for (Iterator i = Engine.instance().getBaseRegistry().iterator("aktera.journal.list.notvisible"); i
                  .hasNext();)
          {
            DynDataObject akteraQuery = (DynDataObject) i.next();
            if (Long.valueOf(akteraQuery.getStringAttribute("userUniqueId")) == userId)
            {
              ++count;
              if (count > 120)
                removeList.add(akteraQuery);
            }
View Full Code Here

  public void loadFromObject(IObject iobject)
  {
    final AkteraQuery akteraQuery = (AkteraQuery) iobject;

    final String iObjectTypeId = akteraQuery.getStringAttribute("listName");
    DynDataObject sampleObject = null;

    try
    {
      sampleObject = (DynDataObject) Engine.instance().getIObjectFactory().newInstance(iObjectTypeId);
      initOnLoadGUI(sampleObject);
View Full Code Here

  public DynDataObject getIObjectAtRow(int row)
  {
    IObjectList list = ((AkteraQuery) getIObject()).getIObjectListResults();

    DynDataObject dynDataObject = (DynDataObject) list.get(tableSorter.getRealRow(row));

    return dynDataObject;
  }
View Full Code Here

          return this;
        }
        else if ("journal_id".equals(tileId))
        {
          DynDataObject rowData = ((DynDataObject) value);

          setText("<html><b>" + rowData.getStringAttribute("journal_rawData") + "</b><br/><font size=-2>"
                  + resources.getStringWithParams(rowData.getStringAttribute(MESSAGE_ID))
                  + "</font><br/><font size=-1>" + rowData.getStringAttribute(OCCURREDAT_ID)
                  + "</font>");
          setVerticalAlignment(JLabel.TOP);

          return this;
        }
View Full Code Here

  {
    CommandTools.performAsync(new Command()
    {
      public void perform()
      {
        DynDataObject dataObject = (DynDataObject) DataObjectTools.createDynDataObject(model, new Long(
                keelObjectUniqueId).longValue());

        IDisplay display = (IDisplay) Client.instance().getClientGUI().getDesktopManager().getDisplay(jFrameId);

        ((IWindow) display).registerIObject((IObject) dataObject, display.getGUIPane());
View Full Code Here

    props.put("maximized", Boolean.TRUE);
    props.put("titlebar", Boolean.FALSE);
    props.put("queryPaneId", queryPaneId);
    props.setProperty("toolbar", "yes");

    DynDataObject dataObject = (DynDataObject) DataObjectTools.createDynDataObject(model, dataObjectUniqueId);

    String onScreenUniqueId = "onScreenUniqueId-" + Engine.instance().getTransientIDGenerator().createId();

    CommandTools.performAsync(new ShowWindow("DataObjectGUIPane", onScreenUniqueId, jFrameId, dataObject), props);
  }
View Full Code Here

   */
  public long newKeelObject(String model, long userUniqueId)
  {
    KeelResponse keelForm = getKeelObject(model, "-1", userUniqueId);

    DynDataObject dataObject = null;

    dataObject = createDataObjectAndRegister(keelForm, model, "-1", true);

    try
    {
      AnnounceDynDataObjectResponse announceDynDataObjectResponse = new AnnounceDynDataObjectResponse(
              (DynDataObject) Engine.instance().getIObjectFactory().newInstance(model));

      ActionTools.sendToClient(userUniqueId, announceDynDataObjectResponse);
    }
    catch (Exception x)
    {
      Log.log("system", "ConnectorServerManager.doQuery", "DynDataObject can not created: " + model + " Error: "
              + x, Log.FATAL);
    }

    return dataObject.getUniqueId();
  }
View Full Code Here

    }

    registerListElement(resultList, model);

    List rows = resultList.getAll();
    DynDataObject listObject = null;

    for (Iterator i = rows.iterator(); i.hasNext();)
    {
      ResponseElement row = (ResponseElement) i.next();
View Full Code Here

TOP

Related Classes of de.iritgo.aktario.framework.dataobject.DynDataObject

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.