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 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> getItemFields(
104 long itemId) throws com.liferay.portal.SystemException {
105 return getService().getItemFields(itemId);
106 }
107
108 public static ShoppingItemFieldLocalService getService() {
109 if (_service == null) {
110 throw new RuntimeException(
111 "ShoppingItemFieldLocalService is not set");
112 }
113
114 return _service;
115 }
116
117 public void setService(ShoppingItemFieldLocalService service) {
118 _service = service;
119 }
120
121 private static ShoppingItemFieldLocalService _service;
122 }