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