1
22
23 package com.liferay.portlet.shopping.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.shopping.model.ShoppingItemPrice;
28
29
42 public interface ShoppingItemPricePersistence extends BasePersistence<ShoppingItemPrice> {
43 public void cacheResult(
44 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> shoppingItemPrices);
48
49 public com.liferay.portlet.shopping.model.ShoppingItemPrice create(
50 long itemPriceId);
51
52 public com.liferay.portlet.shopping.model.ShoppingItemPrice remove(
53 long itemPriceId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.shopping.NoSuchItemPriceException;
56
57
60 public com.liferay.portlet.shopping.model.ShoppingItemPrice update(
61 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.shopping.model.ShoppingItemPrice updateImpl(
65 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByPrimaryKey(
69 long itemPriceId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.shopping.NoSuchItemPriceException;
72
73 public com.liferay.portlet.shopping.model.ShoppingItemPrice fetchByPrimaryKey(
74 long itemPriceId) throws com.liferay.portal.SystemException;
75
76 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
77 long itemId) throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
80 long itemId, int start, int end)
81 throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
84 long itemId, int start, int end,
85 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_First(
89 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.shopping.NoSuchItemPriceException;
92
93 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_Last(
94 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.shopping.NoSuchItemPriceException;
97
98 public com.liferay.portlet.shopping.model.ShoppingItemPrice[] findByItemId_PrevAndNext(
99 long itemPriceId, long itemId,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.shopping.NoSuchItemPriceException;
103
104 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll()
105 throws com.liferay.portal.SystemException;
106
107 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll(
108 int start, int end) throws com.liferay.portal.SystemException;
109
110 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll(
111 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException;
113
114 public void removeByItemId(long itemId)
115 throws com.liferay.portal.SystemException;
116
117 public void removeAll() throws com.liferay.portal.SystemException;
118
119 public int countByItemId(long itemId)
120 throws com.liferay.portal.SystemException;
121
122 public int countAll() throws com.liferay.portal.SystemException;
123 }