1
14
15 package com.liferay.portlet.softwarecatalog.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.softwarecatalog.model.SCProductEntry;
20
21
34 public interface SCProductEntryPersistence extends BasePersistence<SCProductEntry> {
35 public void cacheResult(
36 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries);
40
41 public com.liferay.portlet.softwarecatalog.model.SCProductEntry create(
42 long productEntryId);
43
44 public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(
45 long productEntryId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
48
49 public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(
50 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(
55 long productEntryId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
58
59 public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(
60 long productEntryId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
64 long groupId)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
68 long groupId, int start, int end)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
72 long groupId, int start, int end,
73 com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.kernel.exception.SystemException;
75
76 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(
77 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.kernel.exception.SystemException,
79 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
80
81 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(
82 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.kernel.exception.SystemException,
84 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
85
86 public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(
87 long productEntryId, long groupId,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.kernel.exception.SystemException,
90 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
91
92 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
93 long companyId)
94 throws com.liferay.portal.kernel.exception.SystemException;
95
96 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
97 long companyId, int start, int end)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
101 long companyId, int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(
106 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.kernel.exception.SystemException,
108 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
109
110 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(
111 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.kernel.exception.SystemException,
113 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
114
115 public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(
116 long productEntryId, long companyId,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.kernel.exception.SystemException,
119 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
120
121 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
122 long groupId, long userId)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
126 long groupId, long userId, int start, int end)
127 throws com.liferay.portal.kernel.exception.SystemException;
128
129 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
130 long groupId, long userId, int start, int end,
131 com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(
135 long groupId, long userId,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.kernel.exception.SystemException,
138 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
139
140 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(
141 long groupId, long userId,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.kernel.exception.SystemException,
144 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
145
146 public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(
147 long productEntryId, long groupId, long userId,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.kernel.exception.SystemException,
150 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
151
152 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(
153 java.lang.String repoGroupId, java.lang.String repoArtifactId)
154 throws com.liferay.portal.kernel.exception.SystemException,
155 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
156
157 public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
158 java.lang.String repoGroupId, java.lang.String repoArtifactId)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161 public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
162 java.lang.String repoGroupId, java.lang.String repoArtifactId,
163 boolean retrieveFromCache)
164 throws com.liferay.portal.kernel.exception.SystemException;
165
166 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
170 int start, int end)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
174 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.kernel.exception.SystemException;
176
177 public void removeByGroupId(long groupId)
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public void removeByCompanyId(long companyId)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public void removeByG_U(long groupId, long userId)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public void removeByRG_RA(java.lang.String repoGroupId,
187 java.lang.String repoArtifactId)
188 throws com.liferay.portal.kernel.exception.SystemException,
189 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
190
191 public void removeAll()
192 throws com.liferay.portal.kernel.exception.SystemException;
193
194 public int countByGroupId(long groupId)
195 throws com.liferay.portal.kernel.exception.SystemException;
196
197 public int countByCompanyId(long companyId)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public int countByG_U(long groupId, long userId)
201 throws com.liferay.portal.kernel.exception.SystemException;
202
203 public int countByRG_RA(java.lang.String repoGroupId,
204 java.lang.String repoArtifactId)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207 public int countAll()
208 throws com.liferay.portal.kernel.exception.SystemException;
209
210 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
211 long pk) throws com.liferay.portal.kernel.exception.SystemException;
212
213 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
214 long pk, int start, int end)
215 throws com.liferay.portal.kernel.exception.SystemException;
216
217 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
218 long pk, int start, int end,
219 com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.kernel.exception.SystemException;
221
222 public int getSCLicensesSize(long pk)
223 throws com.liferay.portal.kernel.exception.SystemException;
224
225 public boolean containsSCLicense(long pk, long scLicensePK)
226 throws com.liferay.portal.kernel.exception.SystemException;
227
228 public boolean containsSCLicenses(long pk)
229 throws com.liferay.portal.kernel.exception.SystemException;
230
231 public void addSCLicense(long pk, long scLicensePK)
232 throws com.liferay.portal.kernel.exception.SystemException;
233
234 public void addSCLicense(long pk,
235 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
236 throws com.liferay.portal.kernel.exception.SystemException;
237
238 public void addSCLicenses(long pk, long[] scLicensePKs)
239 throws com.liferay.portal.kernel.exception.SystemException;
240
241 public void addSCLicenses(long pk,
242 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public void clearSCLicenses(long pk)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 public void removeSCLicense(long pk, long scLicensePK)
249 throws com.liferay.portal.kernel.exception.SystemException;
250
251 public void removeSCLicense(long pk,
252 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
253 throws com.liferay.portal.kernel.exception.SystemException;
254
255 public void removeSCLicenses(long pk, long[] scLicensePKs)
256 throws com.liferay.portal.kernel.exception.SystemException;
257
258 public void removeSCLicenses(long pk,
259 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
260 throws com.liferay.portal.kernel.exception.SystemException;
261
262 public void setSCLicenses(long pk, long[] scLicensePKs)
263 throws com.liferay.portal.kernel.exception.SystemException;
264
265 public void setSCLicenses(long pk,
266 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
267 throws com.liferay.portal.kernel.exception.SystemException;
268 }