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.SystemException,
47 com.liferay.portlet.shopping.NoSuchItemPriceException;
48
49
52 public com.liferay.portlet.shopping.model.ShoppingItemPrice update(
53 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.shopping.model.ShoppingItemPrice updateImpl(
57 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByPrimaryKey(
61 long itemPriceId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.shopping.NoSuchItemPriceException;
64
65 public com.liferay.portlet.shopping.model.ShoppingItemPrice fetchByPrimaryKey(
66 long itemPriceId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
69 long itemId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
72 long itemId, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
76 long itemId, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_First(
81 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portlet.shopping.NoSuchItemPriceException;
84
85 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_Last(
86 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.shopping.NoSuchItemPriceException;
89
90 public com.liferay.portlet.shopping.model.ShoppingItemPrice[] findByItemId_PrevAndNext(
91 long itemPriceId, long itemId,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.shopping.NoSuchItemPriceException;
95
96 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll()
97 throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll(
100 int start, int end) throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll(
103 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException;
105
106 public void removeByItemId(long itemId)
107 throws com.liferay.portal.SystemException;
108
109 public void removeAll() throws com.liferay.portal.SystemException;
110
111 public int countByItemId(long itemId)
112 throws com.liferay.portal.SystemException;
113
114 public int countAll() throws com.liferay.portal.SystemException;
115 }