1
22
23 package com.liferay.portlet.shopping.service.persistence;
24
25
31 public class ShoppingItemFieldUtil {
32 public static com.liferay.portlet.shopping.model.ShoppingItemField create(
33 long itemFieldId) {
34 return getPersistence().create(itemFieldId);
35 }
36
37 public static com.liferay.portlet.shopping.model.ShoppingItemField remove(
38 long itemFieldId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.shopping.NoSuchItemFieldException {
41 return getPersistence().remove(itemFieldId);
42 }
43
44 public static com.liferay.portlet.shopping.model.ShoppingItemField remove(
45 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(shoppingItemField);
48 }
49
50 public static com.liferay.portlet.shopping.model.ShoppingItemField update(
51 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(shoppingItemField);
54 }
55
56 public static com.liferay.portlet.shopping.model.ShoppingItemField update(
57 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField,
58 boolean merge) throws com.liferay.portal.SystemException {
59 return getPersistence().update(shoppingItemField, merge);
60 }
61
62 public static com.liferay.portlet.shopping.model.ShoppingItemField updateImpl(
63 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField,
64 boolean merge) throws com.liferay.portal.SystemException {
65 return getPersistence().updateImpl(shoppingItemField, merge);
66 }
67
68 public static com.liferay.portlet.shopping.model.ShoppingItemField findByPrimaryKey(
69 long itemFieldId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.shopping.NoSuchItemFieldException {
72 return getPersistence().findByPrimaryKey(itemFieldId);
73 }
74
75 public static com.liferay.portlet.shopping.model.ShoppingItemField fetchByPrimaryKey(
76 long itemFieldId) throws com.liferay.portal.SystemException {
77 return getPersistence().fetchByPrimaryKey(itemFieldId);
78 }
79
80 public static java.util.List findByItemId(long itemId)
81 throws com.liferay.portal.SystemException {
82 return getPersistence().findByItemId(itemId);
83 }
84
85 public static java.util.List findByItemId(long itemId, int begin, int end)
86 throws com.liferay.portal.SystemException {
87 return getPersistence().findByItemId(itemId, begin, end);
88 }
89
90 public static java.util.List findByItemId(long itemId, int begin, int end,
91 com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.SystemException {
93 return getPersistence().findByItemId(itemId, begin, end, obc);
94 }
95
96 public static com.liferay.portlet.shopping.model.ShoppingItemField findByItemId_First(
97 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.shopping.NoSuchItemFieldException {
100 return getPersistence().findByItemId_First(itemId, obc);
101 }
102
103 public static com.liferay.portlet.shopping.model.ShoppingItemField findByItemId_Last(
104 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.shopping.NoSuchItemFieldException {
107 return getPersistence().findByItemId_Last(itemId, obc);
108 }
109
110 public static com.liferay.portlet.shopping.model.ShoppingItemField[] findByItemId_PrevAndNext(
111 long itemFieldId, long itemId,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.shopping.NoSuchItemFieldException {
115 return getPersistence().findByItemId_PrevAndNext(itemFieldId, itemId,
116 obc);
117 }
118
119 public static java.util.List findWithDynamicQuery(
120 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
121 throws com.liferay.portal.SystemException {
122 return getPersistence().findWithDynamicQuery(queryInitializer);
123 }
124
125 public static java.util.List findWithDynamicQuery(
126 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
127 int begin, int end) throws com.liferay.portal.SystemException {
128 return getPersistence().findWithDynamicQuery(queryInitializer, begin,
129 end);
130 }
131
132 public static java.util.List findAll()
133 throws com.liferay.portal.SystemException {
134 return getPersistence().findAll();
135 }
136
137 public static java.util.List findAll(int begin, int end)
138 throws com.liferay.portal.SystemException {
139 return getPersistence().findAll(begin, end);
140 }
141
142 public static java.util.List findAll(int begin, int end,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException {
145 return getPersistence().findAll(begin, end, obc);
146 }
147
148 public static void removeByItemId(long itemId)
149 throws com.liferay.portal.SystemException {
150 getPersistence().removeByItemId(itemId);
151 }
152
153 public static void removeAll() throws com.liferay.portal.SystemException {
154 getPersistence().removeAll();
155 }
156
157 public static int countByItemId(long itemId)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().countByItemId(itemId);
160 }
161
162 public static int countAll() throws com.liferay.portal.SystemException {
163 return getPersistence().countAll();
164 }
165
166 public static ShoppingItemFieldPersistence getPersistence() {
167 return _getUtil()._persistence;
168 }
169
170 public void setPersistence(ShoppingItemFieldPersistence persistence) {
171 _persistence = persistence;
172 }
173
174 private static ShoppingItemFieldUtil _getUtil() {
175 if (_util == null) {
176 _util = (ShoppingItemFieldUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
177 }
178
179 return _util;
180 }
181
182 private static final String _UTIL = ShoppingItemFieldUtil.class.getName();
183 private static ShoppingItemFieldUtil _util;
184 private ShoppingItemFieldPersistence _persistence;
185 }