001
014
015 package com.liferay.portlet.dynamicdatalists.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.search.IndexableType;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.model.SystemEventConstants;
026 import com.liferay.portal.service.BaseLocalService;
027 import com.liferay.portal.service.PersistedModelLocalService;
028
029
041 @ProviderType
042 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
043 PortalException.class, SystemException.class})
044 public interface DDLRecordSetLocalService extends BaseLocalService,
045 PersistedModelLocalService {
046
051
052
059 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
060 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet addDDLRecordSet(
061 com.liferay.portlet.dynamicdatalists.model.DDLRecordSet ddlRecordSet)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064
070 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet createDDLRecordSet(
071 long recordSetId);
072
073
081 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
082 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet deleteDDLRecordSet(
083 long recordSetId)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException;
086
087
094 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
095 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet deleteDDLRecordSet(
096 com.liferay.portlet.dynamicdatalists.model.DDLRecordSet ddlRecordSet)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
100
101
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113
126 @SuppressWarnings("rawtypes")
127 public java.util.List dynamicQuery(
128 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129 int end) throws com.liferay.portal.kernel.exception.SystemException;
130
131
145 @SuppressWarnings("rawtypes")
146 public java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152
159 public long dynamicQueryCount(
160 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163
171 public long dynamicQueryCount(
172 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
173 com.liferay.portal.kernel.dao.orm.Projection projection)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
177 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchDDLRecordSet(
178 long recordSetId)
179 throws com.liferay.portal.kernel.exception.SystemException;
180
181
189 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
190 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchDDLRecordSetByUuidAndCompanyId(
191 java.lang.String uuid, long companyId)
192 throws com.liferay.portal.kernel.exception.SystemException;
193
194
202 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
203 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchDDLRecordSetByUuidAndGroupId(
204 java.lang.String uuid, long groupId)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207
215 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
216 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getDDLRecordSet(
217 long recordSetId)
218 throws com.liferay.portal.kernel.exception.PortalException,
219 com.liferay.portal.kernel.exception.SystemException;
220
221 @Override
222 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
223 public com.liferay.portal.model.PersistedModel getPersistedModel(
224 java.io.Serializable primaryKeyObj)
225 throws com.liferay.portal.kernel.exception.PortalException,
226 com.liferay.portal.kernel.exception.SystemException;
227
228
237 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
238 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getDDLRecordSetByUuidAndCompanyId(
239 java.lang.String uuid, long companyId)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException;
242
243
252 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
253 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getDDLRecordSetByUuidAndGroupId(
254 java.lang.String uuid, long groupId)
255 throws com.liferay.portal.kernel.exception.PortalException,
256 com.liferay.portal.kernel.exception.SystemException;
257
258
270 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
271 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> getDDLRecordSets(
272 int start, int end)
273 throws com.liferay.portal.kernel.exception.SystemException;
274
275
281 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
282 public int getDDLRecordSetsCount()
283 throws com.liferay.portal.kernel.exception.SystemException;
284
285
292 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
293 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateDDLRecordSet(
294 com.liferay.portlet.dynamicdatalists.model.DDLRecordSet ddlRecordSet)
295 throws com.liferay.portal.kernel.exception.SystemException;
296
297
302 public java.lang.String getBeanIdentifier();
303
304
309 public void setBeanIdentifier(java.lang.String beanIdentifier);
310
311 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet addRecordSet(
312 long userId, long groupId, long ddmStructureId,
313 java.lang.String recordSetKey,
314 java.util.Map<java.util.Locale, java.lang.String> nameMap,
315 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
316 int minDisplayRows, int scope,
317 com.liferay.portal.service.ServiceContext serviceContext)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException;
320
321 public void addRecordSetResources(
322 com.liferay.portlet.dynamicdatalists.model.DDLRecordSet recordSet,
323 boolean addGroupPermissions, boolean addGuestPermissions)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException;
326
327 public void addRecordSetResources(
328 com.liferay.portlet.dynamicdatalists.model.DDLRecordSet recordSet,
329 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException;
332
333 @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
334 public void deleteRecordSet(
335 com.liferay.portlet.dynamicdatalists.model.DDLRecordSet recordSet)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException;
338
339 public void deleteRecordSet(long recordSetId)
340 throws com.liferay.portal.kernel.exception.PortalException,
341 com.liferay.portal.kernel.exception.SystemException;
342
343 public void deleteRecordSet(long groupId, java.lang.String recordSetKey)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException;
346
347 public void deleteRecordSets(long groupId)
348 throws com.liferay.portal.kernel.exception.PortalException,
349 com.liferay.portal.kernel.exception.SystemException;
350
351 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
352 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchRecordSet(
353 long recordSetId)
354 throws com.liferay.portal.kernel.exception.SystemException;
355
356 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
357 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet fetchRecordSet(
358 long groupId, java.lang.String recordSetKey)
359 throws com.liferay.portal.kernel.exception.SystemException;
360
361 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
362 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getRecordSet(
363 long recordSetId)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException;
366
367 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
368 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getRecordSet(
369 long groupId, java.lang.String recordSetKey)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException;
372
373 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
374 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> getRecordSets(
375 long groupId)
376 throws com.liferay.portal.kernel.exception.SystemException;
377
378 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
379 public int getRecordSetsCount(long groupId)
380 throws com.liferay.portal.kernel.exception.SystemException;
381
382 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
383 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> search(
384 long companyId, long groupId, java.lang.String keywords, int scope,
385 int start, int end,
386 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
387 throws com.liferay.portal.kernel.exception.SystemException;
388
389 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
390 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> search(
391 long companyId, long groupId, java.lang.String name,
392 java.lang.String description, int scope, boolean andOperator,
393 int start, int end,
394 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
395 throws com.liferay.portal.kernel.exception.SystemException;
396
397 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
398 public int searchCount(long companyId, long groupId,
399 java.lang.String keywords, int scope)
400 throws com.liferay.portal.kernel.exception.SystemException;
401
402 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
403 public int searchCount(long companyId, long groupId, java.lang.String name,
404 java.lang.String description, int scope, boolean andOperator)
405 throws com.liferay.portal.kernel.exception.SystemException;
406
407 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateMinDisplayRows(
408 long recordSetId, int minDisplayRows,
409 com.liferay.portal.service.ServiceContext serviceContext)
410 throws com.liferay.portal.kernel.exception.PortalException,
411 com.liferay.portal.kernel.exception.SystemException;
412
413 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(
414 long recordSetId, long ddmStructureId,
415 java.util.Map<java.util.Locale, java.lang.String> nameMap,
416 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
417 int minDisplayRows,
418 com.liferay.portal.service.ServiceContext serviceContext)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException;
421
422 public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(
423 long groupId, long ddmStructureId, java.lang.String recordSetKey,
424 java.util.Map<java.util.Locale, java.lang.String> nameMap,
425 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
426 int minDisplayRows,
427 com.liferay.portal.service.ServiceContext serviceContext)
428 throws com.liferay.portal.kernel.exception.PortalException,
429 com.liferay.portal.kernel.exception.SystemException;
430 }