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