1
22
23 package com.liferay.portlet.shopping.service;
24
25
26
53 public class ShoppingItemFieldLocalServiceUtil {
54 public static com.liferay.portlet.shopping.model.ShoppingItemField addShoppingItemField(
55 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
56 throws com.liferay.portal.SystemException {
57 ShoppingItemFieldLocalService shoppingItemFieldLocalService = ShoppingItemFieldLocalServiceFactory.getService();
58
59 return shoppingItemFieldLocalService.addShoppingItemField(shoppingItemField);
60 }
61
62 public static void deleteShoppingItemField(long itemFieldId)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException {
65 ShoppingItemFieldLocalService shoppingItemFieldLocalService = ShoppingItemFieldLocalServiceFactory.getService();
66
67 shoppingItemFieldLocalService.deleteShoppingItemField(itemFieldId);
68 }
69
70 public static void deleteShoppingItemField(
71 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
72 throws com.liferay.portal.SystemException {
73 ShoppingItemFieldLocalService shoppingItemFieldLocalService = ShoppingItemFieldLocalServiceFactory.getService();
74
75 shoppingItemFieldLocalService.deleteShoppingItemField(shoppingItemField);
76 }
77
78 public static java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
80 throws com.liferay.portal.SystemException {
81 ShoppingItemFieldLocalService shoppingItemFieldLocalService = ShoppingItemFieldLocalServiceFactory.getService();
82
83 return shoppingItemFieldLocalService.dynamicQuery(dynamicQuery);
84 }
85
86 public static java.util.List<Object> dynamicQuery(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
88 int end) throws com.liferay.portal.SystemException {
89 ShoppingItemFieldLocalService shoppingItemFieldLocalService = ShoppingItemFieldLocalServiceFactory.getService();
90
91 return shoppingItemFieldLocalService.dynamicQuery(dynamicQuery, start,
92 end);
93 }
94
95 public static com.liferay.portlet.shopping.model.ShoppingItemField getShoppingItemField(
96 long itemFieldId)
97 throws com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException {
99 ShoppingItemFieldLocalService shoppingItemFieldLocalService = ShoppingItemFieldLocalServiceFactory.getService();
100
101 return shoppingItemFieldLocalService.getShoppingItemField(itemFieldId);
102 }
103
104 public static com.liferay.portlet.shopping.model.ShoppingItemField updateShoppingItemField(
105 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
106 throws com.liferay.portal.SystemException {
107 ShoppingItemFieldLocalService shoppingItemFieldLocalService = ShoppingItemFieldLocalServiceFactory.getService();
108
109 return shoppingItemFieldLocalService.updateShoppingItemField(shoppingItemField);
110 }
111
112 public static java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> getItemFields(
113 long itemId) throws com.liferay.portal.SystemException {
114 ShoppingItemFieldLocalService shoppingItemFieldLocalService = ShoppingItemFieldLocalServiceFactory.getService();
115
116 return shoppingItemFieldLocalService.getItemFields(itemId);
117 }
118 }