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.portal.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.exception.NoSuchWebsiteException;
020    import com.liferay.portal.model.Website;
021    
022    /**
023     * The persistence interface for the website service.
024     *
025     * <p>
026     * Caching information and settings can be found in <code>portal.properties</code>
027     * </p>
028     *
029     * @author Brian Wing Shun Chan
030     * @see com.liferay.portal.service.persistence.impl.WebsitePersistenceImpl
031     * @see WebsiteUtil
032     * @generated
033     */
034    @ProviderType
035    public interface WebsitePersistence extends BasePersistence<Website> {
036            /*
037             * NOTE FOR DEVELOPERS:
038             *
039             * Never modify or reference this interface directly. Always use {@link WebsiteUtil} to access the website persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
040             */
041    
042            /**
043            * Returns all the websites where uuid = &#63;.
044            *
045            * @param uuid the uuid
046            * @return the matching websites
047            */
048            public java.util.List<Website> findByUuid(java.lang.String uuid);
049    
050            /**
051            * Returns a range of all the websites where uuid = &#63;.
052            *
053            * <p>
054            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
055            * </p>
056            *
057            * @param uuid the uuid
058            * @param start the lower bound of the range of websites
059            * @param end the upper bound of the range of websites (not inclusive)
060            * @return the range of matching websites
061            */
062            public java.util.List<Website> findByUuid(java.lang.String uuid, int start,
063                    int end);
064    
065            /**
066            * Returns an ordered range of all the websites where uuid = &#63;.
067            *
068            * <p>
069            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
070            * </p>
071            *
072            * @param uuid the uuid
073            * @param start the lower bound of the range of websites
074            * @param end the upper bound of the range of websites (not inclusive)
075            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
076            * @return the ordered range of matching websites
077            */
078            public java.util.List<Website> findByUuid(java.lang.String uuid, int start,
079                    int end,
080                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
081    
082            /**
083            * Returns an ordered range of all the websites where uuid = &#63;.
084            *
085            * <p>
086            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
087            * </p>
088            *
089            * @param uuid the uuid
090            * @param start the lower bound of the range of websites
091            * @param end the upper bound of the range of websites (not inclusive)
092            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
093            * @param retrieveFromCache whether to retrieve from the finder cache
094            * @return the ordered range of matching websites
095            */
096            public java.util.List<Website> findByUuid(java.lang.String uuid, int start,
097                    int end,
098                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator,
099                    boolean retrieveFromCache);
100    
101            /**
102            * Returns the first website in the ordered set where uuid = &#63;.
103            *
104            * @param uuid the uuid
105            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
106            * @return the first matching website
107            * @throws NoSuchWebsiteException if a matching website could not be found
108            */
109            public Website findByUuid_First(java.lang.String uuid,
110                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
111                    throws NoSuchWebsiteException;
112    
113            /**
114            * Returns the first website in the ordered set where uuid = &#63;.
115            *
116            * @param uuid the uuid
117            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
118            * @return the first matching website, or <code>null</code> if a matching website could not be found
119            */
120            public Website fetchByUuid_First(java.lang.String uuid,
121                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
122    
123            /**
124            * Returns the last website in the ordered set where uuid = &#63;.
125            *
126            * @param uuid the uuid
127            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
128            * @return the last matching website
129            * @throws NoSuchWebsiteException if a matching website could not be found
130            */
131            public Website findByUuid_Last(java.lang.String uuid,
132                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
133                    throws NoSuchWebsiteException;
134    
135            /**
136            * Returns the last website in the ordered set where uuid = &#63;.
137            *
138            * @param uuid the uuid
139            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
140            * @return the last matching website, or <code>null</code> if a matching website could not be found
141            */
142            public Website fetchByUuid_Last(java.lang.String uuid,
143                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
144    
145            /**
146            * Returns the websites before and after the current website in the ordered set where uuid = &#63;.
147            *
148            * @param websiteId the primary key of the current website
149            * @param uuid the uuid
150            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
151            * @return the previous, current, and next website
152            * @throws NoSuchWebsiteException if a website with the primary key could not be found
153            */
154            public Website[] findByUuid_PrevAndNext(long websiteId,
155                    java.lang.String uuid,
156                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
157                    throws NoSuchWebsiteException;
158    
159            /**
160            * Removes all the websites where uuid = &#63; from the database.
161            *
162            * @param uuid the uuid
163            */
164            public void removeByUuid(java.lang.String uuid);
165    
166            /**
167            * Returns the number of websites where uuid = &#63;.
168            *
169            * @param uuid the uuid
170            * @return the number of matching websites
171            */
172            public int countByUuid(java.lang.String uuid);
173    
174            /**
175            * Returns all the websites where uuid = &#63; and companyId = &#63;.
176            *
177            * @param uuid the uuid
178            * @param companyId the company ID
179            * @return the matching websites
180            */
181            public java.util.List<Website> findByUuid_C(java.lang.String uuid,
182                    long companyId);
183    
184            /**
185            * Returns a range of all the websites where uuid = &#63; and companyId = &#63;.
186            *
187            * <p>
188            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
189            * </p>
190            *
191            * @param uuid the uuid
192            * @param companyId the company ID
193            * @param start the lower bound of the range of websites
194            * @param end the upper bound of the range of websites (not inclusive)
195            * @return the range of matching websites
196            */
197            public java.util.List<Website> findByUuid_C(java.lang.String uuid,
198                    long companyId, int start, int end);
199    
200            /**
201            * Returns an ordered range of all the websites where uuid = &#63; and companyId = &#63;.
202            *
203            * <p>
204            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
205            * </p>
206            *
207            * @param uuid the uuid
208            * @param companyId the company ID
209            * @param start the lower bound of the range of websites
210            * @param end the upper bound of the range of websites (not inclusive)
211            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
212            * @return the ordered range of matching websites
213            */
214            public java.util.List<Website> findByUuid_C(java.lang.String uuid,
215                    long companyId, int start, int end,
216                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
217    
218            /**
219            * Returns an ordered range of all the websites where uuid = &#63; and companyId = &#63;.
220            *
221            * <p>
222            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
223            * </p>
224            *
225            * @param uuid the uuid
226            * @param companyId the company ID
227            * @param start the lower bound of the range of websites
228            * @param end the upper bound of the range of websites (not inclusive)
229            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
230            * @param retrieveFromCache whether to retrieve from the finder cache
231            * @return the ordered range of matching websites
232            */
233            public java.util.List<Website> findByUuid_C(java.lang.String uuid,
234                    long companyId, int start, int end,
235                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator,
236                    boolean retrieveFromCache);
237    
238            /**
239            * Returns the first website in the ordered set where uuid = &#63; and companyId = &#63;.
240            *
241            * @param uuid the uuid
242            * @param companyId the company ID
243            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
244            * @return the first matching website
245            * @throws NoSuchWebsiteException if a matching website could not be found
246            */
247            public Website findByUuid_C_First(java.lang.String uuid, long companyId,
248                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
249                    throws NoSuchWebsiteException;
250    
251            /**
252            * Returns the first website in the ordered set where uuid = &#63; and companyId = &#63;.
253            *
254            * @param uuid the uuid
255            * @param companyId the company ID
256            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
257            * @return the first matching website, or <code>null</code> if a matching website could not be found
258            */
259            public Website fetchByUuid_C_First(java.lang.String uuid, long companyId,
260                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
261    
262            /**
263            * Returns the last website in the ordered set where uuid = &#63; and companyId = &#63;.
264            *
265            * @param uuid the uuid
266            * @param companyId the company ID
267            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
268            * @return the last matching website
269            * @throws NoSuchWebsiteException if a matching website could not be found
270            */
271            public Website findByUuid_C_Last(java.lang.String uuid, long companyId,
272                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
273                    throws NoSuchWebsiteException;
274    
275            /**
276            * Returns the last website in the ordered set where uuid = &#63; and companyId = &#63;.
277            *
278            * @param uuid the uuid
279            * @param companyId the company ID
280            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
281            * @return the last matching website, or <code>null</code> if a matching website could not be found
282            */
283            public Website fetchByUuid_C_Last(java.lang.String uuid, long companyId,
284                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
285    
286            /**
287            * Returns the websites before and after the current website in the ordered set where uuid = &#63; and companyId = &#63;.
288            *
289            * @param websiteId the primary key of the current website
290            * @param uuid the uuid
291            * @param companyId the company ID
292            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
293            * @return the previous, current, and next website
294            * @throws NoSuchWebsiteException if a website with the primary key could not be found
295            */
296            public Website[] findByUuid_C_PrevAndNext(long websiteId,
297                    java.lang.String uuid, long companyId,
298                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
299                    throws NoSuchWebsiteException;
300    
301            /**
302            * Removes all the websites where uuid = &#63; and companyId = &#63; from the database.
303            *
304            * @param uuid the uuid
305            * @param companyId the company ID
306            */
307            public void removeByUuid_C(java.lang.String uuid, long companyId);
308    
309            /**
310            * Returns the number of websites where uuid = &#63; and companyId = &#63;.
311            *
312            * @param uuid the uuid
313            * @param companyId the company ID
314            * @return the number of matching websites
315            */
316            public int countByUuid_C(java.lang.String uuid, long companyId);
317    
318            /**
319            * Returns all the websites where companyId = &#63;.
320            *
321            * @param companyId the company ID
322            * @return the matching websites
323            */
324            public java.util.List<Website> findByCompanyId(long companyId);
325    
326            /**
327            * Returns a range of all the websites where companyId = &#63;.
328            *
329            * <p>
330            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
331            * </p>
332            *
333            * @param companyId the company ID
334            * @param start the lower bound of the range of websites
335            * @param end the upper bound of the range of websites (not inclusive)
336            * @return the range of matching websites
337            */
338            public java.util.List<Website> findByCompanyId(long companyId, int start,
339                    int end);
340    
341            /**
342            * Returns an ordered range of all the websites where companyId = &#63;.
343            *
344            * <p>
345            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
346            * </p>
347            *
348            * @param companyId the company ID
349            * @param start the lower bound of the range of websites
350            * @param end the upper bound of the range of websites (not inclusive)
351            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
352            * @return the ordered range of matching websites
353            */
354            public java.util.List<Website> findByCompanyId(long companyId, int start,
355                    int end,
356                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
357    
358            /**
359            * Returns an ordered range of all the websites where companyId = &#63;.
360            *
361            * <p>
362            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
363            * </p>
364            *
365            * @param companyId the company ID
366            * @param start the lower bound of the range of websites
367            * @param end the upper bound of the range of websites (not inclusive)
368            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
369            * @param retrieveFromCache whether to retrieve from the finder cache
370            * @return the ordered range of matching websites
371            */
372            public java.util.List<Website> findByCompanyId(long companyId, int start,
373                    int end,
374                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator,
375                    boolean retrieveFromCache);
376    
377            /**
378            * Returns the first website in the ordered set where companyId = &#63;.
379            *
380            * @param companyId the company ID
381            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
382            * @return the first matching website
383            * @throws NoSuchWebsiteException if a matching website could not be found
384            */
385            public Website findByCompanyId_First(long companyId,
386                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
387                    throws NoSuchWebsiteException;
388    
389            /**
390            * Returns the first website in the ordered set where companyId = &#63;.
391            *
392            * @param companyId the company ID
393            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
394            * @return the first matching website, or <code>null</code> if a matching website could not be found
395            */
396            public Website fetchByCompanyId_First(long companyId,
397                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
398    
399            /**
400            * Returns the last website in the ordered set where companyId = &#63;.
401            *
402            * @param companyId the company ID
403            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
404            * @return the last matching website
405            * @throws NoSuchWebsiteException if a matching website could not be found
406            */
407            public Website findByCompanyId_Last(long companyId,
408                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
409                    throws NoSuchWebsiteException;
410    
411            /**
412            * Returns the last website in the ordered set where companyId = &#63;.
413            *
414            * @param companyId the company ID
415            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
416            * @return the last matching website, or <code>null</code> if a matching website could not be found
417            */
418            public Website fetchByCompanyId_Last(long companyId,
419                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
420    
421            /**
422            * Returns the websites before and after the current website in the ordered set where companyId = &#63;.
423            *
424            * @param websiteId the primary key of the current website
425            * @param companyId the company ID
426            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
427            * @return the previous, current, and next website
428            * @throws NoSuchWebsiteException if a website with the primary key could not be found
429            */
430            public Website[] findByCompanyId_PrevAndNext(long websiteId,
431                    long companyId,
432                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
433                    throws NoSuchWebsiteException;
434    
435            /**
436            * Removes all the websites where companyId = &#63; from the database.
437            *
438            * @param companyId the company ID
439            */
440            public void removeByCompanyId(long companyId);
441    
442            /**
443            * Returns the number of websites where companyId = &#63;.
444            *
445            * @param companyId the company ID
446            * @return the number of matching websites
447            */
448            public int countByCompanyId(long companyId);
449    
450            /**
451            * Returns all the websites where userId = &#63;.
452            *
453            * @param userId the user ID
454            * @return the matching websites
455            */
456            public java.util.List<Website> findByUserId(long userId);
457    
458            /**
459            * Returns a range of all the websites where userId = &#63;.
460            *
461            * <p>
462            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
463            * </p>
464            *
465            * @param userId the user ID
466            * @param start the lower bound of the range of websites
467            * @param end the upper bound of the range of websites (not inclusive)
468            * @return the range of matching websites
469            */
470            public java.util.List<Website> findByUserId(long userId, int start, int end);
471    
472            /**
473            * Returns an ordered range of all the websites where userId = &#63;.
474            *
475            * <p>
476            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
477            * </p>
478            *
479            * @param userId the user ID
480            * @param start the lower bound of the range of websites
481            * @param end the upper bound of the range of websites (not inclusive)
482            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
483            * @return the ordered range of matching websites
484            */
485            public java.util.List<Website> findByUserId(long userId, int start,
486                    int end,
487                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
488    
489            /**
490            * Returns an ordered range of all the websites where userId = &#63;.
491            *
492            * <p>
493            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
494            * </p>
495            *
496            * @param userId the user ID
497            * @param start the lower bound of the range of websites
498            * @param end the upper bound of the range of websites (not inclusive)
499            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
500            * @param retrieveFromCache whether to retrieve from the finder cache
501            * @return the ordered range of matching websites
502            */
503            public java.util.List<Website> findByUserId(long userId, int start,
504                    int end,
505                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator,
506                    boolean retrieveFromCache);
507    
508            /**
509            * Returns the first website in the ordered set where userId = &#63;.
510            *
511            * @param userId the user ID
512            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
513            * @return the first matching website
514            * @throws NoSuchWebsiteException if a matching website could not be found
515            */
516            public Website findByUserId_First(long userId,
517                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
518                    throws NoSuchWebsiteException;
519    
520            /**
521            * Returns the first website in the ordered set where userId = &#63;.
522            *
523            * @param userId the user ID
524            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
525            * @return the first matching website, or <code>null</code> if a matching website could not be found
526            */
527            public Website fetchByUserId_First(long userId,
528                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
529    
530            /**
531            * Returns the last website in the ordered set where userId = &#63;.
532            *
533            * @param userId the user ID
534            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
535            * @return the last matching website
536            * @throws NoSuchWebsiteException if a matching website could not be found
537            */
538            public Website findByUserId_Last(long userId,
539                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
540                    throws NoSuchWebsiteException;
541    
542            /**
543            * Returns the last website in the ordered set where userId = &#63;.
544            *
545            * @param userId the user ID
546            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
547            * @return the last matching website, or <code>null</code> if a matching website could not be found
548            */
549            public Website fetchByUserId_Last(long userId,
550                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
551    
552            /**
553            * Returns the websites before and after the current website in the ordered set where userId = &#63;.
554            *
555            * @param websiteId the primary key of the current website
556            * @param userId the user ID
557            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
558            * @return the previous, current, and next website
559            * @throws NoSuchWebsiteException if a website with the primary key could not be found
560            */
561            public Website[] findByUserId_PrevAndNext(long websiteId, long userId,
562                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
563                    throws NoSuchWebsiteException;
564    
565            /**
566            * Removes all the websites where userId = &#63; from the database.
567            *
568            * @param userId the user ID
569            */
570            public void removeByUserId(long userId);
571    
572            /**
573            * Returns the number of websites where userId = &#63;.
574            *
575            * @param userId the user ID
576            * @return the number of matching websites
577            */
578            public int countByUserId(long userId);
579    
580            /**
581            * Returns all the websites where companyId = &#63; and classNameId = &#63;.
582            *
583            * @param companyId the company ID
584            * @param classNameId the class name ID
585            * @return the matching websites
586            */
587            public java.util.List<Website> findByC_C(long companyId, long classNameId);
588    
589            /**
590            * Returns a range of all the websites where companyId = &#63; and classNameId = &#63;.
591            *
592            * <p>
593            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
594            * </p>
595            *
596            * @param companyId the company ID
597            * @param classNameId the class name ID
598            * @param start the lower bound of the range of websites
599            * @param end the upper bound of the range of websites (not inclusive)
600            * @return the range of matching websites
601            */
602            public java.util.List<Website> findByC_C(long companyId, long classNameId,
603                    int start, int end);
604    
605            /**
606            * Returns an ordered range of all the websites where companyId = &#63; and classNameId = &#63;.
607            *
608            * <p>
609            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
610            * </p>
611            *
612            * @param companyId the company ID
613            * @param classNameId the class name ID
614            * @param start the lower bound of the range of websites
615            * @param end the upper bound of the range of websites (not inclusive)
616            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
617            * @return the ordered range of matching websites
618            */
619            public java.util.List<Website> findByC_C(long companyId, long classNameId,
620                    int start, int end,
621                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
622    
623            /**
624            * Returns an ordered range of all the websites where companyId = &#63; and classNameId = &#63;.
625            *
626            * <p>
627            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
628            * </p>
629            *
630            * @param companyId the company ID
631            * @param classNameId the class name ID
632            * @param start the lower bound of the range of websites
633            * @param end the upper bound of the range of websites (not inclusive)
634            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
635            * @param retrieveFromCache whether to retrieve from the finder cache
636            * @return the ordered range of matching websites
637            */
638            public java.util.List<Website> findByC_C(long companyId, long classNameId,
639                    int start, int end,
640                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator,
641                    boolean retrieveFromCache);
642    
643            /**
644            * Returns the first website in the ordered set where companyId = &#63; and classNameId = &#63;.
645            *
646            * @param companyId the company ID
647            * @param classNameId the class name ID
648            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
649            * @return the first matching website
650            * @throws NoSuchWebsiteException if a matching website could not be found
651            */
652            public Website findByC_C_First(long companyId, long classNameId,
653                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
654                    throws NoSuchWebsiteException;
655    
656            /**
657            * Returns the first website in the ordered set where companyId = &#63; and classNameId = &#63;.
658            *
659            * @param companyId the company ID
660            * @param classNameId the class name ID
661            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
662            * @return the first matching website, or <code>null</code> if a matching website could not be found
663            */
664            public Website fetchByC_C_First(long companyId, long classNameId,
665                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
666    
667            /**
668            * Returns the last website in the ordered set where companyId = &#63; and classNameId = &#63;.
669            *
670            * @param companyId the company ID
671            * @param classNameId the class name ID
672            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
673            * @return the last matching website
674            * @throws NoSuchWebsiteException if a matching website could not be found
675            */
676            public Website findByC_C_Last(long companyId, long classNameId,
677                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
678                    throws NoSuchWebsiteException;
679    
680            /**
681            * Returns the last website in the ordered set where companyId = &#63; and classNameId = &#63;.
682            *
683            * @param companyId the company ID
684            * @param classNameId the class name ID
685            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
686            * @return the last matching website, or <code>null</code> if a matching website could not be found
687            */
688            public Website fetchByC_C_Last(long companyId, long classNameId,
689                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
690    
691            /**
692            * Returns the websites before and after the current website in the ordered set where companyId = &#63; and classNameId = &#63;.
693            *
694            * @param websiteId the primary key of the current website
695            * @param companyId the company ID
696            * @param classNameId the class name ID
697            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
698            * @return the previous, current, and next website
699            * @throws NoSuchWebsiteException if a website with the primary key could not be found
700            */
701            public Website[] findByC_C_PrevAndNext(long websiteId, long companyId,
702                    long classNameId,
703                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
704                    throws NoSuchWebsiteException;
705    
706            /**
707            * Removes all the websites where companyId = &#63; and classNameId = &#63; from the database.
708            *
709            * @param companyId the company ID
710            * @param classNameId the class name ID
711            */
712            public void removeByC_C(long companyId, long classNameId);
713    
714            /**
715            * Returns the number of websites where companyId = &#63; and classNameId = &#63;.
716            *
717            * @param companyId the company ID
718            * @param classNameId the class name ID
719            * @return the number of matching websites
720            */
721            public int countByC_C(long companyId, long classNameId);
722    
723            /**
724            * Returns all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
725            *
726            * @param companyId the company ID
727            * @param classNameId the class name ID
728            * @param classPK the class p k
729            * @return the matching websites
730            */
731            public java.util.List<Website> findByC_C_C(long companyId,
732                    long classNameId, long classPK);
733    
734            /**
735            * Returns a range of all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
736            *
737            * <p>
738            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
739            * </p>
740            *
741            * @param companyId the company ID
742            * @param classNameId the class name ID
743            * @param classPK the class p k
744            * @param start the lower bound of the range of websites
745            * @param end the upper bound of the range of websites (not inclusive)
746            * @return the range of matching websites
747            */
748            public java.util.List<Website> findByC_C_C(long companyId,
749                    long classNameId, long classPK, int start, int end);
750    
751            /**
752            * Returns an ordered range of all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
753            *
754            * <p>
755            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
756            * </p>
757            *
758            * @param companyId the company ID
759            * @param classNameId the class name ID
760            * @param classPK the class p k
761            * @param start the lower bound of the range of websites
762            * @param end the upper bound of the range of websites (not inclusive)
763            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
764            * @return the ordered range of matching websites
765            */
766            public java.util.List<Website> findByC_C_C(long companyId,
767                    long classNameId, long classPK, int start, int end,
768                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
769    
770            /**
771            * Returns an ordered range of all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
772            *
773            * <p>
774            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
775            * </p>
776            *
777            * @param companyId the company ID
778            * @param classNameId the class name ID
779            * @param classPK the class p k
780            * @param start the lower bound of the range of websites
781            * @param end the upper bound of the range of websites (not inclusive)
782            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
783            * @param retrieveFromCache whether to retrieve from the finder cache
784            * @return the ordered range of matching websites
785            */
786            public java.util.List<Website> findByC_C_C(long companyId,
787                    long classNameId, long classPK, int start, int end,
788                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator,
789                    boolean retrieveFromCache);
790    
791            /**
792            * Returns the first website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
793            *
794            * @param companyId the company ID
795            * @param classNameId the class name ID
796            * @param classPK the class p k
797            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
798            * @return the first matching website
799            * @throws NoSuchWebsiteException if a matching website could not be found
800            */
801            public Website findByC_C_C_First(long companyId, long classNameId,
802                    long classPK,
803                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
804                    throws NoSuchWebsiteException;
805    
806            /**
807            * Returns the first website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
808            *
809            * @param companyId the company ID
810            * @param classNameId the class name ID
811            * @param classPK the class p k
812            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
813            * @return the first matching website, or <code>null</code> if a matching website could not be found
814            */
815            public Website fetchByC_C_C_First(long companyId, long classNameId,
816                    long classPK,
817                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
818    
819            /**
820            * Returns the last website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
821            *
822            * @param companyId the company ID
823            * @param classNameId the class name ID
824            * @param classPK the class p k
825            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
826            * @return the last matching website
827            * @throws NoSuchWebsiteException if a matching website could not be found
828            */
829            public Website findByC_C_C_Last(long companyId, long classNameId,
830                    long classPK,
831                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
832                    throws NoSuchWebsiteException;
833    
834            /**
835            * Returns the last website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
836            *
837            * @param companyId the company ID
838            * @param classNameId the class name ID
839            * @param classPK the class p k
840            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
841            * @return the last matching website, or <code>null</code> if a matching website could not be found
842            */
843            public Website fetchByC_C_C_Last(long companyId, long classNameId,
844                    long classPK,
845                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
846    
847            /**
848            * Returns the websites before and after the current website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
849            *
850            * @param websiteId the primary key of the current website
851            * @param companyId the company ID
852            * @param classNameId the class name ID
853            * @param classPK the class p k
854            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
855            * @return the previous, current, and next website
856            * @throws NoSuchWebsiteException if a website with the primary key could not be found
857            */
858            public Website[] findByC_C_C_PrevAndNext(long websiteId, long companyId,
859                    long classNameId, long classPK,
860                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
861                    throws NoSuchWebsiteException;
862    
863            /**
864            * Removes all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63; from the database.
865            *
866            * @param companyId the company ID
867            * @param classNameId the class name ID
868            * @param classPK the class p k
869            */
870            public void removeByC_C_C(long companyId, long classNameId, long classPK);
871    
872            /**
873            * Returns the number of websites where companyId = &#63; and classNameId = &#63; and classPK = &#63;.
874            *
875            * @param companyId the company ID
876            * @param classNameId the class name ID
877            * @param classPK the class p k
878            * @return the number of matching websites
879            */
880            public int countByC_C_C(long companyId, long classNameId, long classPK);
881    
882            /**
883            * Returns all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
884            *
885            * @param companyId the company ID
886            * @param classNameId the class name ID
887            * @param classPK the class p k
888            * @param primary the primary
889            * @return the matching websites
890            */
891            public java.util.List<Website> findByC_C_C_P(long companyId,
892                    long classNameId, long classPK, boolean primary);
893    
894            /**
895            * Returns a range of all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
896            *
897            * <p>
898            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
899            * </p>
900            *
901            * @param companyId the company ID
902            * @param classNameId the class name ID
903            * @param classPK the class p k
904            * @param primary the primary
905            * @param start the lower bound of the range of websites
906            * @param end the upper bound of the range of websites (not inclusive)
907            * @return the range of matching websites
908            */
909            public java.util.List<Website> findByC_C_C_P(long companyId,
910                    long classNameId, long classPK, boolean primary, int start, int end);
911    
912            /**
913            * Returns an ordered range of all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
914            *
915            * <p>
916            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
917            * </p>
918            *
919            * @param companyId the company ID
920            * @param classNameId the class name ID
921            * @param classPK the class p k
922            * @param primary the primary
923            * @param start the lower bound of the range of websites
924            * @param end the upper bound of the range of websites (not inclusive)
925            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
926            * @return the ordered range of matching websites
927            */
928            public java.util.List<Website> findByC_C_C_P(long companyId,
929                    long classNameId, long classPK, boolean primary, int start, int end,
930                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
931    
932            /**
933            * Returns an ordered range of all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
934            *
935            * <p>
936            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
937            * </p>
938            *
939            * @param companyId the company ID
940            * @param classNameId the class name ID
941            * @param classPK the class p k
942            * @param primary the primary
943            * @param start the lower bound of the range of websites
944            * @param end the upper bound of the range of websites (not inclusive)
945            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
946            * @param retrieveFromCache whether to retrieve from the finder cache
947            * @return the ordered range of matching websites
948            */
949            public java.util.List<Website> findByC_C_C_P(long companyId,
950                    long classNameId, long classPK, boolean primary, int start, int end,
951                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator,
952                    boolean retrieveFromCache);
953    
954            /**
955            * Returns the first website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
956            *
957            * @param companyId the company ID
958            * @param classNameId the class name ID
959            * @param classPK the class p k
960            * @param primary the primary
961            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
962            * @return the first matching website
963            * @throws NoSuchWebsiteException if a matching website could not be found
964            */
965            public Website findByC_C_C_P_First(long companyId, long classNameId,
966                    long classPK, boolean primary,
967                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
968                    throws NoSuchWebsiteException;
969    
970            /**
971            * Returns the first website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
972            *
973            * @param companyId the company ID
974            * @param classNameId the class name ID
975            * @param classPK the class p k
976            * @param primary the primary
977            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
978            * @return the first matching website, or <code>null</code> if a matching website could not be found
979            */
980            public Website fetchByC_C_C_P_First(long companyId, long classNameId,
981                    long classPK, boolean primary,
982                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
983    
984            /**
985            * Returns the last website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
986            *
987            * @param companyId the company ID
988            * @param classNameId the class name ID
989            * @param classPK the class p k
990            * @param primary the primary
991            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
992            * @return the last matching website
993            * @throws NoSuchWebsiteException if a matching website could not be found
994            */
995            public Website findByC_C_C_P_Last(long companyId, long classNameId,
996                    long classPK, boolean primary,
997                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
998                    throws NoSuchWebsiteException;
999    
1000            /**
1001            * Returns the last website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
1002            *
1003            * @param companyId the company ID
1004            * @param classNameId the class name ID
1005            * @param classPK the class p k
1006            * @param primary the primary
1007            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1008            * @return the last matching website, or <code>null</code> if a matching website could not be found
1009            */
1010            public Website fetchByC_C_C_P_Last(long companyId, long classNameId,
1011                    long classPK, boolean primary,
1012                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
1013    
1014            /**
1015            * Returns the websites before and after the current website in the ordered set where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
1016            *
1017            * @param websiteId the primary key of the current website
1018            * @param companyId the company ID
1019            * @param classNameId the class name ID
1020            * @param classPK the class p k
1021            * @param primary the primary
1022            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1023            * @return the previous, current, and next website
1024            * @throws NoSuchWebsiteException if a website with the primary key could not be found
1025            */
1026            public Website[] findByC_C_C_P_PrevAndNext(long websiteId, long companyId,
1027                    long classNameId, long classPK, boolean primary,
1028                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator)
1029                    throws NoSuchWebsiteException;
1030    
1031            /**
1032            * Removes all the websites where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63; from the database.
1033            *
1034            * @param companyId the company ID
1035            * @param classNameId the class name ID
1036            * @param classPK the class p k
1037            * @param primary the primary
1038            */
1039            public void removeByC_C_C_P(long companyId, long classNameId, long classPK,
1040                    boolean primary);
1041    
1042            /**
1043            * Returns the number of websites where companyId = &#63; and classNameId = &#63; and classPK = &#63; and primary = &#63;.
1044            *
1045            * @param companyId the company ID
1046            * @param classNameId the class name ID
1047            * @param classPK the class p k
1048            * @param primary the primary
1049            * @return the number of matching websites
1050            */
1051            public int countByC_C_C_P(long companyId, long classNameId, long classPK,
1052                    boolean primary);
1053    
1054            /**
1055            * Caches the website in the entity cache if it is enabled.
1056            *
1057            * @param website the website
1058            */
1059            public void cacheResult(Website website);
1060    
1061            /**
1062            * Caches the websites in the entity cache if it is enabled.
1063            *
1064            * @param websites the websites
1065            */
1066            public void cacheResult(java.util.List<Website> websites);
1067    
1068            /**
1069            * Creates a new website with the primary key. Does not add the website to the database.
1070            *
1071            * @param websiteId the primary key for the new website
1072            * @return the new website
1073            */
1074            public Website create(long websiteId);
1075    
1076            /**
1077            * Removes the website with the primary key from the database. Also notifies the appropriate model listeners.
1078            *
1079            * @param websiteId the primary key of the website
1080            * @return the website that was removed
1081            * @throws NoSuchWebsiteException if a website with the primary key could not be found
1082            */
1083            public Website remove(long websiteId) throws NoSuchWebsiteException;
1084    
1085            public Website updateImpl(Website website);
1086    
1087            /**
1088            * Returns the website with the primary key or throws a {@link NoSuchWebsiteException} if it could not be found.
1089            *
1090            * @param websiteId the primary key of the website
1091            * @return the website
1092            * @throws NoSuchWebsiteException if a website with the primary key could not be found
1093            */
1094            public Website findByPrimaryKey(long websiteId)
1095                    throws NoSuchWebsiteException;
1096    
1097            /**
1098            * Returns the website with the primary key or returns <code>null</code> if it could not be found.
1099            *
1100            * @param websiteId the primary key of the website
1101            * @return the website, or <code>null</code> if a website with the primary key could not be found
1102            */
1103            public Website fetchByPrimaryKey(long websiteId);
1104    
1105            @Override
1106            public java.util.Map<java.io.Serializable, Website> fetchByPrimaryKeys(
1107                    java.util.Set<java.io.Serializable> primaryKeys);
1108    
1109            /**
1110            * Returns all the websites.
1111            *
1112            * @return the websites
1113            */
1114            public java.util.List<Website> findAll();
1115    
1116            /**
1117            * Returns a range of all the websites.
1118            *
1119            * <p>
1120            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
1121            * </p>
1122            *
1123            * @param start the lower bound of the range of websites
1124            * @param end the upper bound of the range of websites (not inclusive)
1125            * @return the range of websites
1126            */
1127            public java.util.List<Website> findAll(int start, int end);
1128    
1129            /**
1130            * Returns an ordered range of all the websites.
1131            *
1132            * <p>
1133            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
1134            * </p>
1135            *
1136            * @param start the lower bound of the range of websites
1137            * @param end the upper bound of the range of websites (not inclusive)
1138            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1139            * @return the ordered range of websites
1140            */
1141            public java.util.List<Website> findAll(int start, int end,
1142                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator);
1143    
1144            /**
1145            * Returns an ordered range of all the websites.
1146            *
1147            * <p>
1148            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link WebsiteModelImpl}. 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.
1149            * </p>
1150            *
1151            * @param start the lower bound of the range of websites
1152            * @param end the upper bound of the range of websites (not inclusive)
1153            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1154            * @param retrieveFromCache whether to retrieve from the finder cache
1155            * @return the ordered range of websites
1156            */
1157            public java.util.List<Website> findAll(int start, int end,
1158                    com.liferay.portal.kernel.util.OrderByComparator<Website> orderByComparator,
1159                    boolean retrieveFromCache);
1160    
1161            /**
1162            * Removes all the websites from the database.
1163            */
1164            public void removeAll();
1165    
1166            /**
1167            * Returns the number of websites.
1168            *
1169            * @return the number of websites
1170            */
1171            public int countAll();
1172    
1173            @Override
1174            public java.util.Set<java.lang.String> getBadColumnNames();
1175    }