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