001
014
015 package com.liferay.portlet.expando.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.transaction.Isolation;
022 import com.liferay.portal.kernel.transaction.Propagation;
023 import com.liferay.portal.kernel.transaction.Transactional;
024 import com.liferay.portal.service.BaseLocalService;
025 import com.liferay.portal.service.PersistedModelLocalService;
026
027
039 @ProviderType
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface ExpandoTableLocalService extends BaseLocalService,
043 PersistedModelLocalService {
044
049
050
057 public com.liferay.portlet.expando.model.ExpandoTable addExpandoTable(
058 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061
067 public com.liferay.portlet.expando.model.ExpandoTable createExpandoTable(
068 long tableId);
069
070
078 public com.liferay.portlet.expando.model.ExpandoTable deleteExpandoTable(
079 long tableId)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException;
082
083
090 public com.liferay.portlet.expando.model.ExpandoTable deleteExpandoTable(
091 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
095
096
103 @SuppressWarnings("rawtypes")
104 public java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108
121 @SuppressWarnings("rawtypes")
122 public java.util.List dynamicQuery(
123 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
124 int end) throws com.liferay.portal.kernel.exception.SystemException;
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException;
146
147
154 public long dynamicQueryCount(
155 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156 throws com.liferay.portal.kernel.exception.SystemException;
157
158
166 public long dynamicQueryCount(
167 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
168 com.liferay.portal.kernel.dao.orm.Projection projection)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
172 public com.liferay.portlet.expando.model.ExpandoTable fetchExpandoTable(
173 long tableId)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176
184 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
185 public com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
186 long tableId)
187 throws com.liferay.portal.kernel.exception.PortalException,
188 com.liferay.portal.kernel.exception.SystemException;
189
190 @Override
191 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
192 public com.liferay.portal.model.PersistedModel getPersistedModel(
193 java.io.Serializable primaryKeyObj)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException;
196
197
209 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
210 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
211 int start, int end)
212 throws com.liferay.portal.kernel.exception.SystemException;
213
214
220 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
221 public int getExpandoTablesCount()
222 throws com.liferay.portal.kernel.exception.SystemException;
223
224
231 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
232 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
233 throws com.liferay.portal.kernel.exception.SystemException;
234
235
240 public java.lang.String getBeanIdentifier();
241
242
247 public void setBeanIdentifier(java.lang.String beanIdentifier);
248
249 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
250 long companyId, long classNameId)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException;
253
254 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
255 long companyId, java.lang.String className)
256 throws com.liferay.portal.kernel.exception.PortalException,
257 com.liferay.portal.kernel.exception.SystemException;
258
259 public com.liferay.portlet.expando.model.ExpandoTable addTable(
260 long companyId, long classNameId, java.lang.String name)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException;
263
264
268 public com.liferay.portlet.expando.model.ExpandoTable addTable(
269 long classNameId, java.lang.String name)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException;
272
273 public com.liferay.portlet.expando.model.ExpandoTable addTable(
274 long companyId, java.lang.String className, java.lang.String name)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException;
277
278
282 public com.liferay.portlet.expando.model.ExpandoTable addTable(
283 java.lang.String className, java.lang.String name)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException;
286
287 public void deleteTable(
288 com.liferay.portlet.expando.model.ExpandoTable table)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 public void deleteTable(long tableId)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException;
294
295 public void deleteTable(long companyId, long classNameId,
296 java.lang.String name)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException;
299
300 public void deleteTable(long companyId, java.lang.String className,
301 java.lang.String name)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException;
304
305 public void deleteTables(long companyId, long classNameId)
306 throws com.liferay.portal.kernel.exception.SystemException;
307
308 public void deleteTables(long companyId, java.lang.String className)
309 throws com.liferay.portal.kernel.exception.SystemException;
310
311 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
312 public com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
313 long companyId, long classNameId)
314 throws com.liferay.portal.kernel.exception.SystemException;
315
316 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
317 public com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
318 long companyId, java.lang.String className)
319 throws com.liferay.portal.kernel.exception.SystemException;
320
321 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
322 public com.liferay.portlet.expando.model.ExpandoTable fetchTable(
323 long companyId, long classNameId, java.lang.String name)
324 throws com.liferay.portal.kernel.exception.SystemException;
325
326 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
327 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
328 long companyId, long classNameId)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException;
331
332 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
333 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
334 long companyId, java.lang.String className)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException;
337
338 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
339 public com.liferay.portlet.expando.model.ExpandoTable getTable(long tableId)
340 throws com.liferay.portal.kernel.exception.PortalException,
341 com.liferay.portal.kernel.exception.SystemException;
342
343 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
344 public com.liferay.portlet.expando.model.ExpandoTable getTable(
345 long companyId, long classNameId, java.lang.String name)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException;
348
349
353 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
354 public com.liferay.portlet.expando.model.ExpandoTable getTable(
355 long classNameId, java.lang.String name)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException;
358
359 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
360 public com.liferay.portlet.expando.model.ExpandoTable getTable(
361 long companyId, java.lang.String className, java.lang.String name)
362 throws com.liferay.portal.kernel.exception.PortalException,
363 com.liferay.portal.kernel.exception.SystemException;
364
365
369 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
370 public com.liferay.portlet.expando.model.ExpandoTable getTable(
371 java.lang.String className, java.lang.String name)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException;
374
375 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
376 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
377 long companyId, long classNameId)
378 throws com.liferay.portal.kernel.exception.SystemException;
379
380 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
381 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
382 long companyId, java.lang.String className)
383 throws com.liferay.portal.kernel.exception.SystemException;
384
385 public com.liferay.portlet.expando.model.ExpandoTable updateTable(
386 long tableId, java.lang.String name)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException;
389 }