Package org.projectforge.address

Examples of org.projectforge.address.AddressFilter


  }

  @Override
  protected AddressFilter newFilter()
  {
    return new AddressFilter();
  }
View Full Code Here


    final PFAutoCompleteTextField<String> numberTextField = new PFAutoCompleteTextField<String>(InputPanel.WICKET_ID,
        new PropertyModel<String>(data, "phoneNumber")) {
      @Override
      protected List<String> getChoices(final String input)
      {
        final AddressFilter addressFilter = new AddressFilter();
        addressFilter.setSearchString(input);
        final List<String> list = new ArrayList<String>();
        for (final AddressDO address : addressDao.getList(addressFilter)) {
          buildAutocompleteEntry(list, address, address.getMobilePhone());
          buildAutocompleteEntry(list, address, address.getPrivateMobilePhone());
        }
View Full Code Here

      }
    }) {
      @Override
      protected List<AddressDO> getChoices(final String input)
      {
        final AddressFilter filter = new AddressFilter();
        filter.setSearchString(input);
        filter.setSearchFields("name", "firstName", "organization");
        final List<AddressDO> list = addressDao.getList(filter);
        return list;
      }

      @Override
View Full Code Here

      }
    }) {
      @Override
      protected List<AddressDO> getChoices(final String input)
      {
        final AddressFilter addressFilter = new AddressFilter();
        addressFilter.setSearchString(input);
        addressFilter.setSearchFields("name", "firstName", "organization");
        return addressDao.getList(addressFilter);
      }

      @Override
      protected List<String> getRecentUserInputs()
View Full Code Here

TOP

Related Classes of org.projectforge.address.AddressFilter

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.