1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface SCFrameworkVersionPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions);
46
47 public void clearCache();
48
49 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(
50 long frameworkVersionId);
51
52 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
53 long frameworkVersionId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
56
57 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
58 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
65 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
81 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
85 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
89 long frameworkVersionId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
92
93 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
94 long frameworkVersionId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
97 long groupId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
100 long groupId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
104 long groupId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First(
109 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
112
113 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(
114 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
117
118 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
119 long frameworkVersionId, long groupId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
123
124 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
125 long companyId) throws com.liferay.portal.SystemException;
126
127 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
128 long companyId, int start, int end)
129 throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
132 long companyId, int start, int end,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException;
135
136 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(
137 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
140
141 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
142 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException,
144 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
145
146 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
147 long frameworkVersionId, long companyId,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException,
150 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
151
152 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
153 long groupId, boolean active) throws com.liferay.portal.SystemException;
154
155 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
156 long groupId, boolean active, int start, int end)
157 throws com.liferay.portal.SystemException;
158
159 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
160 long groupId, boolean active, int start, int end,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException;
163
164 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
165 long groupId, boolean active,
166 com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
169
170 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
171 long groupId, boolean active,
172 com.liferay.portal.kernel.util.OrderByComparator obc)
173 throws com.liferay.portal.SystemException,
174 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
175
176 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
177 long frameworkVersionId, long groupId, boolean active,
178 com.liferay.portal.kernel.util.OrderByComparator obc)
179 throws com.liferay.portal.SystemException,
180 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
181
182 public java.util.List<Object> findWithDynamicQuery(
183 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
184 throws com.liferay.portal.SystemException;
185
186 public java.util.List<Object> findWithDynamicQuery(
187 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
188 int end) throws com.liferay.portal.SystemException;
189
190 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll()
191 throws com.liferay.portal.SystemException;
192
193 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
194 int start, int end) throws com.liferay.portal.SystemException;
195
196 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
197 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.SystemException;
199
200 public void removeByGroupId(long groupId)
201 throws com.liferay.portal.SystemException;
202
203 public void removeByCompanyId(long companyId)
204 throws com.liferay.portal.SystemException;
205
206 public void removeByG_A(long groupId, boolean active)
207 throws com.liferay.portal.SystemException;
208
209 public void removeAll() throws com.liferay.portal.SystemException;
210
211 public int countByGroupId(long groupId)
212 throws com.liferay.portal.SystemException;
213
214 public int countByCompanyId(long companyId)
215 throws com.liferay.portal.SystemException;
216
217 public int countByG_A(long groupId, boolean active)
218 throws com.liferay.portal.SystemException;
219
220 public int countAll() throws com.liferay.portal.SystemException;
221
222 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
223 long pk) throws com.liferay.portal.SystemException;
224
225 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
226 long pk, int start, int end) throws com.liferay.portal.SystemException;
227
228 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
229 long pk, int start, int end,
230 com.liferay.portal.kernel.util.OrderByComparator obc)
231 throws com.liferay.portal.SystemException;
232
233 public int getSCProductVersionsSize(long pk)
234 throws com.liferay.portal.SystemException;
235
236 public boolean containsSCProductVersion(long pk, long scProductVersionPK)
237 throws com.liferay.portal.SystemException;
238
239 public boolean containsSCProductVersions(long pk)
240 throws com.liferay.portal.SystemException;
241
242 public void addSCProductVersion(long pk, long scProductVersionPK)
243 throws com.liferay.portal.SystemException;
244
245 public void addSCProductVersion(long pk,
246 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
247 throws com.liferay.portal.SystemException;
248
249 public void addSCProductVersions(long pk, long[] scProductVersionPKs)
250 throws com.liferay.portal.SystemException;
251
252 public void addSCProductVersions(long pk,
253 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
254 throws com.liferay.portal.SystemException;
255
256 public void clearSCProductVersions(long pk)
257 throws com.liferay.portal.SystemException;
258
259 public void removeSCProductVersion(long pk, long scProductVersionPK)
260 throws com.liferay.portal.SystemException;
261
262 public void removeSCProductVersion(long pk,
263 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
264 throws com.liferay.portal.SystemException;
265
266 public void removeSCProductVersions(long pk, long[] scProductVersionPKs)
267 throws com.liferay.portal.SystemException;
268
269 public void removeSCProductVersions(long pk,
270 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
271 throws com.liferay.portal.SystemException;
272
273 public void setSCProductVersions(long pk, long[] scProductVersionPKs)
274 throws com.liferay.portal.SystemException;
275
276 public void setSCProductVersions(long pk,
277 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
278 throws com.liferay.portal.SystemException;
279 }