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