Package com.gwcworld.core.bean

Examples of com.gwcworld.core.bean.Customer


    String email = request.getParameter("email");
    int mqRequested = WebUtil.parameter2int(request.getParameter("mqRequested"));
    boolean changeRequest = WebUtil.parameter2boolean(request.getParameter("changeRequest"));
    String token3rdParty = request.getParameter("token");
   
    Customer customer = customerService.getCustomerByToken(token3rdParty);
   
    int result = 0;
   
    if(customer!=null){
      Exhibitor exhibitor = exhibitorService.getExhibitorsByCustomerAndExactName(customer, name);
View Full Code Here


    ModelAndView mav = new ModelAndView(Constants.USERS_LIST);
   
    int customerId = WebUtil.parameter2int(request.getParameter("customerId"));
    String name = request.getParameter("name");
   
    Customer customer = customerService.getById(customerId);
   
    if(customer!=null){
      List<User> users = null;
     
      if(name==null || name.length()>1)
View Full Code Here

        logger.debug("3");
        String userEnabled = request.getParameter("userEnabled");
        int customerId = WebUtil.parameter2int(request.getParameter("customerId"));
        int groupId = WebUtil.parameter2int(request.getParameter("groupId"));
       
        Customer customer = customerService.getById(customerId);
        UserGroup userGroup = userGroupService.getById(groupId);
       
        boolean result = true;
       
        if(userId!=0 && userView!=null){
View Full Code Here

   
    if(formrequest.getItem("customerId")!=null){
     
      int customerId = WebUtil.parameter2int(formrequest.getItem("customerId").getValue());
     
      Customer customer = customerService.getById(customerId);
      if(customer!=null){
       
        FormRequestItem imgFile = formrequest.getItem("img")!=null?formrequest.getItem("img"):null;
        String newFilename = "";
        try{
          newFilename = FileResources.saveFile(formrequest, imgFile, fileUploadImgPath+customer.getId()+"/");
        }
        catch(Exception e){
          logger.error(e.getMessage());
          uploadResult.setResult(0);
        }
View Full Code Here

    ModelAndView mav = new ModelAndView(Constants.EXHIBITORS_LIST);
   
    int customerId = WebUtil.parameter2int(request.getParameter("customerId"));
    String name = request.getParameter("name");
   
    Customer customer = customerService.getById(customerId);
   
    if(customer!=null){
      List<Exhibitor> exhibitors = null;
     
      if(name==null || name.length()>1)
View Full Code Here

    logger.debug("N. projects: "+projectList.size());
    assertNotNull(projectList);
  }
 
  public void testFindByCustomer(){
    Customer customer = customerService.getById(1);
    List<Project> projectList = service.getProjectsByCustomer(customer);
    logger.debug("N. projects by customer: "+projectList.size());
    assertNotNull(projectList);
  }
View Full Code Here

  public void testCustomerService(){
    assertNotNull(service);
  }
 
  public void testFindById(){
    Customer customer = service.getById(1);
    logger.debug(customer.getName());
    assertNotNull(customer);
  }
View Full Code Here

TOP

Related Classes of com.gwcworld.core.bean.Customer

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.