1 package com.dotmarketing.cms.product.struts; 2 3 import java.util.List ; 4 5 import org.apache.struts.action.ActionForm; 6 7 import com.dotmarketing.portlets.categories.model.Category; 8 import com.dotmarketing.portlets.product.model.Product; 9 10 public class ProductsForm extends ActionForm 11 { 12 private static final long serialVersionUID = 1L; 13 private int categoryInode; 15 private String categoryName; 16 private String orderBy; 17 private int page; 18 private int pageSize; 19 private String direction; 20 private String filter; 21 private long inode; 22 23 private List <Product> listProducts; 25 private List <Category> listTypeProducts; 26 27 public int getCategoryInode() { 28 return categoryInode; 29 } 30 31 public void setCategoryInode(int categoryInode) { 32 this.categoryInode = categoryInode; 33 } 34 35 public String getDirection() { 36 return direction; 37 } 38 39 public void setDirection(String direction) { 40 this.direction = direction; 41 } 42 43 public String getFilter() { 44 return filter; 45 } 46 47 public void setFilter(String filter) { 48 this.filter = filter; 49 } 50 51 public List <Product> getListProducts() { 52 return listProducts; 53 } 54 55 public void setListProducts(List <Product> listProducts) { 56 this.listProducts = listProducts; 57 } 58 59 public String getOrderBy() { 60 return orderBy; 61 } 62 63 public void setOrderBy(String orderBy) { 64 this.orderBy = orderBy; 65 } 66 67 public int getPage() { 68 return page; 69 } 70 71 public void setPage(int page) { 72 this.page = page; 73 } 74 75 public int getPageSize() { 76 return pageSize; 77 } 78 79 public void setPageSize(int pageSize) { 80 this.pageSize = pageSize; 81 } 82 83 public List <Category> getListTypeProducts() { 84 return listTypeProducts; 85 } 86 87 public void setListTypeProducts(List <Category> listTypeProducts) { 88 this.listTypeProducts = listTypeProducts; 89 } 90 91 public long getInode() { 92 return inode; 93 } 94 95 public void setInode(long inode) { 96 this.inode = inode; 97 } 98 99 102 public String getCategoryName() { 103 return categoryName; 104 } 105 106 109 public void setCategoryName(String categoryName) { 110 this.categoryName = categoryName; 111 } 112 113 114 115 } 116 | Popular Tags |