Package org.hoteia.qalingo.core.domain

Examples of org.hoteia.qalingo.core.domain.Localization


     * @see org.hoteia.qalingo.core.service.EmailService#buildAndSaveCustomerForgottenPasswordMail(Localization localization, Customer customer, String velocityPath, CustomerForgottenPasswordEmailBean customerForgottenPasswordEmailBean)
     */
    public void buildAndSaveCustomerForgottenPasswordMail(final RequestData requestData, final Customer customer, final String velocityPath,
                                final CustomerForgottenPasswordEmailBean customerForgottenPasswordEmailBean) throws Exception {
        try {
          final Localization localization = requestData.getMarketAreaLocalization();
          final Locale locale = localization.getLocale();
         
          // SANITY CHECK
          checkEmailAddresses(customerForgottenPasswordEmailBean);
         
          Map<String, Object> model = new HashMap<String, Object>();
View Full Code Here


   
    @Autowired
    private LocalizationService localizationService;

    public LocalizationPojo getLocalizationById(String localizationId) {
        final Localization localization = localizationService.getLocalizationById(localizationId);
        logger.debug("Found {} localization for id {}", localization, localizationId);
        return localization == null ? null : dozerBeanMapper.map(localization, LocalizationPojo.class);
    }
View Full Code Here

        logger.debug("Found {} localization for id {}", localization, localizationId);
        return localization == null ? null : dozerBeanMapper.map(localization, LocalizationPojo.class);
    }
   
    public LocalizationPojo getLocalizationByCode(String localizationCode) {
        final Localization localization = localizationService.getLocalizationByCode(localizationCode);
        logger.debug("Found {} localization for code {}", localization, localizationCode);
        return localization == null ? null : dozerBeanMapper.map(localization, LocalizationPojo.class);
    }
View Full Code Here

     * @see org.hoteia.qalingo.core.service.EmailService#buildAndSaveCustomerResetPasswordConfirmationMail(Localization localization, Customer customer, String velocityPath, CustomerResetPasswordConfirmationEmailBean customerResetPasswordConfirmationEmailBean)
     */
    public void buildAndSaveCustomerResetPasswordConfirmationMail(final RequestData requestData, final Customer customer, final String velocityPath,
                                    final CustomerResetPasswordConfirmationEmailBean customerResetPasswordConfirmationEmailBean) throws Exception {
        try {
          final Localization localization = requestData.getMarketAreaLocalization();
          final Locale locale = localization.getLocale();
         
          // SANITY CHECK
          checkEmailAddresses(customerResetPasswordConfirmationEmailBean);
         
          Map<String, Object> model = new HashMap<String, Object>();
View Full Code Here

     * @see org.hoteia.qalingo.core.service.EmailService#buildAndSaveUserNewAccountMail(Localization localization, User user, String velocityPath, UserNewAccountConfirmationEmailBean userNewAccountConfirmationEmailBean)
     */
    public void buildAndSaveUserNewAccountMail(final RequestData requestData, final String velocityPath,
                                                   final UserNewAccountConfirmationEmailBean userNewAccountConfirmationEmailBean) throws Exception {
        try {
            final Localization localization = requestData.getMarketAreaLocalization();
            final Locale locale = localization.getLocale();
           
            // SANITY CHECK
            checkEmailAddresses(userNewAccountConfirmationEmailBean);
           
            Map<String, Object> model = new HashMap<String, Object>();
View Full Code Here

     * @see org.hoteia.qalingo.core.service.EmailService#buildAndSaveUserForgottenPasswordMail(Localization localization, User user, String velocityPath, UserForgottenPasswordEmailBean userForgottenPasswordEmailBean)
     */
    public void buildAndSaveUserForgottenPasswordMail(final RequestData requestData, final User user, final String velocityPath,
                                                          final UserForgottenPasswordEmailBean userForgottenPasswordEmailBean) throws Exception {
        try {
            final Localization localization = requestData.getMarketAreaLocalization();
            final Locale locale = localization.getLocale();
           
            // SANITY CHECK
            checkEmailAddresses(userForgottenPasswordEmailBean);
           
            Map<String, Object> model = new HashMap<String, Object>();
View Full Code Here

     * @see org.hoteia.qalingo.core.service.EmailService#buildAndSaveUserResetPasswordConfirmationMail(Localization localization, User user, String velocityPath, UserResetPasswordConfirmationEmailBean userResetPasswordConfirmationEmailBean)
     */
    public void buildAndSaveUserResetPasswordConfirmationMail(final RequestData requestData, final User user, final String velocityPath,
                                                                  final UserResetPasswordConfirmationEmailBean userResetPasswordConfirmationEmailBean) throws Exception {
        try {
            final Localization localization = requestData.getMarketAreaLocalization();
            final Locale locale = localization.getLocale();
           
            // SANITY CHECK
            checkEmailAddresses(userResetPasswordConfirmationEmailBean);
           
            Map<String, Object> model = new HashMap<String, Object>();
View Full Code Here

     * @see org.hoteia.qalingo.core.service.EmailService#buildAndSaveNewOrderConfirmationMail(Localization localization, Customer customer, String velocityPath, OrderConfirmationEmailBean orderConfirmationEmailBean)
     */
    public void buildAndSaveNewOrderConfirmationMail(final RequestData requestData, final Customer customer, final String velocityPath,
                             final OrderConfirmationEmailBean orderConfirmationEmailBean) throws Exception {
        try {
          final Localization localization = requestData.getMarketAreaLocalization();
          final Locale locale = localization.getLocale();
         
          // SANITY CHECK
          checkEmailAddresses(orderConfirmationEmailBean);
         
          Map<String, Object> model = new HashMap<String, Object>();
View Full Code Here

     * @see org.hoteia.qalingo.core.service.EmailService#buildAndSaveOrderShippedConfirmationMail(Localization localization, Customer customer, String velocityPath, OrderSentConfirmationEmailBean orderSentConfirmationEmailBean)
     */
    public void buildAndSaveOrderShippedConfirmationMail(final RequestData requestData, final Customer customer, final String velocityPath,
                               final OrderSentConfirmationEmailBean orderSentConfirmationEmailBean) throws Exception {
        try {
          final Localization localization = requestData.getMarketAreaLocalization();
          final Locale locale = localization.getLocale();
         
          // SANITY CHECK
          checkEmailAddresses(orderSentConfirmationEmailBean);
         
          Map<String, Object> model = new HashMap<String, Object>();
View Full Code Here

     * @see org.hoteia.qalingo.core.service.EmailService#buildAndSaveOrderShippedConfirmationMail(Localization localization, Customer customer, String velocityPath, AbandonedShoppingCartEmailBean abandonedShoppingCartEmailBean)
     */
    public void buildAndSaveAbandonedShoppingCartMail(final RequestData requestData, final Customer customer, final String velocityPath,
                              final AbandonedShoppingCartEmailBean abandonedShoppingCartEmailBean) throws Exception {
        try {
          final Localization localization = requestData.getMarketAreaLocalization();
          final Locale locale = localization.getLocale();
         
          // SANITY CHECK
          checkEmailAddresses(abandonedShoppingCartEmailBean);
         
          Map<String, Object> model = new HashMap<String, Object>();
View Full Code Here

TOP

Related Classes of org.hoteia.qalingo.core.domain.Localization

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.