1
14
15 package com.liferay.portlet.shopping.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.shopping.model.ShoppingItemPrice;
20
21
34 public interface ShoppingItemPricePersistence extends BasePersistence<ShoppingItemPrice> {
35 public void cacheResult(
36 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> shoppingItemPrices);
40
41 public com.liferay.portlet.shopping.model.ShoppingItemPrice create(
42 long itemPriceId);
43
44 public com.liferay.portlet.shopping.model.ShoppingItemPrice remove(
45 long itemPriceId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.shopping.NoSuchItemPriceException;
48
49 public com.liferay.portlet.shopping.model.ShoppingItemPrice updateImpl(
50 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByPrimaryKey(
55 long itemPriceId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.shopping.NoSuchItemPriceException;
58
59 public com.liferay.portlet.shopping.model.ShoppingItemPrice fetchByPrimaryKey(
60 long itemPriceId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
64 long itemId) throws com.liferay.portal.kernel.exception.SystemException;
65
66 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
67 long itemId, int start, int end)
68 throws com.liferay.portal.kernel.exception.SystemException;
69
70 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
71 long itemId, int start, int end,
72 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
73 throws com.liferay.portal.kernel.exception.SystemException;
74
75 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_First(
76 long itemId,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.kernel.exception.SystemException,
79 com.liferay.portlet.shopping.NoSuchItemPriceException;
80
81 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_Last(
82 long itemId,
83 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
84 throws com.liferay.portal.kernel.exception.SystemException,
85 com.liferay.portlet.shopping.NoSuchItemPriceException;
86
87 public com.liferay.portlet.shopping.model.ShoppingItemPrice[] findByItemId_PrevAndNext(
88 long itemPriceId, long itemId,
89 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
90 throws com.liferay.portal.kernel.exception.SystemException,
91 com.liferay.portlet.shopping.NoSuchItemPriceException;
92
93 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll()
94 throws com.liferay.portal.kernel.exception.SystemException;
95
96 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll(
97 int start, int end)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll(
101 int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public void removeByItemId(long itemId)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public void removeAll()
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public int countByItemId(long itemId)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public int countAll()
115 throws com.liferay.portal.kernel.exception.SystemException;
116 }