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 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
150 public com.liferay.portlet.expando.model.ExpandoTable fetchExpandoTable(
151 long tableId)
152 throws com.liferay.portal.kernel.exception.SystemException;
153
154
162 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
163 public com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
164 long tableId)
165 throws com.liferay.portal.kernel.exception.PortalException,
166 com.liferay.portal.kernel.exception.SystemException;
167
168 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
169 public com.liferay.portal.model.PersistedModel getPersistedModel(
170 java.io.Serializable primaryKeyObj)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException;
173
174
186 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
187 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
188 int start, int end)
189 throws com.liferay.portal.kernel.exception.SystemException;
190
191
197 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
198 public int getExpandoTablesCount()
199 throws com.liferay.portal.kernel.exception.SystemException;
200
201
208 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
209 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
210 throws com.liferay.portal.kernel.exception.SystemException;
211
212
220 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
221 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
222 boolean merge)
223 throws com.liferay.portal.kernel.exception.SystemException;
224
225
230 public java.lang.String getBeanIdentifier();
231
232
237 public void setBeanIdentifier(java.lang.String beanIdentifier);
238
239 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
240 long companyId, long classNameId)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException;
243
244 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
245 long companyId, java.lang.String className)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException;
248
249 public com.liferay.portlet.expando.model.ExpandoTable addTable(
250 long companyId, long classNameId, java.lang.String name)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException;
253
254
257 public com.liferay.portlet.expando.model.ExpandoTable addTable(
258 long classNameId, java.lang.String name)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException;
261
262 public com.liferay.portlet.expando.model.ExpandoTable addTable(
263 long companyId, java.lang.String className, java.lang.String name)
264 throws com.liferay.portal.kernel.exception.PortalException,
265 com.liferay.portal.kernel.exception.SystemException;
266
267
270 public com.liferay.portlet.expando.model.ExpandoTable addTable(
271 java.lang.String className, java.lang.String name)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException;
274
275 public void deleteTable(
276 com.liferay.portlet.expando.model.ExpandoTable table)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 public void deleteTable(long tableId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException;
282
283 public void deleteTable(long companyId, long classNameId,
284 java.lang.String name)
285 throws com.liferay.portal.kernel.exception.PortalException,
286 com.liferay.portal.kernel.exception.SystemException;
287
288 public void deleteTable(long companyId, java.lang.String className,
289 java.lang.String name)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException;
292
293 public void deleteTables(long companyId, long classNameId)
294 throws com.liferay.portal.kernel.exception.SystemException;
295
296 public void deleteTables(long companyId, java.lang.String className)
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, long classNameId)
302 throws com.liferay.portal.kernel.exception.SystemException;
303
304 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
305 public com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
306 long companyId, java.lang.String className)
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
310 public com.liferay.portlet.expando.model.ExpandoTable fetchTable(
311 long companyId, long classNameId, java.lang.String name)
312 throws com.liferay.portal.kernel.exception.SystemException;
313
314 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
315 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
316 long companyId, long classNameId)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException;
319
320 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
321 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
322 long companyId, java.lang.String className)
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(long tableId)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException;
330
331 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
332 public com.liferay.portlet.expando.model.ExpandoTable getTable(
333 long companyId, long classNameId, java.lang.String name)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException;
336
337
340 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
341 public com.liferay.portlet.expando.model.ExpandoTable getTable(
342 long classNameId, java.lang.String name)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException;
345
346 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
347 public com.liferay.portlet.expando.model.ExpandoTable getTable(
348 long companyId, java.lang.String className, java.lang.String name)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException;
351
352
355 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
356 public com.liferay.portlet.expando.model.ExpandoTable getTable(
357 java.lang.String className, java.lang.String name)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 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, long classNameId)
364 throws com.liferay.portal.kernel.exception.SystemException;
365
366 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
367 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
368 long companyId, java.lang.String className)
369 throws com.liferay.portal.kernel.exception.SystemException;
370
371 public com.liferay.portlet.expando.model.ExpandoTable updateTable(
372 long tableId, java.lang.String name)
373 throws com.liferay.portal.kernel.exception.PortalException,
374 com.liferay.portal.kernel.exception.SystemException;
375 }