1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
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  /**
22   * <a href="SCProductEntryPersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       SCProductEntryPersistenceImpl
31   * @see       SCProductEntryUtil
32   * @generated
33   */
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 orderByComparator)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(
77          long groupId,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException,
80              com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
81  
82      public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(
83          long groupId,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.kernel.exception.SystemException,
86              com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
87  
88      public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(
89          long productEntryId, long groupId,
90          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91          throws com.liferay.portal.kernel.exception.SystemException,
92              com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
93  
94      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(
95          long groupId)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(
99          long groupId, int start, int end)
100         throws com.liferay.portal.kernel.exception.SystemException;
101 
102     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(
103         long groupId, int start, int end,
104         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105         throws com.liferay.portal.kernel.exception.SystemException;
106 
107     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
108         long companyId)
109         throws com.liferay.portal.kernel.exception.SystemException;
110 
111     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
112         long companyId, int start, int end)
113         throws com.liferay.portal.kernel.exception.SystemException;
114 
115     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
116         long companyId, int start, int end,
117         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118         throws com.liferay.portal.kernel.exception.SystemException;
119 
120     public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(
121         long companyId,
122         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123         throws com.liferay.portal.kernel.exception.SystemException,
124             com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
125 
126     public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(
127         long companyId,
128         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
129         throws com.liferay.portal.kernel.exception.SystemException,
130             com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
131 
132     public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(
133         long productEntryId, long companyId,
134         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135         throws com.liferay.portal.kernel.exception.SystemException,
136             com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
137 
138     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
139         long groupId, long userId)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
143         long groupId, long userId, int start, int end)
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
147         long groupId, long userId, int start, int end,
148         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149         throws com.liferay.portal.kernel.exception.SystemException;
150 
151     public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(
152         long groupId, long userId,
153         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154         throws com.liferay.portal.kernel.exception.SystemException,
155             com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
156 
157     public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(
158         long groupId, long userId,
159         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160         throws com.liferay.portal.kernel.exception.SystemException,
161             com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
162 
163     public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(
164         long productEntryId, long groupId, long userId,
165         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166         throws com.liferay.portal.kernel.exception.SystemException,
167             com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
168 
169     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(
170         long groupId, long userId)
171         throws com.liferay.portal.kernel.exception.SystemException;
172 
173     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(
174         long groupId, long userId, int start, int end)
175         throws com.liferay.portal.kernel.exception.SystemException;
176 
177     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(
178         long groupId, long userId, int start, int end,
179         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180         throws com.liferay.portal.kernel.exception.SystemException;
181 
182     public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(
183         java.lang.String repoGroupId, java.lang.String repoArtifactId)
184         throws com.liferay.portal.kernel.exception.SystemException,
185             com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
186 
187     public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
188         java.lang.String repoGroupId, java.lang.String repoArtifactId)
189         throws com.liferay.portal.kernel.exception.SystemException;
190 
191     public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
192         java.lang.String repoGroupId, java.lang.String repoArtifactId,
193         boolean retrieveFromCache)
194         throws com.liferay.portal.kernel.exception.SystemException;
195 
196     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
197         throws com.liferay.portal.kernel.exception.SystemException;
198 
199     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
200         int start, int end)
201         throws com.liferay.portal.kernel.exception.SystemException;
202 
203     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
204         int start, int end,
205         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206         throws com.liferay.portal.kernel.exception.SystemException;
207 
208     public void removeByGroupId(long groupId)
209         throws com.liferay.portal.kernel.exception.SystemException;
210 
211     public void removeByCompanyId(long companyId)
212         throws com.liferay.portal.kernel.exception.SystemException;
213 
214     public void removeByG_U(long groupId, long userId)
215         throws com.liferay.portal.kernel.exception.SystemException;
216 
217     public void removeByRG_RA(java.lang.String repoGroupId,
218         java.lang.String repoArtifactId)
219         throws com.liferay.portal.kernel.exception.SystemException,
220             com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
221 
222     public void removeAll()
223         throws com.liferay.portal.kernel.exception.SystemException;
224 
225     public int countByGroupId(long groupId)
226         throws com.liferay.portal.kernel.exception.SystemException;
227 
228     public int filterCountByGroupId(long groupId)
229         throws com.liferay.portal.kernel.exception.SystemException;
230 
231     public int countByCompanyId(long companyId)
232         throws com.liferay.portal.kernel.exception.SystemException;
233 
234     public int countByG_U(long groupId, long userId)
235         throws com.liferay.portal.kernel.exception.SystemException;
236 
237     public int filterCountByG_U(long groupId, long userId)
238         throws com.liferay.portal.kernel.exception.SystemException;
239 
240     public int countByRG_RA(java.lang.String repoGroupId,
241         java.lang.String repoArtifactId)
242         throws com.liferay.portal.kernel.exception.SystemException;
243 
244     public int countAll()
245         throws com.liferay.portal.kernel.exception.SystemException;
246 
247     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
248         long pk) throws com.liferay.portal.kernel.exception.SystemException;
249 
250     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
251         long pk, int start, int end)
252         throws com.liferay.portal.kernel.exception.SystemException;
253 
254     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
255         long pk, int start, int end,
256         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
257         throws com.liferay.portal.kernel.exception.SystemException;
258 
259     public int getSCLicensesSize(long pk)
260         throws com.liferay.portal.kernel.exception.SystemException;
261 
262     public boolean containsSCLicense(long pk, long scLicensePK)
263         throws com.liferay.portal.kernel.exception.SystemException;
264 
265     public boolean containsSCLicenses(long pk)
266         throws com.liferay.portal.kernel.exception.SystemException;
267 
268     public void addSCLicense(long pk, long scLicensePK)
269         throws com.liferay.portal.kernel.exception.SystemException;
270 
271     public void addSCLicense(long pk,
272         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
273         throws com.liferay.portal.kernel.exception.SystemException;
274 
275     public void addSCLicenses(long pk, long[] scLicensePKs)
276         throws com.liferay.portal.kernel.exception.SystemException;
277 
278     public void addSCLicenses(long pk,
279         java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
280         throws com.liferay.portal.kernel.exception.SystemException;
281 
282     public void clearSCLicenses(long pk)
283         throws com.liferay.portal.kernel.exception.SystemException;
284 
285     public void removeSCLicense(long pk, long scLicensePK)
286         throws com.liferay.portal.kernel.exception.SystemException;
287 
288     public void removeSCLicense(long pk,
289         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
290         throws com.liferay.portal.kernel.exception.SystemException;
291 
292     public void removeSCLicenses(long pk, long[] scLicensePKs)
293         throws com.liferay.portal.kernel.exception.SystemException;
294 
295     public void removeSCLicenses(long pk,
296         java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
297         throws com.liferay.portal.kernel.exception.SystemException;
298 
299     public void setSCLicenses(long pk, long[] scLicensePKs)
300         throws com.liferay.portal.kernel.exception.SystemException;
301 
302     public void setSCLicenses(long pk,
303         java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
304         throws com.liferay.portal.kernel.exception.SystemException;
305 }