Examples of CountryService


Examples of com.devsniper.desktop.customers.service.CountryService

*/
public class CountryController extends AbstractDataPageController<Country> {

    @Override
    protected AbstractService<Country> createService() {
        return new CountryService();
    }
View Full Code Here

Examples of com.devsniper.desktop.customers.service.CountryService

     * Gets countries count from database.
     *
     * @return countries count
     */
    public int getCountriesCount() {
        return new CountryService().getListWithNamedQuery(Country.FIND_ALL).size();
    }
View Full Code Here

Examples of com.devsniper.desktop.customers.service.CountryService

                    return I18n.CUSTOMERS.getString("Customer.Form.SelectCountry");
                }
            });
        }

        list.addAll(new CountryService().getListWithNamedQuery(Country.FIND_ALL));

        return list;
    }
View Full Code Here

Examples of com.liferay.faces.demos.service.CountryService

      synchronized (this) {

        ELResolver elResolver = facesContext.getApplication().getELResolver();
        ELContext elContext = facesContext.getELContext();
        CountryService countryService = (CountryService) elResolver.getValue(elContext, null, "countryService");
        countryMap = countryService.getCountryMap();
      }
    }

    return countryMap;
  }
View Full Code Here

Examples of com.liferay.faces.demos.service.CountryService

      synchronized (this) {

        ELResolver elResolver = facesContext.getApplication().getELResolver();
        ELContext elContext = facesContext.getELContext();
        CountryService countryService = (CountryService) elResolver.getValue(elContext, null, "countryService");
        countryMap = countryService.getCountryMap();
      }
    }

    return countryMap;
  }
View Full Code Here

Examples of org.broadleafcommerce.profile.core.service.CountryService

        wrapDetails(model, request);
    }

    @Override
    public Country unwrap(HttpServletRequest request, ApplicationContext appContext) {
        CountryService countryService = (CountryService) appContext.getBean("blCountryService");
        if (this.abbreviation != null) {
            Country country = countryService.findCountryByAbbreviation(this.abbreviation);
            return country;
        }

        return null;
    }
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.