Package br.com.buyFast.model

Examples of br.com.buyFast.model.Category


  /**
   * Construtor padrão.
   */
  public ShopController() {
    this.product = new Product();
    this.product.setCategory(new Category());
    this.searchProduct = new Product();
    this.searchProduct.setCategory(new Category());
  }
View Full Code Here


  /**
   * Instancia um novo objeto category para cadastro em banco.
   * @return o caminho para o cadastro da categoria.
   */
  public String registerCategory() {
    this.category = new Category();
    return "adminRegisterCategory";
  }
View Full Code Here

      FacesUtil.mensErro("", FacesUtil.getMessage("adminRegisterCategoryError"));
      return null;
    }
    //Apresenta mensagem de sucesso na operação.
    FacesUtil.mensInfo("", FacesUtil.getMessage("SuccessInOperationMessage"));
    this.category = new Category();
   
    return null;
  }
View Full Code Here

   */
  public String registerProduct() {
    this.smallImageFileUpload = null;
    this.imageFileUpload = null;
    this.product = new Product();
    this.product.setCategory(new Category());
    return "registerProduct";
  }
View Full Code Here

TOP

Related Classes of br.com.buyFast.model.Category

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.