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