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