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 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
150 public com.liferay.portlet.expando.model.ExpandoRow fetchExpandoRow(
151 long rowId) throws com.liferay.portal.kernel.exception.SystemException;
152
153
161 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
162 public com.liferay.portlet.expando.model.ExpandoRow getExpandoRow(
163 long rowId)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException;
166
167 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
168 public com.liferay.portal.model.PersistedModel getPersistedModel(
169 java.io.Serializable primaryKeyObj)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException;
172
173
185 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
186 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getExpandoRows(
187 int start, int end)
188 throws com.liferay.portal.kernel.exception.SystemException;
189
190
196 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
197 public int getExpandoRowsCount()
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200
207 public com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
208 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
209 throws com.liferay.portal.kernel.exception.SystemException;
210
211
219 public com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
220 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
221 throws com.liferay.portal.kernel.exception.SystemException;
222
223
228 public java.lang.String getBeanIdentifier();
229
230
235 public void setBeanIdentifier(java.lang.String beanIdentifier);
236
237 public com.liferay.portlet.expando.model.ExpandoRow addRow(long tableId,
238 long classPK)
239 throws com.liferay.portal.kernel.exception.PortalException,
240 com.liferay.portal.kernel.exception.SystemException;
241
242 public void deleteRow(com.liferay.portlet.expando.model.ExpandoRow row)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public void deleteRow(long rowId)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException;
248
249 public void deleteRow(long tableId, long classPK)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException;
252
253 public void deleteRow(long companyId, long classNameId,
254 java.lang.String tableName, long classPK)
255 throws com.liferay.portal.kernel.exception.PortalException,
256 com.liferay.portal.kernel.exception.SystemException;
257
258 public void deleteRow(long companyId, java.lang.String className,
259 java.lang.String tableName, long classPK)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException;
262
263 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
264 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
265 long companyId, long classNameId, int start, int end)
266 throws com.liferay.portal.kernel.exception.SystemException;
267
268 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
270 long companyId, java.lang.String className, int start, int end)
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
274 public int getDefaultTableRowsCount(long companyId, long classNameId)
275 throws com.liferay.portal.kernel.exception.SystemException;
276
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public int getDefaultTableRowsCount(long companyId,
279 java.lang.String className)
280 throws com.liferay.portal.kernel.exception.SystemException;
281
282 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
283 public com.liferay.portlet.expando.model.ExpandoRow getRow(long rowId)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException;
286
287 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
288 public com.liferay.portlet.expando.model.ExpandoRow getRow(long tableId,
289 long classPK)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException;
292
293 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
294 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
295 long classNameId, java.lang.String tableName, long classPK)
296 throws com.liferay.portal.kernel.exception.SystemException;
297
298 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
300 java.lang.String className, java.lang.String tableName, long classPK)
301 throws com.liferay.portal.kernel.exception.SystemException;
302
303 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
304 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
305 long tableId, int start, int end)
306 throws com.liferay.portal.kernel.exception.SystemException;
307
308 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
309 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
310 long companyId, long classNameId, java.lang.String tableName,
311 int start, int end)
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 companyId, java.lang.String className, java.lang.String tableName,
317 int start, int end)
318 throws com.liferay.portal.kernel.exception.SystemException;
319
320
323 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
324 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
325 java.lang.String className, java.lang.String tableName, int start,
326 int end) throws com.liferay.portal.kernel.exception.SystemException;
327
328 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
329 public int getRowsCount(long tableId)
330 throws com.liferay.portal.kernel.exception.SystemException;
331
332 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
333 public int getRowsCount(long companyId, long classNameId,
334 java.lang.String tableName)
335 throws com.liferay.portal.kernel.exception.SystemException;
336
337 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
338 public int getRowsCount(long companyId, java.lang.String className,
339 java.lang.String tableName)
340 throws com.liferay.portal.kernel.exception.SystemException;
341
342
345 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
346 public int getRowsCount(java.lang.String className,
347 java.lang.String tableName)
348 throws com.liferay.portal.kernel.exception.SystemException;
349 }