1
14
15 package com.liferay.portlet.shopping.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class ShoppingItemFieldLocalServiceUtil {
40 public static com.liferay.portlet.shopping.model.ShoppingItemField addShoppingItemField(
41 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return getService().addShoppingItemField(shoppingItemField);
44 }
45
46 public static com.liferay.portlet.shopping.model.ShoppingItemField createShoppingItemField(
47 long itemFieldId) {
48 return getService().createShoppingItemField(itemFieldId);
49 }
50
51 public static void deleteShoppingItemField(long itemFieldId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 getService().deleteShoppingItemField(itemFieldId);
55 }
56
57 public static void deleteShoppingItemField(
58 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 getService().deleteShoppingItemField(shoppingItemField);
61 }
62
63 public static java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return getService().dynamicQuery(dynamicQuery);
67 }
68
69 public static java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return getService().dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public static com.liferay.portlet.shopping.model.ShoppingItemField getShoppingItemField(
76 long itemFieldId)
77 throws com.liferay.portal.kernel.exception.PortalException,
78 com.liferay.portal.kernel.exception.SystemException {
79 return getService().getShoppingItemField(itemFieldId);
80 }
81
82 public static java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> getShoppingItemFields(
83 int start, int end)
84 throws com.liferay.portal.kernel.exception.SystemException {
85 return getService().getShoppingItemFields(start, end);
86 }
87
88 public static int getShoppingItemFieldsCount()
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return getService().getShoppingItemFieldsCount();
91 }
92
93 public static com.liferay.portlet.shopping.model.ShoppingItemField updateShoppingItemField(
94 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
95 throws com.liferay.portal.kernel.exception.SystemException {
96 return getService().updateShoppingItemField(shoppingItemField);
97 }
98
99 public static com.liferay.portlet.shopping.model.ShoppingItemField updateShoppingItemField(
100 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField,
101 boolean merge)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return getService().updateShoppingItemField(shoppingItemField, merge);
104 }
105
106 public static java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> getItemFields(
107 long itemId) throws com.liferay.portal.kernel.exception.SystemException {
108 return getService().getItemFields(itemId);
109 }
110
111 public static ShoppingItemFieldLocalService getService() {
112 if (_service == null) {
113 _service = (ShoppingItemFieldLocalService)PortalBeanLocatorUtil.locate(ShoppingItemFieldLocalService.class.getName());
114 }
115
116 return _service;
117 }
118
119 public void setService(ShoppingItemFieldLocalService service) {
120 _service = service;
121 }
122
123 private static ShoppingItemFieldLocalService _service;
124 }