• R/O
  • SSH
  • HTTPS

pal: Commit


Commit MetaInfo

Revision457 (tree)
Zeit2007-08-18 23:50:01
Autortakeharu

Log Message

added new source for cart page

Ändern Zusammenfassung

Diff

--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/cart/ProductListPage.java (nonexistent)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/cart/ProductListPage.java (revision 457)
@@ -0,0 +1,97 @@
1+package jp.sf.pal.pompei.web.user.cart;
2+
3+import java.util.List;
4+
5+public class ProductListPage {
6+
7+ private String itemCount;
8+
9+ private String manufacturersId;
10+
11+ private String productsIndex;
12+
13+ private List productsItems;
14+
15+ private String productsModel;
16+
17+ private String productsName;
18+
19+ private String productsPrice;
20+
21+ private String title;
22+
23+ private String totalPrice;
24+
25+ public String getItemCount() {
26+ return itemCount;
27+ }
28+
29+ public void setItemCount(String itemCount) {
30+ this.itemCount = itemCount;
31+ }
32+
33+ public String getManufacturersId() {
34+ return manufacturersId;
35+ }
36+
37+ public void setManufacturersId(String manufacturersId) {
38+ this.manufacturersId = manufacturersId;
39+ }
40+
41+ public String getProductsIndex() {
42+ return productsIndex;
43+ }
44+
45+ public void setProductsIndex(String productsIndex) {
46+ this.productsIndex = productsIndex;
47+ }
48+
49+ public List getProductsItems() {
50+ return productsItems;
51+ }
52+
53+ public void setProductsItems(List productsItems) {
54+ this.productsItems = productsItems;
55+ }
56+
57+ public String getProductsModel() {
58+ return productsModel;
59+ }
60+
61+ public void setProductsModel(String productsModel) {
62+ this.productsModel = productsModel;
63+ }
64+
65+ public String getProductsName() {
66+ return productsName;
67+ }
68+
69+ public void setProductsName(String productsName) {
70+ this.productsName = productsName;
71+ }
72+
73+ public String getProductsPrice() {
74+ return productsPrice;
75+ }
76+
77+ public void setProductsPrice(String productsPrice) {
78+ this.productsPrice = productsPrice;
79+ }
80+
81+ public String getTitle() {
82+ return title;
83+ }
84+
85+ public void setTitle(String title) {
86+ this.title = title;
87+ }
88+
89+ public String getTotalPrice() {
90+ return totalPrice;
91+ }
92+
93+ public void setTotalPrice(String totalPrice) {
94+ this.totalPrice = totalPrice;
95+ }
96+
97+}
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/cart/ProductListAction.java (nonexistent)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/cart/ProductListAction.java (revision 457)
@@ -0,0 +1,51 @@
1+package jp.sf.pal.pompei.web.user.cart;
2+
3+/**
4+ * カート画面でのアクション処理を記述します。
5+ * TODO セッション内のカート情報を表示
6+ * TODO 注文個数変更時の更新処理
7+ * @author takeharu
8+ *
9+ */
10+public class ProductListAction {
11+
12+ public Class initialize() {
13+ return null;
14+ }
15+
16+ public Class prerender() {
17+ return null;
18+ }
19+
20+ /**
21+ *
22+ */
23+ private ProductListPage productListPage;
24+
25+ public Class doAdd() {
26+ return null;
27+ }
28+
29+ /**
30+ * @return productListPage
31+ */
32+ public ProductListPage getProductListPage() {
33+ return productListPage;
34+ }
35+
36+ /**
37+ * @param productListPage 設定する productListPage
38+ */
39+ public void setProductListPage(ProductListPage productListPage) {
40+ this.productListPage = productListPage;
41+ }
42+
43+ public String doJumpProductList(){
44+ return "../product/productList";
45+ }
46+
47+ public String doJumpCheckoutEdit(){
48+ return "../checkout/checkoutEdit";
49+ }
50+
51+}
Show on old repository browser