Examples of AddressManager


Examples of de.iritgo.aktera.address.AddressManager

public class GetPhoneNumbersByStoreAndAddress extends AbstractUIController
{
  public void execute(UIRequest request, UIResponse response) throws UIControllerException
  {
    AddressManager addressManager = (AddressManager) SpringTools.getBean(AddressManager.ID);
    String addressId = request.getParameterAsString("addressId");
    Integer addressStoreId = request.getParameterAsInt("storeId");
    AddressStore store = addressManager.getAddressStoreById(addressStoreId);
    Option<Address> address = store.findAddressByDn(addressId);
    if (address.full())
    {
      for (PhoneNumber number : address.get().getPhoneNumbers())
      {
View Full Code Here

Examples of de.iritgo.aktera.address.AddressManager

  public boolean analyze(ModelRequest req, Document doc, Node importElem, PrintWriter reporter, I18N i18n,
          Properties properties) throws ModelException, XPathExpressionException
  {
    boolean bulkImport = (Boolean) properties.get("bulkImport");

    AddressManager addressManager = (AddressManager) SpringTools.getBean(AddressManager.ID);
    String addressStoreId = (String) properties.getProperty("destination", addressManager.getDefaultAddressStore()
            .getName());

    AddressStore addressStore = null;

    addressStore = addressManager.getAddressStoreByName(addressStoreId);

    if (! addressStore.getEditable())
    {
      reporter.println(i18n.msg(req, "AkteraAddress", "addressImportHandlerStoreNotWriteable"));
View Full Code Here

Examples of de.iritgo.aktera.address.AddressManager

    if (bulkImport)
    {
      reporter.println(i18n.msg(req, "AkteraAddress", "addressImportBulkMode"));
    }

    AddressManager addressManager = (AddressManager) SpringTools.getBean(AddressManager.ID);
    String addressStoreId = (String) properties.getProperty("destination", addressManager.getDefaultAddressStore()
            .getName());

    AddressStore addressStore = null;

    addressStore = addressManager.getAddressStoreByName(addressStoreId);

    if (! addressStore.getEditable())
    {
      reporter.println(i18n.msg(req, "AkteraAddress", "addressImportHandlerStoreNotWriteable"));
View Full Code Here

Examples of de.iritgo.aktera.address.AddressManager

    {
      boolean bulkImport = (Boolean) properties.get("bulkImport");

      I18N i18n = (I18N) request.getSpringBean(I18N.ID);

      AddressManager addressManager = (AddressManager) SpringTools.getBean(AddressManager.ID);
      String addressStoreId = properties
              .getProperty("destination", properties.getProperty("addressStoreId", addressManager
                      .getDefaultAddressStore().getName()));
      AddressStore addressStore = null;

      addressStore = addressManager.getAddressStoreByName(addressStoreId);

      if (! addressStore.getEditable())
      {
        reporter.println(i18n.msg(request, "AkteraAddress", "addressImportHandlerStoreNotWriteable"));
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.