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