1
19
20 package com.liferay.portal.service.persistence;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Propagation;
25 import com.liferay.portal.kernel.annotation.Transactional;
26
27
33 @Transactional(rollbackFor = {
34 PortalException.class, SystemException.class})
35 public interface ReleasePersistence extends BasePersistence {
36 public com.liferay.portal.model.Release create(long releaseId);
37
38 public com.liferay.portal.model.Release remove(long releaseId)
39 throws com.liferay.portal.NoSuchReleaseException,
40 com.liferay.portal.SystemException;
41
42 public com.liferay.portal.model.Release remove(
43 com.liferay.portal.model.Release release)
44 throws com.liferay.portal.SystemException;
45
46
49 public com.liferay.portal.model.Release update(
50 com.liferay.portal.model.Release release)
51 throws com.liferay.portal.SystemException;
52
53
66 public com.liferay.portal.model.Release update(
67 com.liferay.portal.model.Release release, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portal.model.Release updateImpl(
71 com.liferay.portal.model.Release release, boolean merge)
72 throws com.liferay.portal.SystemException;
73
74 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
75 public com.liferay.portal.model.Release findByPrimaryKey(long releaseId)
76 throws com.liferay.portal.NoSuchReleaseException,
77 com.liferay.portal.SystemException;
78
79 public com.liferay.portal.model.Release fetchByPrimaryKey(long releaseId)
80 throws com.liferay.portal.SystemException;
81
82 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
83 public java.util.List<Object> findWithDynamicQuery(
84 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
85 throws com.liferay.portal.SystemException;
86
87 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
88 public java.util.List<Object> findWithDynamicQuery(
89 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
90 int end) throws com.liferay.portal.SystemException;
91
92 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
93 public java.util.List<com.liferay.portal.model.Release> findAll()
94 throws com.liferay.portal.SystemException;
95
96 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
97 public java.util.List<com.liferay.portal.model.Release> findAll(int start,
98 int end) throws com.liferay.portal.SystemException;
99
100 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
101 public java.util.List<com.liferay.portal.model.Release> findAll(int start,
102 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException;
104
105 public void removeAll() throws com.liferay.portal.SystemException;
106
107 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
108 public int countAll() throws com.liferay.portal.SystemException;
109 }