1
22
23 package com.liferay.portlet.expando.service;
24
25
26
53 public class ExpandoValueLocalServiceUtil {
54 public static com.liferay.portlet.expando.model.ExpandoValue addExpandoValue(
55 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
56 throws com.liferay.portal.SystemException {
57 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
58
59 return expandoValueLocalService.addExpandoValue(expandoValue);
60 }
61
62 public static void deleteExpandoValue(long valueId)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException {
65 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
66
67 expandoValueLocalService.deleteExpandoValue(valueId);
68 }
69
70 public static void deleteExpandoValue(
71 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
72 throws com.liferay.portal.PortalException,
73 com.liferay.portal.SystemException {
74 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
75
76 expandoValueLocalService.deleteExpandoValue(expandoValue);
77 }
78
79 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> dynamicQuery(
80 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
81 throws com.liferay.portal.SystemException {
82 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
83
84 return expandoValueLocalService.dynamicQuery(queryInitializer);
85 }
86
87 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> dynamicQuery(
88 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
89 int begin, int end) throws com.liferay.portal.SystemException {
90 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
91
92 return expandoValueLocalService.dynamicQuery(queryInitializer, begin,
93 end);
94 }
95
96 public static com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
97 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
98 throws com.liferay.portal.SystemException {
99 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
100
101 return expandoValueLocalService.updateExpandoValue(expandoValue);
102 }
103
104 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
105 long columnId, long rowId, long classPK, java.lang.String data)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException {
108 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
109
110 return expandoValueLocalService.addValue(columnId, rowId, classPK, data);
111 }
112
113 public static void deleteColumnValues(long columnId)
114 throws com.liferay.portal.SystemException {
115 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
116
117 expandoValueLocalService.deleteColumnValues(columnId);
118 }
119
120 public static void deleteRowValues(long rowId)
121 throws com.liferay.portal.SystemException {
122 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
123
124 expandoValueLocalService.deleteRowValues(rowId);
125 }
126
127 public static void deleteTableValues(long tableId)
128 throws com.liferay.portal.SystemException {
129 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
130
131 expandoValueLocalService.deleteTableValues(tableId);
132 }
133
134 public static void deleteValue(long valueId)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
138
139 expandoValueLocalService.deleteValue(valueId);
140 }
141
142 public static void deleteValues(java.lang.String className, long classPK)
143 throws com.liferay.portal.PortalException,
144 com.liferay.portal.SystemException {
145 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
146
147 expandoValueLocalService.deleteValues(className, classPK);
148 }
149
150 public static void deleteValues(long classNameId, long classPK)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException {
153 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
154
155 expandoValueLocalService.deleteValues(classNameId, classPK);
156 }
157
158 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
159 long columnId, int begin, int end)
160 throws com.liferay.portal.SystemException {
161 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
162
163 return expandoValueLocalService.getColumnValues(columnId, begin, end);
164 }
165
166 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
167 java.lang.String className, java.lang.String tableName,
168 java.lang.String columnName, int begin, int end)
169 throws com.liferay.portal.SystemException {
170 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
171
172 return expandoValueLocalService.getColumnValues(className, tableName,
173 columnName, begin, end);
174 }
175
176 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
177 long classNameId, java.lang.String tableName,
178 java.lang.String columnName, int begin, int end)
179 throws com.liferay.portal.SystemException {
180 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
181
182 return expandoValueLocalService.getColumnValues(classNameId, tableName,
183 columnName, begin, end);
184 }
185
186 public static int getColumnValuesCount(long columnId)
187 throws com.liferay.portal.SystemException {
188 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
189
190 return expandoValueLocalService.getColumnValuesCount(columnId);
191 }
192
193 public static int getColumnValuesCount(java.lang.String className,
194 java.lang.String tableName, java.lang.String columnName)
195 throws com.liferay.portal.SystemException {
196 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
197
198 return expandoValueLocalService.getColumnValuesCount(className,
199 tableName, columnName);
200 }
201
202 public static int getColumnValuesCount(long classNameId,
203 java.lang.String tableName, java.lang.String columnName)
204 throws com.liferay.portal.SystemException {
205 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
206
207 return expandoValueLocalService.getColumnValuesCount(classNameId,
208 tableName, columnName);
209 }
210
211 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
212 java.lang.String className, java.lang.String columnName, int begin,
213 int end) throws com.liferay.portal.SystemException {
214 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
215
216 return expandoValueLocalService.getDefaultTableColumnValues(className,
217 columnName, begin, end);
218 }
219
220 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
221 long classNameId, java.lang.String columnName, int begin, int end)
222 throws com.liferay.portal.SystemException {
223 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
224
225 return expandoValueLocalService.getDefaultTableColumnValues(classNameId,
226 columnName, begin, end);
227 }
228
229 public static int getDefaultTableColumnValuesCount(
230 java.lang.String className, java.lang.String columnName)
231 throws com.liferay.portal.SystemException {
232 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
233
234 return expandoValueLocalService.getDefaultTableColumnValuesCount(className,
235 columnName);
236 }
237
238 public static int getDefaultTableColumnValuesCount(long classNameId,
239 java.lang.String columnName) throws com.liferay.portal.SystemException {
240 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
241
242 return expandoValueLocalService.getDefaultTableColumnValuesCount(classNameId,
243 columnName);
244 }
245
246 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
247 long rowId) throws com.liferay.portal.SystemException {
248 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
249
250 return expandoValueLocalService.getRowValues(rowId);
251 }
252
253 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
254 long rowId, int begin, int end)
255 throws com.liferay.portal.SystemException {
256 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
257
258 return expandoValueLocalService.getRowValues(rowId, begin, end);
259 }
260
261 public static int getRowValuesCount(long rowId)
262 throws com.liferay.portal.SystemException {
263 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
264
265 return expandoValueLocalService.getRowValuesCount(rowId);
266 }
267
268 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
269 long valueId)
270 throws com.liferay.portal.PortalException,
271 com.liferay.portal.SystemException {
272 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
273
274 return expandoValueLocalService.getValue(valueId);
275 }
276
277 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
278 long columnId, long rowId)
279 throws com.liferay.portal.PortalException,
280 com.liferay.portal.SystemException {
281 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
282
283 return expandoValueLocalService.getValue(columnId, rowId);
284 }
285
286 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
287 java.lang.String className, java.lang.String tableName,
288 java.lang.String name, long rowId)
289 throws com.liferay.portal.PortalException,
290 com.liferay.portal.SystemException {
291 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
292
293 return expandoValueLocalService.getValue(className, tableName, name,
294 rowId);
295 }
296
297 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
298 long classNameId, java.lang.String tableName, java.lang.String name,
299 long rowId)
300 throws com.liferay.portal.PortalException,
301 com.liferay.portal.SystemException {
302 ExpandoValueLocalService expandoValueLocalService = ExpandoValueLocalServiceFactory.getService();
303
304 return expandoValueLocalService.getValue(classNameId, tableName, name,
305 rowId);
306 }
307 }