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.SCFrameworkVersion;
20  
21  /**
22   * <a href="SCFrameworkVersionPersistence.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       SCFrameworkVersionPersistenceImpl
31   * @see       SCFrameworkVersionUtil
32   * @generated
33   */
34  public interface SCFrameworkVersionPersistence extends BasePersistence<SCFrameworkVersion> {
35      public void cacheResult(
36          com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions);
40  
41      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(
42          long frameworkVersionId);
43  
44      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
45          long frameworkVersionId)
46          throws com.liferay.portal.kernel.exception.SystemException,
47              com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
48  
49      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
50          com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
51          boolean merge)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
55          long frameworkVersionId)
56          throws com.liferay.portal.kernel.exception.SystemException,
57              com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
58  
59      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
60          long frameworkVersionId)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
64          long groupId)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> 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.SCFrameworkVersion> 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.SCFrameworkVersion 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.NoSuchFrameworkVersionException;
81  
82      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion 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.NoSuchFrameworkVersionException;
87  
88      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
89          long frameworkVersionId, long groupId,
90          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91          throws com.liferay.portal.kernel.exception.SystemException,
92              com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
93  
94      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId(
95          long groupId)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> 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.SCFrameworkVersion> 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.SCFrameworkVersion> findByCompanyId(
108         long companyId)
109         throws com.liferay.portal.kernel.exception.SystemException;
110 
111     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> 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.SCFrameworkVersion> 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.SCFrameworkVersion 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.NoSuchFrameworkVersionException;
125 
126     public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion 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.NoSuchFrameworkVersionException;
131 
132     public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
133         long frameworkVersionId, long companyId,
134         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135         throws com.liferay.portal.kernel.exception.SystemException,
136             com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
137 
138     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
139         long groupId, boolean active)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
143         long groupId, boolean active, int start, int end)
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
147         long groupId, boolean active, 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.SCFrameworkVersion findByG_A_First(
152         long groupId, boolean active,
153         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154         throws com.liferay.portal.kernel.exception.SystemException,
155             com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
156 
157     public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
158         long groupId, boolean active,
159         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160         throws com.liferay.portal.kernel.exception.SystemException,
161             com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
162 
163     public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
164         long frameworkVersionId, long groupId, boolean active,
165         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166         throws com.liferay.portal.kernel.exception.SystemException,
167             com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
168 
169     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
170         long groupId, boolean active)
171         throws com.liferay.portal.kernel.exception.SystemException;
172 
173     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
174         long groupId, boolean active, int start, int end)
175         throws com.liferay.portal.kernel.exception.SystemException;
176 
177     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A(
178         long groupId, boolean active, int start, int end,
179         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180         throws com.liferay.portal.kernel.exception.SystemException;
181 
182     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll()
183         throws com.liferay.portal.kernel.exception.SystemException;
184 
185     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
186         int start, int end)
187         throws com.liferay.portal.kernel.exception.SystemException;
188 
189     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
190         int start, int end,
191         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
192         throws com.liferay.portal.kernel.exception.SystemException;
193 
194     public void removeByGroupId(long groupId)
195         throws com.liferay.portal.kernel.exception.SystemException;
196 
197     public void removeByCompanyId(long companyId)
198         throws com.liferay.portal.kernel.exception.SystemException;
199 
200     public void removeByG_A(long groupId, boolean active)
201         throws com.liferay.portal.kernel.exception.SystemException;
202 
203     public void removeAll()
204         throws com.liferay.portal.kernel.exception.SystemException;
205 
206     public int countByGroupId(long groupId)
207         throws com.liferay.portal.kernel.exception.SystemException;
208 
209     public int filterCountByGroupId(long groupId)
210         throws com.liferay.portal.kernel.exception.SystemException;
211 
212     public int countByCompanyId(long companyId)
213         throws com.liferay.portal.kernel.exception.SystemException;
214 
215     public int countByG_A(long groupId, boolean active)
216         throws com.liferay.portal.kernel.exception.SystemException;
217 
218     public int filterCountByG_A(long groupId, boolean active)
219         throws com.liferay.portal.kernel.exception.SystemException;
220 
221     public int countAll()
222         throws com.liferay.portal.kernel.exception.SystemException;
223 
224     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
225         long pk) throws com.liferay.portal.kernel.exception.SystemException;
226 
227     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
228         long pk, int start, int end)
229         throws com.liferay.portal.kernel.exception.SystemException;
230 
231     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
232         long pk, int start, int end,
233         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
234         throws com.liferay.portal.kernel.exception.SystemException;
235 
236     public int getSCProductVersionsSize(long pk)
237         throws com.liferay.portal.kernel.exception.SystemException;
238 
239     public boolean containsSCProductVersion(long pk, long scProductVersionPK)
240         throws com.liferay.portal.kernel.exception.SystemException;
241 
242     public boolean containsSCProductVersions(long pk)
243         throws com.liferay.portal.kernel.exception.SystemException;
244 
245     public void addSCProductVersion(long pk, long scProductVersionPK)
246         throws com.liferay.portal.kernel.exception.SystemException;
247 
248     public void addSCProductVersion(long pk,
249         com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
250         throws com.liferay.portal.kernel.exception.SystemException;
251 
252     public void addSCProductVersions(long pk, long[] scProductVersionPKs)
253         throws com.liferay.portal.kernel.exception.SystemException;
254 
255     public void addSCProductVersions(long pk,
256         java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
257         throws com.liferay.portal.kernel.exception.SystemException;
258 
259     public void clearSCProductVersions(long pk)
260         throws com.liferay.portal.kernel.exception.SystemException;
261 
262     public void removeSCProductVersion(long pk, long scProductVersionPK)
263         throws com.liferay.portal.kernel.exception.SystemException;
264 
265     public void removeSCProductVersion(long pk,
266         com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
267         throws com.liferay.portal.kernel.exception.SystemException;
268 
269     public void removeSCProductVersions(long pk, long[] scProductVersionPKs)
270         throws com.liferay.portal.kernel.exception.SystemException;
271 
272     public void removeSCProductVersions(long pk,
273         java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
274         throws com.liferay.portal.kernel.exception.SystemException;
275 
276     public void setSCProductVersions(long pk, long[] scProductVersionPKs)
277         throws com.liferay.portal.kernel.exception.SystemException;
278 
279     public void setSCProductVersions(long pk,
280         java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
281         throws com.liferay.portal.kernel.exception.SystemException;
282 }