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.SCFrameworkVersion;
20
21
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> findByCompanyId(
95 long companyId)
96 throws com.liferay.portal.kernel.exception.SystemException;
97
98 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
99 long companyId, int start, int end)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
103 long companyId, int start, int end,
104 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105 throws com.liferay.portal.kernel.exception.SystemException;
106
107 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(
108 long companyId,
109 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
110 throws com.liferay.portal.kernel.exception.SystemException,
111 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
112
113 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
114 long companyId,
115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116 throws com.liferay.portal.kernel.exception.SystemException,
117 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
118
119 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
120 long frameworkVersionId, long companyId,
121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122 throws com.liferay.portal.kernel.exception.SystemException,
123 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
124
125 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
126 long groupId, boolean active)
127 throws com.liferay.portal.kernel.exception.SystemException;
128
129 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
130 long groupId, boolean active, int start, int end)
131 throws com.liferay.portal.kernel.exception.SystemException;
132
133 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
134 long groupId, boolean active, int start, int end,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
139 long groupId, boolean active,
140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141 throws com.liferay.portal.kernel.exception.SystemException,
142 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
143
144 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
145 long groupId, boolean active,
146 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147 throws com.liferay.portal.kernel.exception.SystemException,
148 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
149
150 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
151 long frameworkVersionId, long groupId, boolean active,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException,
154 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
155
156 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll()
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
160 int start, int end)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
164 int start, int end,
165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 public void removeByGroupId(long groupId)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 public void removeByCompanyId(long companyId)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public void removeByG_A(long groupId, boolean active)
175 throws com.liferay.portal.kernel.exception.SystemException;
176
177 public void removeAll()
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public int countByGroupId(long groupId)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public int countByCompanyId(long companyId)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public int countByG_A(long groupId, boolean active)
187 throws com.liferay.portal.kernel.exception.SystemException;
188
189 public int countAll()
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
193 long pk) throws com.liferay.portal.kernel.exception.SystemException;
194
195 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
196 long pk, int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException;
198
199 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
200 long pk, int start, int end,
201 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
202 throws com.liferay.portal.kernel.exception.SystemException;
203
204 public int getSCProductVersionsSize(long pk)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207 public boolean containsSCProductVersion(long pk, long scProductVersionPK)
208 throws com.liferay.portal.kernel.exception.SystemException;
209
210 public boolean containsSCProductVersions(long pk)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213 public void addSCProductVersion(long pk, long scProductVersionPK)
214 throws com.liferay.portal.kernel.exception.SystemException;
215
216 public void addSCProductVersion(long pk,
217 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
218 throws com.liferay.portal.kernel.exception.SystemException;
219
220 public void addSCProductVersions(long pk, long[] scProductVersionPKs)
221 throws com.liferay.portal.kernel.exception.SystemException;
222
223 public void addSCProductVersions(long pk,
224 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
225 throws com.liferay.portal.kernel.exception.SystemException;
226
227 public void clearSCProductVersions(long pk)
228 throws com.liferay.portal.kernel.exception.SystemException;
229
230 public void removeSCProductVersion(long pk, long scProductVersionPK)
231 throws com.liferay.portal.kernel.exception.SystemException;
232
233 public void removeSCProductVersion(long pk,
234 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
235 throws com.liferay.portal.kernel.exception.SystemException;
236
237 public void removeSCProductVersions(long pk, long[] scProductVersionPKs)
238 throws com.liferay.portal.kernel.exception.SystemException;
239
240 public void removeSCProductVersions(long pk,
241 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
242 throws com.liferay.portal.kernel.exception.SystemException;
243
244 public void setSCProductVersions(long pk, long[] scProductVersionPKs)
245 throws com.liferay.portal.kernel.exception.SystemException;
246
247 public void setSCProductVersions(long pk,
248 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
249 throws com.liferay.portal.kernel.exception.SystemException;
250 }