001
014
015 package com.liferay.portlet.expando.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.transaction.Isolation;
020 import com.liferay.portal.kernel.transaction.Propagation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022 import com.liferay.portal.service.BaseLocalService;
023 import com.liferay.portal.service.PersistedModelLocalService;
024
025
037 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
038 PortalException.class, SystemException.class})
039 public interface ExpandoRowLocalService extends BaseLocalService,
040 PersistedModelLocalService {
041
046
047
054 public com.liferay.portlet.expando.model.ExpandoRow addExpandoRow(
055 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058
064 public com.liferay.portlet.expando.model.ExpandoRow createExpandoRow(
065 long rowId);
066
067
075 public com.liferay.portlet.expando.model.ExpandoRow deleteExpandoRow(
076 long rowId)
077 throws com.liferay.portal.kernel.exception.PortalException,
078 com.liferay.portal.kernel.exception.SystemException;
079
080
087 public com.liferay.portlet.expando.model.ExpandoRow deleteExpandoRow(
088 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
089 throws com.liferay.portal.kernel.exception.SystemException;
090
091 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
092
093
100 @SuppressWarnings("rawtypes")
101 public java.util.List dynamicQuery(
102 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException;
122
123
137 @SuppressWarnings("rawtypes")
138 public java.util.List dynamicQuery(
139 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
140 int end,
141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144
151 public long dynamicQueryCount(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155
163 public long dynamicQueryCount(
164 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
165 com.liferay.portal.kernel.dao.orm.Projection projection)
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
169 public com.liferay.portlet.expando.model.ExpandoRow fetchExpandoRow(
170 long rowId) throws com.liferay.portal.kernel.exception.SystemException;
171
172
180 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
181 public com.liferay.portlet.expando.model.ExpandoRow getExpandoRow(
182 long rowId)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException;
185
186 @Override
187 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
188 public com.liferay.portal.model.PersistedModel getPersistedModel(
189 java.io.Serializable primaryKeyObj)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException;
192
193
205 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
206 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getExpandoRows(
207 int start, int end)
208 throws com.liferay.portal.kernel.exception.SystemException;
209
210
216 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
217 public int getExpandoRowsCount()
218 throws com.liferay.portal.kernel.exception.SystemException;
219
220
227 public com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
228 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
229 throws com.liferay.portal.kernel.exception.SystemException;
230
231
236 public java.lang.String getBeanIdentifier();
237
238
243 public void setBeanIdentifier(java.lang.String beanIdentifier);
244
245 public com.liferay.portlet.expando.model.ExpandoRow addRow(long tableId,
246 long classPK)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException;
249
250 public void deleteRow(com.liferay.portlet.expando.model.ExpandoRow row)
251 throws com.liferay.portal.kernel.exception.SystemException;
252
253 public void deleteRow(long rowId)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException;
256
257 public void deleteRow(long tableId, long classPK)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException;
260
261 public void deleteRow(long companyId, long classNameId,
262 java.lang.String tableName, long classPK)
263 throws com.liferay.portal.kernel.exception.PortalException,
264 com.liferay.portal.kernel.exception.SystemException;
265
266 public void deleteRow(long companyId, java.lang.String className,
267 java.lang.String tableName, long classPK)
268 throws com.liferay.portal.kernel.exception.PortalException,
269 com.liferay.portal.kernel.exception.SystemException;
270
271 public void deleteRows(long classPK)
272 throws com.liferay.portal.kernel.exception.SystemException;
273
274 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
275 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
276 long companyId, long classNameId, int start, int end)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
280 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
281 long companyId, java.lang.String className, int start, int end)
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
285 public int getDefaultTableRowsCount(long companyId, long classNameId)
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289 public int getDefaultTableRowsCount(long companyId,
290 java.lang.String className)
291 throws com.liferay.portal.kernel.exception.SystemException;
292
293 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
294 public com.liferay.portlet.expando.model.ExpandoRow getRow(long rowId)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException;
297
298 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299 public com.liferay.portlet.expando.model.ExpandoRow getRow(long tableId,
300 long classPK)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException;
303
304 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
305 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
306 long classNameId, java.lang.String tableName, long classPK)
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
310 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
311 java.lang.String className, java.lang.String tableName, long classPK)
312 throws com.liferay.portal.kernel.exception.SystemException;
313
314 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
315 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
316 long tableId, int start, int end)
317 throws com.liferay.portal.kernel.exception.SystemException;
318
319 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
320 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
321 long companyId, long classNameId, java.lang.String tableName,
322 int start, int end)
323 throws com.liferay.portal.kernel.exception.SystemException;
324
325 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
326 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
327 long companyId, java.lang.String className, java.lang.String tableName,
328 int start, int end)
329 throws com.liferay.portal.kernel.exception.SystemException;
330
331
335 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
337 java.lang.String className, java.lang.String tableName, int start,
338 int end) throws com.liferay.portal.kernel.exception.SystemException;
339
340 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
341 public int getRowsCount(long tableId)
342 throws com.liferay.portal.kernel.exception.SystemException;
343
344 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
345 public int getRowsCount(long companyId, long classNameId,
346 java.lang.String tableName)
347 throws com.liferay.portal.kernel.exception.SystemException;
348
349 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
350 public int getRowsCount(long companyId, java.lang.String className,
351 java.lang.String tableName)
352 throws com.liferay.portal.kernel.exception.SystemException;
353
354
358 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
359 public int getRowsCount(java.lang.String className,
360 java.lang.String tableName)
361 throws com.liferay.portal.kernel.exception.SystemException;
362 }