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.PersistedModelLocalService;
023
024
037 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
038 PortalException.class, SystemException.class})
039 public interface ExpandoRowLocalService extends PersistedModelLocalService {
040
045
046
053 public com.liferay.portlet.expando.model.ExpandoRow addExpandoRow(
054 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057
063 public com.liferay.portlet.expando.model.ExpandoRow createExpandoRow(
064 long rowId);
065
066
073 public void deleteExpandoRow(long rowId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException;
076
077
083 public void deleteExpandoRow(
084 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
085 throws com.liferay.portal.kernel.exception.SystemException;
086
087
094 @SuppressWarnings("rawtypes")
095 public java.util.List dynamicQuery(
096 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099
112 @SuppressWarnings("rawtypes")
113 public java.util.List dynamicQuery(
114 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
115 int end) throws com.liferay.portal.kernel.exception.SystemException;
116
117
131 @SuppressWarnings("rawtypes")
132 public java.util.List dynamicQuery(
133 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
134 int end,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138
145 public long dynamicQueryCount(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149
157 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
158 public com.liferay.portlet.expando.model.ExpandoRow getExpandoRow(
159 long rowId)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException;
162
163 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
164 public com.liferay.portal.model.PersistedModel getPersistedModel(
165 java.io.Serializable primaryKeyObj)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException;
168
169
181 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
182 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getExpandoRows(
183 int start, int end)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186
192 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
193 public int getExpandoRowsCount()
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196
203 public com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
204 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207
215 public com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
216 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
217 throws com.liferay.portal.kernel.exception.SystemException;
218
219
224 public java.lang.String getBeanIdentifier();
225
226
231 public void setBeanIdentifier(java.lang.String beanIdentifier);
232
233 public com.liferay.portlet.expando.model.ExpandoRow addRow(long tableId,
234 long classPK)
235 throws com.liferay.portal.kernel.exception.PortalException,
236 com.liferay.portal.kernel.exception.SystemException;
237
238 public void deleteRow(com.liferay.portlet.expando.model.ExpandoRow row)
239 throws com.liferay.portal.kernel.exception.SystemException;
240
241 public void deleteRow(long rowId)
242 throws com.liferay.portal.kernel.exception.PortalException,
243 com.liferay.portal.kernel.exception.SystemException;
244
245 public void deleteRow(long tableId, long classPK)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException;
248
249 public void deleteRow(long companyId, long classNameId,
250 java.lang.String tableName, long classPK)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException;
253
254 public void deleteRow(long companyId, java.lang.String className,
255 java.lang.String tableName, long classPK)
256 throws com.liferay.portal.kernel.exception.PortalException,
257 com.liferay.portal.kernel.exception.SystemException;
258
259 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
260 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
261 long companyId, long classNameId, int start, int end)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
265 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
266 long companyId, java.lang.String className, int start, int end)
267 throws com.liferay.portal.kernel.exception.SystemException;
268
269 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
270 public int getDefaultTableRowsCount(long companyId, long classNameId)
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
274 public int getDefaultTableRowsCount(long companyId,
275 java.lang.String className)
276 throws com.liferay.portal.kernel.exception.SystemException;
277
278 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
279 public com.liferay.portlet.expando.model.ExpandoRow getRow(long rowId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException;
282
283 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
284 public com.liferay.portlet.expando.model.ExpandoRow getRow(long tableId,
285 long classPK)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException;
288
289 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
290 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
291 long classNameId, java.lang.String tableName, long classPK)
292 throws com.liferay.portal.kernel.exception.SystemException;
293
294 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
295 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
296 java.lang.String className, java.lang.String tableName, long classPK)
297 throws com.liferay.portal.kernel.exception.SystemException;
298
299 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
300 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
301 long tableId, int start, int end)
302 throws com.liferay.portal.kernel.exception.SystemException;
303
304 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
305 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
306 long companyId, long classNameId, java.lang.String tableName,
307 int start, int end)
308 throws com.liferay.portal.kernel.exception.SystemException;
309
310 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
311 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
312 long companyId, java.lang.String className, java.lang.String tableName,
313 int start, int end)
314 throws com.liferay.portal.kernel.exception.SystemException;
315
316
319 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
320 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
321 java.lang.String className, java.lang.String tableName, int start,
322 int end) throws com.liferay.portal.kernel.exception.SystemException;
323
324 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
325 public int getRowsCount(long tableId)
326 throws com.liferay.portal.kernel.exception.SystemException;
327
328 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
329 public int getRowsCount(long companyId, long classNameId,
330 java.lang.String tableName)
331 throws com.liferay.portal.kernel.exception.SystemException;
332
333 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
334 public int getRowsCount(long companyId, java.lang.String className,
335 java.lang.String tableName)
336 throws com.liferay.portal.kernel.exception.SystemException;
337
338
341 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
342 public int getRowsCount(java.lang.String className,
343 java.lang.String tableName)
344 throws com.liferay.portal.kernel.exception.SystemException;
345 }