1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion;
28
29
42 public interface SCFrameworkVersionPersistence extends BasePersistence<SCFrameworkVersion> {
43 public void cacheResult(
44 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions);
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
60 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
61 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
65 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
69 long frameworkVersionId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
72
73 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
74 long frameworkVersionId) throws com.liferay.portal.SystemException;
75
76 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
77 long groupId) throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
80 long groupId, int start, int end)
81 throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
84 long groupId, int start, int end,
85 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First(
89 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
92
93 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(
94 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
97
98 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
99 long frameworkVersionId, long groupId,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
103
104 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
105 long companyId) throws com.liferay.portal.SystemException;
106
107 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
108 long companyId, int start, int end)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
112 long companyId, int start, int end,
113 com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.SystemException;
115
116 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(
117 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
120
121 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
122 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
125
126 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
127 long frameworkVersionId, long companyId,
128 com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException,
130 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
131
132 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
133 long groupId, boolean active) throws com.liferay.portal.SystemException;
134
135 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
136 long groupId, boolean active, int start, int end)
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
140 long groupId, boolean active, int start, int end,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException;
143
144 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
145 long groupId, boolean active,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
149
150 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
151 long groupId, boolean active,
152 com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException,
154 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
155
156 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
157 long frameworkVersionId, long groupId, boolean active,
158 com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
161
162 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll()
163 throws com.liferay.portal.SystemException;
164
165 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
166 int start, int end) throws com.liferay.portal.SystemException;
167
168 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
169 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException;
171
172 public void removeByGroupId(long groupId)
173 throws com.liferay.portal.SystemException;
174
175 public void removeByCompanyId(long companyId)
176 throws com.liferay.portal.SystemException;
177
178 public void removeByG_A(long groupId, boolean active)
179 throws com.liferay.portal.SystemException;
180
181 public void removeAll() throws com.liferay.portal.SystemException;
182
183 public int countByGroupId(long groupId)
184 throws com.liferay.portal.SystemException;
185
186 public int countByCompanyId(long companyId)
187 throws com.liferay.portal.SystemException;
188
189 public int countByG_A(long groupId, boolean active)
190 throws com.liferay.portal.SystemException;
191
192 public int countAll() throws com.liferay.portal.SystemException;
193
194 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
195 long pk) throws com.liferay.portal.SystemException;
196
197 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
198 long pk, int start, int end) throws com.liferay.portal.SystemException;
199
200 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
201 long pk, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException;
204
205 public int getSCProductVersionsSize(long pk)
206 throws com.liferay.portal.SystemException;
207
208 public boolean containsSCProductVersion(long pk, long scProductVersionPK)
209 throws com.liferay.portal.SystemException;
210
211 public boolean containsSCProductVersions(long pk)
212 throws com.liferay.portal.SystemException;
213
214 public void addSCProductVersion(long pk, long scProductVersionPK)
215 throws com.liferay.portal.SystemException;
216
217 public void addSCProductVersion(long pk,
218 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
219 throws com.liferay.portal.SystemException;
220
221 public void addSCProductVersions(long pk, long[] scProductVersionPKs)
222 throws com.liferay.portal.SystemException;
223
224 public void addSCProductVersions(long pk,
225 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
226 throws com.liferay.portal.SystemException;
227
228 public void clearSCProductVersions(long pk)
229 throws com.liferay.portal.SystemException;
230
231 public void removeSCProductVersion(long pk, long scProductVersionPK)
232 throws com.liferay.portal.SystemException;
233
234 public void removeSCProductVersion(long pk,
235 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
236 throws com.liferay.portal.SystemException;
237
238 public void removeSCProductVersions(long pk, long[] scProductVersionPKs)
239 throws com.liferay.portal.SystemException;
240
241 public void removeSCProductVersions(long pk,
242 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
243 throws com.liferay.portal.SystemException;
244
245 public void setSCProductVersions(long pk, long[] scProductVersionPKs)
246 throws com.liferay.portal.SystemException;
247
248 public void setSCProductVersions(long pk,
249 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
250 throws com.liferay.portal.SystemException;
251 }