Package de.iritgo.aktera.address.wsclient

Examples of de.iritgo.aktera.address.wsclient.AddressClientService


   */
  @Override
  protected void registerClientManagers()
  {
    registerManager(new AddressClientManager());
    registerManager(new AddressClientService());
  }
View Full Code Here


    new Thread()
    {
      @Override
      public void run()
      {
        final AddressClientService acs = (AddressClientService) Engine.instance().getManager(
                AddressClientService.ID);
        final Address address = acs.getAddress(addressStoreName, addressDn);

        SwingUtilities.invokeLater(new Runnable()
        {
          public void run()
          {
View Full Code Here

        @Override
        public void run()
        {
          search.busy();

          AddressClientService acs = (AddressClientService) Engine.instance().getManager(
                  AddressClientService.ID);

          for (final AddressStore ads : acs.listAddressStores())
          {
            SwingUtilities.invokeLater(new Runnable()
            {
              public void run()
              {
                addressStore.addItem(new IComboBoxIdItem(ads.getName(), resources
                        .getStringWithoutException(ads.getTitle())));
              }
            });
          }

          final String defaultAddressStoreId = acs.getDefaultAddressStoreName();

          SwingUtilities.invokeLater(new Runnable()
          {
            public void run()
            {
View Full Code Here

  }

  private void search(String addressStoreName, String searchText)
  {
    search.busy();
    AddressClientService acs = (AddressClientService) Engine.instance().getManager(AddressClientService.ID);
    addresses = acs.listAddresses(addressStoreName, searchText, 0, 100);
    SwingUtilities.invokeLater(new Runnable()
    {
      public void run()
      {
        ((AddressTableModel) addressTable.getModel()).fireTableDataChanged();
View Full Code Here

  @Override
  public void onCellClicked(Object item, JTable addressTable, MouseEvent e)
  {
    AddressClientManager acm = (AddressClientManager) Engine.instance().getManager(AddressClientManager.ID);
    AddressClientService acs = (AddressClientService) Engine.instance().getManager(AddressClientService.ID);
    Address address = (Address) item;

    address.setPhoneNumbers(acs.listPhoneNumbers(address.getStoreId(), address.getId()));

    JPopupMenu menu = new JPopupMenu();

    for (IMenuItemProvider itemProvider : acm.getAddressTableActionMenuItemProviders())
    {
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.address.wsclient.AddressClientService

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.