001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.softwarecatalog.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.softwarecatalog.model.SCProductEntry;
022    
023    /**
024     * The persistence interface for the s c product entry service.
025     *
026     * <p>
027     * Caching information and settings can be found in <code>portal.properties</code>
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see SCProductEntryPersistenceImpl
032     * @see SCProductEntryUtil
033     * @generated
034     */
035    @ProviderType
036    public interface SCProductEntryPersistence extends BasePersistence<SCProductEntry> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link SCProductEntryUtil} to access the s c product entry persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the s c product entries where groupId = &#63;.
045            *
046            * @param groupId the group ID
047            * @return the matching s c product entries
048            */
049            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
050                    long groupId);
051    
052            /**
053            * Returns a range of all the s c product entries where groupId = &#63;.
054            *
055            * <p>
056            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
057            * </p>
058            *
059            * @param groupId the group ID
060            * @param start the lower bound of the range of s c product entries
061            * @param end the upper bound of the range of s c product entries (not inclusive)
062            * @return the range of matching s c product entries
063            */
064            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
065                    long groupId, int start, int end);
066    
067            /**
068            * Returns an ordered range of all the s c product entries where groupId = &#63;.
069            *
070            * <p>
071            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
072            * </p>
073            *
074            * @param groupId the group ID
075            * @param start the lower bound of the range of s c product entries
076            * @param end the upper bound of the range of s c product entries (not inclusive)
077            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
078            * @return the ordered range of matching s c product entries
079            */
080            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
081                    long groupId, int start, int end,
082                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
083    
084            /**
085            * Returns the first s c product entry in the ordered set where groupId = &#63;.
086            *
087            * @param groupId the group ID
088            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
089            * @return the first matching s c product entry
090            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a matching s c product entry could not be found
091            */
092            public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(
093                    long groupId,
094                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
095                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
096    
097            /**
098            * Returns the first s c product entry in the ordered set where groupId = &#63;.
099            *
100            * @param groupId the group ID
101            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
102            * @return the first matching s c product entry, or <code>null</code> if a matching s c product entry could not be found
103            */
104            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByGroupId_First(
105                    long groupId,
106                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
107    
108            /**
109            * Returns the last s c product entry in the ordered set where groupId = &#63;.
110            *
111            * @param groupId the group ID
112            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
113            * @return the last matching s c product entry
114            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a matching s c product entry could not be found
115            */
116            public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(
117                    long groupId,
118                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
119                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
120    
121            /**
122            * Returns the last s c product entry in the ordered set where groupId = &#63;.
123            *
124            * @param groupId the group ID
125            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
126            * @return the last matching s c product entry, or <code>null</code> if a matching s c product entry could not be found
127            */
128            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByGroupId_Last(
129                    long groupId,
130                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
131    
132            /**
133            * Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = &#63;.
134            *
135            * @param productEntryId the primary key of the current s c product entry
136            * @param groupId the group ID
137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
138            * @return the previous, current, and next s c product entry
139            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a s c product entry with the primary key could not be found
140            */
141            public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(
142                    long productEntryId, long groupId,
143                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
144                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
145    
146            /**
147            * Returns all the s c product entries that the user has permission to view where groupId = &#63;.
148            *
149            * @param groupId the group ID
150            * @return the matching s c product entries that the user has permission to view
151            */
152            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(
153                    long groupId);
154    
155            /**
156            * Returns a range of all the s c product entries that the user has permission to view where groupId = &#63;.
157            *
158            * <p>
159            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
160            * </p>
161            *
162            * @param groupId the group ID
163            * @param start the lower bound of the range of s c product entries
164            * @param end the upper bound of the range of s c product entries (not inclusive)
165            * @return the range of matching s c product entries that the user has permission to view
166            */
167            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(
168                    long groupId, int start, int end);
169    
170            /**
171            * Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = &#63;.
172            *
173            * <p>
174            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
175            * </p>
176            *
177            * @param groupId the group ID
178            * @param start the lower bound of the range of s c product entries
179            * @param end the upper bound of the range of s c product entries (not inclusive)
180            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
181            * @return the ordered range of matching s c product entries that the user has permission to view
182            */
183            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(
184                    long groupId, int start, int end,
185                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
186    
187            /**
188            * Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = &#63;.
189            *
190            * @param productEntryId the primary key of the current s c product entry
191            * @param groupId the group ID
192            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
193            * @return the previous, current, and next s c product entry
194            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a s c product entry with the primary key could not be found
195            */
196            public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] filterFindByGroupId_PrevAndNext(
197                    long productEntryId, long groupId,
198                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
199                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
200    
201            /**
202            * Removes all the s c product entries where groupId = &#63; from the database.
203            *
204            * @param groupId the group ID
205            */
206            public void removeByGroupId(long groupId);
207    
208            /**
209            * Returns the number of s c product entries where groupId = &#63;.
210            *
211            * @param groupId the group ID
212            * @return the number of matching s c product entries
213            */
214            public int countByGroupId(long groupId);
215    
216            /**
217            * Returns the number of s c product entries that the user has permission to view where groupId = &#63;.
218            *
219            * @param groupId the group ID
220            * @return the number of matching s c product entries that the user has permission to view
221            */
222            public int filterCountByGroupId(long groupId);
223    
224            /**
225            * Returns all the s c product entries where companyId = &#63;.
226            *
227            * @param companyId the company ID
228            * @return the matching s c product entries
229            */
230            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
231                    long companyId);
232    
233            /**
234            * Returns a range of all the s c product entries where companyId = &#63;.
235            *
236            * <p>
237            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
238            * </p>
239            *
240            * @param companyId the company ID
241            * @param start the lower bound of the range of s c product entries
242            * @param end the upper bound of the range of s c product entries (not inclusive)
243            * @return the range of matching s c product entries
244            */
245            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
246                    long companyId, int start, int end);
247    
248            /**
249            * Returns an ordered range of all the s c product entries where companyId = &#63;.
250            *
251            * <p>
252            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
253            * </p>
254            *
255            * @param companyId the company ID
256            * @param start the lower bound of the range of s c product entries
257            * @param end the upper bound of the range of s c product entries (not inclusive)
258            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
259            * @return the ordered range of matching s c product entries
260            */
261            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
262                    long companyId, int start, int end,
263                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
264    
265            /**
266            * Returns the first s c product entry in the ordered set where companyId = &#63;.
267            *
268            * @param companyId the company ID
269            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
270            * @return the first matching s c product entry
271            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a matching s c product entry could not be found
272            */
273            public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(
274                    long companyId,
275                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
276                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
277    
278            /**
279            * Returns the first s c product entry in the ordered set where companyId = &#63;.
280            *
281            * @param companyId the company ID
282            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
283            * @return the first matching s c product entry, or <code>null</code> if a matching s c product entry could not be found
284            */
285            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByCompanyId_First(
286                    long companyId,
287                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
288    
289            /**
290            * Returns the last s c product entry in the ordered set where companyId = &#63;.
291            *
292            * @param companyId the company ID
293            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
294            * @return the last matching s c product entry
295            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a matching s c product entry could not be found
296            */
297            public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(
298                    long companyId,
299                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
300                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
301    
302            /**
303            * Returns the last s c product entry in the ordered set where companyId = &#63;.
304            *
305            * @param companyId the company ID
306            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
307            * @return the last matching s c product entry, or <code>null</code> if a matching s c product entry could not be found
308            */
309            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByCompanyId_Last(
310                    long companyId,
311                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
312    
313            /**
314            * Returns the s c product entries before and after the current s c product entry in the ordered set where companyId = &#63;.
315            *
316            * @param productEntryId the primary key of the current s c product entry
317            * @param companyId the company ID
318            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
319            * @return the previous, current, and next s c product entry
320            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a s c product entry with the primary key could not be found
321            */
322            public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(
323                    long productEntryId, long companyId,
324                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
325                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
326    
327            /**
328            * Removes all the s c product entries where companyId = &#63; from the database.
329            *
330            * @param companyId the company ID
331            */
332            public void removeByCompanyId(long companyId);
333    
334            /**
335            * Returns the number of s c product entries where companyId = &#63;.
336            *
337            * @param companyId the company ID
338            * @return the number of matching s c product entries
339            */
340            public int countByCompanyId(long companyId);
341    
342            /**
343            * Returns all the s c product entries where groupId = &#63; and userId = &#63;.
344            *
345            * @param groupId the group ID
346            * @param userId the user ID
347            * @return the matching s c product entries
348            */
349            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
350                    long groupId, long userId);
351    
352            /**
353            * Returns a range of all the s c product entries where groupId = &#63; and userId = &#63;.
354            *
355            * <p>
356            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
357            * </p>
358            *
359            * @param groupId the group ID
360            * @param userId the user ID
361            * @param start the lower bound of the range of s c product entries
362            * @param end the upper bound of the range of s c product entries (not inclusive)
363            * @return the range of matching s c product entries
364            */
365            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
366                    long groupId, long userId, int start, int end);
367    
368            /**
369            * Returns an ordered range of all the s c product entries where groupId = &#63; and userId = &#63;.
370            *
371            * <p>
372            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
373            * </p>
374            *
375            * @param groupId the group ID
376            * @param userId the user ID
377            * @param start the lower bound of the range of s c product entries
378            * @param end the upper bound of the range of s c product entries (not inclusive)
379            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
380            * @return the ordered range of matching s c product entries
381            */
382            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
383                    long groupId, long userId, int start, int end,
384                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
385    
386            /**
387            * Returns the first s c product entry in the ordered set where groupId = &#63; and userId = &#63;.
388            *
389            * @param groupId the group ID
390            * @param userId the user ID
391            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
392            * @return the first matching s c product entry
393            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a matching s c product entry could not be found
394            */
395            public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(
396                    long groupId, long userId,
397                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
398                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
399    
400            /**
401            * Returns the first s c product entry in the ordered set where groupId = &#63; and userId = &#63;.
402            *
403            * @param groupId the group ID
404            * @param userId the user ID
405            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
406            * @return the first matching s c product entry, or <code>null</code> if a matching s c product entry could not be found
407            */
408            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByG_U_First(
409                    long groupId, long userId,
410                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
411    
412            /**
413            * Returns the last s c product entry in the ordered set where groupId = &#63; and userId = &#63;.
414            *
415            * @param groupId the group ID
416            * @param userId the user ID
417            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
418            * @return the last matching s c product entry
419            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a matching s c product entry could not be found
420            */
421            public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(
422                    long groupId, long userId,
423                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
424                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
425    
426            /**
427            * Returns the last s c product entry in the ordered set where groupId = &#63; and userId = &#63;.
428            *
429            * @param groupId the group ID
430            * @param userId the user ID
431            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
432            * @return the last matching s c product entry, or <code>null</code> if a matching s c product entry could not be found
433            */
434            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByG_U_Last(
435                    long groupId, long userId,
436                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
437    
438            /**
439            * Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = &#63; and userId = &#63;.
440            *
441            * @param productEntryId the primary key of the current s c product entry
442            * @param groupId the group ID
443            * @param userId the user ID
444            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
445            * @return the previous, current, and next s c product entry
446            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a s c product entry with the primary key could not be found
447            */
448            public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(
449                    long productEntryId, long groupId, long userId,
450                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
451                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
452    
453            /**
454            * Returns all the s c product entries that the user has permission to view where groupId = &#63; and userId = &#63;.
455            *
456            * @param groupId the group ID
457            * @param userId the user ID
458            * @return the matching s c product entries that the user has permission to view
459            */
460            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(
461                    long groupId, long userId);
462    
463            /**
464            * Returns a range of all the s c product entries that the user has permission to view where groupId = &#63; and userId = &#63;.
465            *
466            * <p>
467            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
468            * </p>
469            *
470            * @param groupId the group ID
471            * @param userId the user ID
472            * @param start the lower bound of the range of s c product entries
473            * @param end the upper bound of the range of s c product entries (not inclusive)
474            * @return the range of matching s c product entries that the user has permission to view
475            */
476            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(
477                    long groupId, long userId, int start, int end);
478    
479            /**
480            * Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = &#63; and userId = &#63;.
481            *
482            * <p>
483            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
484            * </p>
485            *
486            * @param groupId the group ID
487            * @param userId the user ID
488            * @param start the lower bound of the range of s c product entries
489            * @param end the upper bound of the range of s c product entries (not inclusive)
490            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
491            * @return the ordered range of matching s c product entries that the user has permission to view
492            */
493            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(
494                    long groupId, long userId, int start, int end,
495                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
496    
497            /**
498            * Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = &#63; and userId = &#63;.
499            *
500            * @param productEntryId the primary key of the current s c product entry
501            * @param groupId the group ID
502            * @param userId the user ID
503            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
504            * @return the previous, current, and next s c product entry
505            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a s c product entry with the primary key could not be found
506            */
507            public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] filterFindByG_U_PrevAndNext(
508                    long productEntryId, long groupId, long userId,
509                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
510                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
511    
512            /**
513            * Removes all the s c product entries where groupId = &#63; and userId = &#63; from the database.
514            *
515            * @param groupId the group ID
516            * @param userId the user ID
517            */
518            public void removeByG_U(long groupId, long userId);
519    
520            /**
521            * Returns the number of s c product entries where groupId = &#63; and userId = &#63;.
522            *
523            * @param groupId the group ID
524            * @param userId the user ID
525            * @return the number of matching s c product entries
526            */
527            public int countByG_U(long groupId, long userId);
528    
529            /**
530            * Returns the number of s c product entries that the user has permission to view where groupId = &#63; and userId = &#63;.
531            *
532            * @param groupId the group ID
533            * @param userId the user ID
534            * @return the number of matching s c product entries that the user has permission to view
535            */
536            public int filterCountByG_U(long groupId, long userId);
537    
538            /**
539            * Returns the s c product entry where repoGroupId = &#63; and repoArtifactId = &#63; or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductEntryException} if it could not be found.
540            *
541            * @param repoGroupId the repo group ID
542            * @param repoArtifactId the repo artifact ID
543            * @return the matching s c product entry
544            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a matching s c product entry could not be found
545            */
546            public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(
547                    java.lang.String repoGroupId, java.lang.String repoArtifactId)
548                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
549    
550            /**
551            * Returns the s c product entry where repoGroupId = &#63; and repoArtifactId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
552            *
553            * @param repoGroupId the repo group ID
554            * @param repoArtifactId the repo artifact ID
555            * @return the matching s c product entry, or <code>null</code> if a matching s c product entry could not be found
556            */
557            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
558                    java.lang.String repoGroupId, java.lang.String repoArtifactId);
559    
560            /**
561            * Returns the s c product entry where repoGroupId = &#63; and repoArtifactId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
562            *
563            * @param repoGroupId the repo group ID
564            * @param repoArtifactId the repo artifact ID
565            * @param retrieveFromCache whether to use the finder cache
566            * @return the matching s c product entry, or <code>null</code> if a matching s c product entry could not be found
567            */
568            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
569                    java.lang.String repoGroupId, java.lang.String repoArtifactId,
570                    boolean retrieveFromCache);
571    
572            /**
573            * Removes the s c product entry where repoGroupId = &#63; and repoArtifactId = &#63; from the database.
574            *
575            * @param repoGroupId the repo group ID
576            * @param repoArtifactId the repo artifact ID
577            * @return the s c product entry that was removed
578            */
579            public com.liferay.portlet.softwarecatalog.model.SCProductEntry removeByRG_RA(
580                    java.lang.String repoGroupId, java.lang.String repoArtifactId)
581                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
582    
583            /**
584            * Returns the number of s c product entries where repoGroupId = &#63; and repoArtifactId = &#63;.
585            *
586            * @param repoGroupId the repo group ID
587            * @param repoArtifactId the repo artifact ID
588            * @return the number of matching s c product entries
589            */
590            public int countByRG_RA(java.lang.String repoGroupId,
591                    java.lang.String repoArtifactId);
592    
593            /**
594            * Caches the s c product entry in the entity cache if it is enabled.
595            *
596            * @param scProductEntry the s c product entry
597            */
598            public void cacheResult(
599                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry);
600    
601            /**
602            * Caches the s c product entries in the entity cache if it is enabled.
603            *
604            * @param scProductEntries the s c product entries
605            */
606            public void cacheResult(
607                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries);
608    
609            /**
610            * Creates a new s c product entry with the primary key. Does not add the s c product entry to the database.
611            *
612            * @param productEntryId the primary key for the new s c product entry
613            * @return the new s c product entry
614            */
615            public com.liferay.portlet.softwarecatalog.model.SCProductEntry create(
616                    long productEntryId);
617    
618            /**
619            * Removes the s c product entry with the primary key from the database. Also notifies the appropriate model listeners.
620            *
621            * @param productEntryId the primary key of the s c product entry
622            * @return the s c product entry that was removed
623            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a s c product entry with the primary key could not be found
624            */
625            public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(
626                    long productEntryId)
627                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
628    
629            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(
630                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry);
631    
632            /**
633            * Returns the s c product entry with the primary key or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductEntryException} if it could not be found.
634            *
635            * @param productEntryId the primary key of the s c product entry
636            * @return the s c product entry
637            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException if a s c product entry with the primary key could not be found
638            */
639            public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(
640                    long productEntryId)
641                    throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
642    
643            /**
644            * Returns the s c product entry with the primary key or returns <code>null</code> if it could not be found.
645            *
646            * @param productEntryId the primary key of the s c product entry
647            * @return the s c product entry, or <code>null</code> if a s c product entry with the primary key could not be found
648            */
649            public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(
650                    long productEntryId);
651    
652            @Override
653            public java.util.Map<java.io.Serializable, com.liferay.portlet.softwarecatalog.model.SCProductEntry> fetchByPrimaryKeys(
654                    java.util.Set<java.io.Serializable> primaryKeys);
655    
656            /**
657            * Returns all the s c product entries.
658            *
659            * @return the s c product entries
660            */
661            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll();
662    
663            /**
664            * Returns a range of all the s c product entries.
665            *
666            * <p>
667            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
668            * </p>
669            *
670            * @param start the lower bound of the range of s c product entries
671            * @param end the upper bound of the range of s c product entries (not inclusive)
672            * @return the range of s c product entries
673            */
674            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
675                    int start, int end);
676    
677            /**
678            * Returns an ordered range of all the s c product entries.
679            *
680            * <p>
681            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
682            * </p>
683            *
684            * @param start the lower bound of the range of s c product entries
685            * @param end the upper bound of the range of s c product entries (not inclusive)
686            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
687            * @return the ordered range of s c product entries
688            */
689            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
690                    int start, int end,
691                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator);
692    
693            /**
694            * Removes all the s c product entries from the database.
695            */
696            public void removeAll();
697    
698            /**
699            * Returns the number of s c product entries.
700            *
701            * @return the number of s c product entries
702            */
703            public int countAll();
704    
705            /**
706            * Returns the primaryKeys of s c licenses associated with the s c product entry.
707            *
708            * @param pk the primary key of the s c product entry
709            * @return long[] of the primaryKeys of s c licenses associated with the s c product entry
710            */
711            public long[] getSCLicensePrimaryKeys(long pk);
712    
713            /**
714            * Returns all the s c licenses associated with the s c product entry.
715            *
716            * @param pk the primary key of the s c product entry
717            * @return the s c licenses associated with the s c product entry
718            */
719            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
720                    long pk);
721    
722            /**
723            * Returns a range of all the s c licenses associated with the s c product entry.
724            *
725            * <p>
726            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
727            * </p>
728            *
729            * @param pk the primary key of the s c product entry
730            * @param start the lower bound of the range of s c product entries
731            * @param end the upper bound of the range of s c product entries (not inclusive)
732            * @return the range of s c licenses associated with the s c product entry
733            */
734            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
735                    long pk, int start, int end);
736    
737            /**
738            * Returns an ordered range of all the s c licenses associated with the s c product entry.
739            *
740            * <p>
741            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
742            * </p>
743            *
744            * @param pk the primary key of the s c product entry
745            * @param start the lower bound of the range of s c product entries
746            * @param end the upper bound of the range of s c product entries (not inclusive)
747            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
748            * @return the ordered range of s c licenses associated with the s c product entry
749            */
750            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
751                    long pk, int start, int end,
752                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator);
753    
754            /**
755            * Returns the number of s c licenses associated with the s c product entry.
756            *
757            * @param pk the primary key of the s c product entry
758            * @return the number of s c licenses associated with the s c product entry
759            */
760            public int getSCLicensesSize(long pk);
761    
762            /**
763            * Returns <code>true</code> if the s c license is associated with the s c product entry.
764            *
765            * @param pk the primary key of the s c product entry
766            * @param scLicensePK the primary key of the s c license
767            * @return <code>true</code> if the s c license is associated with the s c product entry; <code>false</code> otherwise
768            */
769            public boolean containsSCLicense(long pk, long scLicensePK);
770    
771            /**
772            * Returns <code>true</code> if the s c product entry has any s c licenses associated with it.
773            *
774            * @param pk the primary key of the s c product entry to check for associations with s c licenses
775            * @return <code>true</code> if the s c product entry has any s c licenses associated with it; <code>false</code> otherwise
776            */
777            public boolean containsSCLicenses(long pk);
778    
779            /**
780            * Adds an association between the s c product entry and the s c license. Also notifies the appropriate model listeners and clears the mapping table finder cache.
781            *
782            * @param pk the primary key of the s c product entry
783            * @param scLicensePK the primary key of the s c license
784            */
785            public void addSCLicense(long pk, long scLicensePK);
786    
787            /**
788            * Adds an association between the s c product entry and the s c license. Also notifies the appropriate model listeners and clears the mapping table finder cache.
789            *
790            * @param pk the primary key of the s c product entry
791            * @param scLicense the s c license
792            */
793            public void addSCLicense(long pk,
794                    com.liferay.portlet.softwarecatalog.model.SCLicense scLicense);
795    
796            /**
797            * Adds an association between the s c product entry and the s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.
798            *
799            * @param pk the primary key of the s c product entry
800            * @param scLicensePKs the primary keys of the s c licenses
801            */
802            public void addSCLicenses(long pk, long[] scLicensePKs);
803    
804            /**
805            * Adds an association between the s c product entry and the s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.
806            *
807            * @param pk the primary key of the s c product entry
808            * @param scLicenses the s c licenses
809            */
810            public void addSCLicenses(long pk,
811                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses);
812    
813            /**
814            * Clears all associations between the s c product entry and its s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.
815            *
816            * @param pk the primary key of the s c product entry to clear the associated s c licenses from
817            */
818            public void clearSCLicenses(long pk);
819    
820            /**
821            * Removes the association between the s c product entry and the s c license. Also notifies the appropriate model listeners and clears the mapping table finder cache.
822            *
823            * @param pk the primary key of the s c product entry
824            * @param scLicensePK the primary key of the s c license
825            */
826            public void removeSCLicense(long pk, long scLicensePK);
827    
828            /**
829            * Removes the association between the s c product entry and the s c license. Also notifies the appropriate model listeners and clears the mapping table finder cache.
830            *
831            * @param pk the primary key of the s c product entry
832            * @param scLicense the s c license
833            */
834            public void removeSCLicense(long pk,
835                    com.liferay.portlet.softwarecatalog.model.SCLicense scLicense);
836    
837            /**
838            * Removes the association between the s c product entry and the s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.
839            *
840            * @param pk the primary key of the s c product entry
841            * @param scLicensePKs the primary keys of the s c licenses
842            */
843            public void removeSCLicenses(long pk, long[] scLicensePKs);
844    
845            /**
846            * Removes the association between the s c product entry and the s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.
847            *
848            * @param pk the primary key of the s c product entry
849            * @param scLicenses the s c licenses
850            */
851            public void removeSCLicenses(long pk,
852                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses);
853    
854            /**
855            * Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
856            *
857            * @param pk the primary key of the s c product entry
858            * @param scLicensePKs the primary keys of the s c licenses to be associated with the s c product entry
859            */
860            public void setSCLicenses(long pk, long[] scLicensePKs);
861    
862            /**
863            * Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
864            *
865            * @param pk the primary key of the s c product entry
866            * @param scLicenses the s c licenses to be associated with the s c product entry
867            */
868            public void setSCLicenses(long pk,
869                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses);
870    }