• R/O
  • SSH
  • HTTPS

pal: Commit


Commit MetaInfo

Revision470 (tree)
Zeit2007-08-24 14:19:05
Autortakeharu

Log Message

added Checkout function

Ändern Zusammenfassung

Diff

--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/service/impl/CheckoutEditServiceImpl.java (nonexistent)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/service/impl/CheckoutEditServiceImpl.java (revision 470)
@@ -0,0 +1,13 @@
1+package jp.sf.pal.pompei.web.user.checkout.service.impl;
2+
3+import jp.sf.pal.pompei.web.user.cart.Cart;
4+import jp.sf.pal.pompei.web.user.checkout.service.CheckoutEditService;
5+
6+public class CheckoutEditServiceImpl implements CheckoutEditService {
7+
8+ public Cart createSampleCart() {
9+
10+ return null;
11+ }
12+
13+}
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/service/CheckoutEditService.java (nonexistent)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/service/CheckoutEditService.java (revision 470)
@@ -0,0 +1,9 @@
1+package jp.sf.pal.pompei.web.user.checkout.service;
2+
3+import jp.sf.pal.pompei.web.user.cart.Cart;
4+
5+public interface CheckoutEditService {
6+
7+ Cart createSampleCart();
8+
9+}
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/CheckoutEditAction.java (revision 469)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/CheckoutEditAction.java (revision 470)
@@ -1,5 +1,7 @@
11 package jp.sf.pal.pompei.web.user.checkout;
22
3+import jp.sf.pal.pompei.web.user.checkout.service.CheckoutEditService;
4+
35 public class CheckoutEditAction {
46
57 /**
@@ -8,6 +10,11 @@
810 private CheckoutEditPage checkoutEditPage;
911
1012 /**
13+ *
14+ */
15+ private CheckoutEditService checkoutEditService;
16+
17+ /**
1118 * @return checkoutEditPage
1219 */
1320 public CheckoutEditPage getCheckoutEditPage() {
@@ -21,4 +28,18 @@
2128 this.checkoutEditPage = checkoutEditPage;
2229 }
2330
31+ /**
32+ * @return checkoutEditService
33+ */
34+ public CheckoutEditService getCheckoutEditService() {
35+ return checkoutEditService;
36+ }
37+
38+ /**
39+ * @param checkoutEditService 設定する checkoutEditService
40+ */
41+ public void setCheckoutEditService(CheckoutEditService checkoutEditService) {
42+ this.checkoutEditService = checkoutEditService;
43+ }
44+
2445 }
Show on old repository browser