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 ExpandoTableLocalService extends PersistedModelLocalService {
040
045
046
053 public com.liferay.portlet.expando.model.ExpandoTable addExpandoTable(
054 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057
063 public com.liferay.portlet.expando.model.ExpandoTable createExpandoTable(
064 long tableId);
065
066
073 public void deleteExpandoTable(long tableId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException;
076
077
083 public void deleteExpandoTable(
084 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
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.ExpandoTable getExpandoTable(
159 long tableId)
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.ExpandoTable> getExpandoTables(
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 getExpandoTablesCount()
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196
203 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
204 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207
215 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
216 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
217 boolean merge)
218 throws com.liferay.portal.kernel.exception.SystemException;
219
220
225 public java.lang.String getBeanIdentifier();
226
227
232 public void setBeanIdentifier(java.lang.String beanIdentifier);
233
234 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
235 long companyId, long classNameId)
236 throws com.liferay.portal.kernel.exception.PortalException,
237 com.liferay.portal.kernel.exception.SystemException;
238
239 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
240 long companyId, java.lang.String className)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException;
243
244 public com.liferay.portlet.expando.model.ExpandoTable addTable(
245 long companyId, long classNameId, java.lang.String name)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException;
248
249
252 public com.liferay.portlet.expando.model.ExpandoTable addTable(
253 long classNameId, java.lang.String name)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException;
256
257 public com.liferay.portlet.expando.model.ExpandoTable addTable(
258 long companyId, java.lang.String className, java.lang.String name)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException;
261
262
265 public com.liferay.portlet.expando.model.ExpandoTable addTable(
266 java.lang.String className, java.lang.String name)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException;
269
270 public void deleteTable(
271 com.liferay.portlet.expando.model.ExpandoTable table)
272 throws com.liferay.portal.kernel.exception.SystemException;
273
274 public void deleteTable(long tableId)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException;
277
278 public void deleteTable(long companyId, long classNameId,
279 java.lang.String name)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException;
282
283 public void deleteTable(long companyId, java.lang.String className,
284 java.lang.String name)
285 throws com.liferay.portal.kernel.exception.PortalException,
286 com.liferay.portal.kernel.exception.SystemException;
287
288 public void deleteTables(long companyId, long classNameId)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 public void deleteTables(long companyId, java.lang.String className)
292 throws com.liferay.portal.kernel.exception.SystemException;
293
294 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
295 public com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
296 long companyId, long classNameId)
297 throws com.liferay.portal.kernel.exception.SystemException;
298
299 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
300 public com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
301 long companyId, java.lang.String className)
302 throws com.liferay.portal.kernel.exception.SystemException;
303
304 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
305 public com.liferay.portlet.expando.model.ExpandoTable fetchTable(
306 long companyId, long classNameId, java.lang.String name)
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
310 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
311 long companyId, long classNameId)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException;
314
315 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
316 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
317 long companyId, java.lang.String className)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException;
320
321 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
322 public com.liferay.portlet.expando.model.ExpandoTable getTable(long tableId)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException;
325
326 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
327 public com.liferay.portlet.expando.model.ExpandoTable getTable(
328 long companyId, long classNameId, java.lang.String name)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException;
331
332
335 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336 public com.liferay.portlet.expando.model.ExpandoTable getTable(
337 long classNameId, java.lang.String name)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException;
340
341 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
342 public com.liferay.portlet.expando.model.ExpandoTable getTable(
343 long companyId, java.lang.String className, java.lang.String name)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException;
346
347
350 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
351 public com.liferay.portlet.expando.model.ExpandoTable getTable(
352 java.lang.String className, java.lang.String name)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException;
355
356 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
357 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
358 long companyId, long classNameId)
359 throws com.liferay.portal.kernel.exception.SystemException;
360
361 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
362 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
363 long companyId, java.lang.String className)
364 throws com.liferay.portal.kernel.exception.SystemException;
365
366 public com.liferay.portlet.expando.model.ExpandoTable updateTable(
367 long tableId, java.lang.String name)
368 throws com.liferay.portal.kernel.exception.PortalException,
369 com.liferay.portal.kernel.exception.SystemException;
370 }