1
19
20 package com.liferay.portlet.softwarecatalog.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 import com.liferay.portal.service.persistence.BasePersistence;
27
28
34 @Transactional(rollbackFor = {
35 PortalException.class, SystemException.class})
36 public interface SCProductVersionPersistence extends BasePersistence {
37 public com.liferay.portlet.softwarecatalog.model.SCProductVersion create(
38 long productVersionId);
39
40 public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
41 long productVersionId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
44
45 public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
46 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
53 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
70 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
71 boolean merge) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(
74 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
75 boolean merge) throws com.liferay.portal.SystemException;
76
77 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
78 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(
79 long productVersionId)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
82
83 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(
84 long productVersionId) throws com.liferay.portal.SystemException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
88 long productEntryId) throws com.liferay.portal.SystemException;
89
90 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
91 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
92 long productEntryId, int start, int end)
93 throws com.liferay.portal.SystemException;
94
95 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
96 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
97 long productEntryId, int start, int end,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException;
100
101 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
102 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(
103 long productEntryId,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
107
108 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
109 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(
110 long productEntryId,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
114
115 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
116 public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(
117 long productVersionId, long productEntryId,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
121
122 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
123 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(
124 java.lang.String directDownloadURL)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
127
128 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
129 java.lang.String directDownloadURL)
130 throws com.liferay.portal.SystemException;
131
132 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
133 public java.util.List<Object> findWithDynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
135 throws com.liferay.portal.SystemException;
136
137 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
138 public java.util.List<Object> findWithDynamicQuery(
139 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
140 int end) throws com.liferay.portal.SystemException;
141
142 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
143 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
144 throws com.liferay.portal.SystemException;
145
146 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
147 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
148 int start, int end) throws com.liferay.portal.SystemException;
149
150 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
151 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
152 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException;
154
155 public void removeByProductEntryId(long productEntryId)
156 throws com.liferay.portal.SystemException;
157
158 public void removeByDirectDownloadURL(java.lang.String directDownloadURL)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
161
162 public void removeAll() throws com.liferay.portal.SystemException;
163
164 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165 public int countByProductEntryId(long productEntryId)
166 throws com.liferay.portal.SystemException;
167
168 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
169 public int countByDirectDownloadURL(java.lang.String directDownloadURL)
170 throws com.liferay.portal.SystemException;
171
172 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
173 public int countAll() throws com.liferay.portal.SystemException;
174
175 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
176 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
177 long pk) throws com.liferay.portal.SystemException;
178
179 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
180 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
181 long pk, int start, int end) throws com.liferay.portal.SystemException;
182
183 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
184 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
185 long pk, int start, int end,
186 com.liferay.portal.kernel.util.OrderByComparator obc)
187 throws com.liferay.portal.SystemException;
188
189 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
190 public int getSCFrameworkVersionsSize(long pk)
191 throws com.liferay.portal.SystemException;
192
193 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
194 public boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
195 throws com.liferay.portal.SystemException;
196
197 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
198 public boolean containsSCFrameworkVersions(long pk)
199 throws com.liferay.portal.SystemException;
200
201 public void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
202 throws com.liferay.portal.SystemException;
203
204 public void addSCFrameworkVersion(long pk,
205 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
206 throws com.liferay.portal.SystemException;
207
208 public void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
209 throws com.liferay.portal.SystemException;
210
211 public void addSCFrameworkVersions(long pk,
212 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
213 throws com.liferay.portal.SystemException;
214
215 public void clearSCFrameworkVersions(long pk)
216 throws com.liferay.portal.SystemException;
217
218 public void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
219 throws com.liferay.portal.SystemException;
220
221 public void removeSCFrameworkVersion(long pk,
222 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
223 throws com.liferay.portal.SystemException;
224
225 public void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
226 throws com.liferay.portal.SystemException;
227
228 public void removeSCFrameworkVersions(long pk,
229 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
230 throws com.liferay.portal.SystemException;
231
232 public void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
233 throws com.liferay.portal.SystemException;
234
235 public void setSCFrameworkVersions(long pk,
236 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
237 throws com.liferay.portal.SystemException;
238 }