001    /**
002     * Copyright (c) 2000-2012 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.Company;
023    import com.liferay.portal.service.ServiceContext;
024    
025    import java.util.List;
026    
027    /**
028     * The persistence utility for the company service. This utility wraps {@link CompanyPersistenceImpl} 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 CompanyPersistence
036     * @see CompanyPersistenceImpl
037     * @generated
038     */
039    public class CompanyUtil {
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(Company company) {
057                    getPersistence().clearCache(company);
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<Company> 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<Company> 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<Company> 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)
098             */
099            public static Company update(Company company) throws SystemException {
100                    return getPersistence().update(company);
101            }
102    
103            /**
104             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
105             */
106            public static Company update(Company company, ServiceContext serviceContext)
107                    throws SystemException {
108                    return getPersistence().update(company, serviceContext);
109            }
110    
111            /**
112            * Caches the company in the entity cache if it is enabled.
113            *
114            * @param company the company
115            */
116            public static void cacheResult(com.liferay.portal.model.Company company) {
117                    getPersistence().cacheResult(company);
118            }
119    
120            /**
121            * Caches the companies in the entity cache if it is enabled.
122            *
123            * @param companies the companies
124            */
125            public static void cacheResult(
126                    java.util.List<com.liferay.portal.model.Company> companies) {
127                    getPersistence().cacheResult(companies);
128            }
129    
130            /**
131            * Creates a new company with the primary key. Does not add the company to the database.
132            *
133            * @param companyId the primary key for the new company
134            * @return the new company
135            */
136            public static com.liferay.portal.model.Company create(long companyId) {
137                    return getPersistence().create(companyId);
138            }
139    
140            /**
141            * Removes the company with the primary key from the database. Also notifies the appropriate model listeners.
142            *
143            * @param companyId the primary key of the company
144            * @return the company that was removed
145            * @throws com.liferay.portal.NoSuchCompanyException if a company with the primary key could not be found
146            * @throws SystemException if a system exception occurred
147            */
148            public static com.liferay.portal.model.Company remove(long companyId)
149                    throws com.liferay.portal.NoSuchCompanyException,
150                            com.liferay.portal.kernel.exception.SystemException {
151                    return getPersistence().remove(companyId);
152            }
153    
154            public static com.liferay.portal.model.Company updateImpl(
155                    com.liferay.portal.model.Company company)
156                    throws com.liferay.portal.kernel.exception.SystemException {
157                    return getPersistence().updateImpl(company);
158            }
159    
160            /**
161            * Returns the company with the primary key or throws a {@link com.liferay.portal.NoSuchCompanyException} if it could not be found.
162            *
163            * @param companyId the primary key of the company
164            * @return the company
165            * @throws com.liferay.portal.NoSuchCompanyException if a company with the primary key could not be found
166            * @throws SystemException if a system exception occurred
167            */
168            public static com.liferay.portal.model.Company findByPrimaryKey(
169                    long companyId)
170                    throws com.liferay.portal.NoSuchCompanyException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    return getPersistence().findByPrimaryKey(companyId);
173            }
174    
175            /**
176            * Returns the company with the primary key or returns <code>null</code> if it could not be found.
177            *
178            * @param companyId the primary key of the company
179            * @return the company, or <code>null</code> if a company with the primary key could not be found
180            * @throws SystemException if a system exception occurred
181            */
182            public static com.liferay.portal.model.Company fetchByPrimaryKey(
183                    long companyId)
184                    throws com.liferay.portal.kernel.exception.SystemException {
185                    return getPersistence().fetchByPrimaryKey(companyId);
186            }
187    
188            /**
189            * Returns the company where webId = &#63; or throws a {@link com.liferay.portal.NoSuchCompanyException} if it could not be found.
190            *
191            * @param webId the web ID
192            * @return the matching company
193            * @throws com.liferay.portal.NoSuchCompanyException if a matching company could not be found
194            * @throws SystemException if a system exception occurred
195            */
196            public static com.liferay.portal.model.Company findByWebId(
197                    java.lang.String webId)
198                    throws com.liferay.portal.NoSuchCompanyException,
199                            com.liferay.portal.kernel.exception.SystemException {
200                    return getPersistence().findByWebId(webId);
201            }
202    
203            /**
204            * Returns the company where webId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
205            *
206            * @param webId the web ID
207            * @return the matching company, or <code>null</code> if a matching company could not be found
208            * @throws SystemException if a system exception occurred
209            */
210            public static com.liferay.portal.model.Company fetchByWebId(
211                    java.lang.String webId)
212                    throws com.liferay.portal.kernel.exception.SystemException {
213                    return getPersistence().fetchByWebId(webId);
214            }
215    
216            /**
217            * Returns the company where webId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
218            *
219            * @param webId the web ID
220            * @param retrieveFromCache whether to use the finder cache
221            * @return the matching company, or <code>null</code> if a matching company could not be found
222            * @throws SystemException if a system exception occurred
223            */
224            public static com.liferay.portal.model.Company fetchByWebId(
225                    java.lang.String webId, boolean retrieveFromCache)
226                    throws com.liferay.portal.kernel.exception.SystemException {
227                    return getPersistence().fetchByWebId(webId, retrieveFromCache);
228            }
229    
230            /**
231            * Returns the company where mx = &#63; or throws a {@link com.liferay.portal.NoSuchCompanyException} if it could not be found.
232            *
233            * @param mx the mx
234            * @return the matching company
235            * @throws com.liferay.portal.NoSuchCompanyException if a matching company could not be found
236            * @throws SystemException if a system exception occurred
237            */
238            public static com.liferay.portal.model.Company findByMx(java.lang.String mx)
239                    throws com.liferay.portal.NoSuchCompanyException,
240                            com.liferay.portal.kernel.exception.SystemException {
241                    return getPersistence().findByMx(mx);
242            }
243    
244            /**
245            * Returns the company where mx = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
246            *
247            * @param mx the mx
248            * @return the matching company, or <code>null</code> if a matching company could not be found
249            * @throws SystemException if a system exception occurred
250            */
251            public static com.liferay.portal.model.Company fetchByMx(
252                    java.lang.String mx)
253                    throws com.liferay.portal.kernel.exception.SystemException {
254                    return getPersistence().fetchByMx(mx);
255            }
256    
257            /**
258            * Returns the company where mx = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
259            *
260            * @param mx the mx
261            * @param retrieveFromCache whether to use the finder cache
262            * @return the matching company, or <code>null</code> if a matching company could not be found
263            * @throws SystemException if a system exception occurred
264            */
265            public static com.liferay.portal.model.Company fetchByMx(
266                    java.lang.String mx, boolean retrieveFromCache)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    return getPersistence().fetchByMx(mx, retrieveFromCache);
269            }
270    
271            /**
272            * Returns the company where logoId = &#63; or throws a {@link com.liferay.portal.NoSuchCompanyException} if it could not be found.
273            *
274            * @param logoId the logo ID
275            * @return the matching company
276            * @throws com.liferay.portal.NoSuchCompanyException if a matching company could not be found
277            * @throws SystemException if a system exception occurred
278            */
279            public static com.liferay.portal.model.Company findByLogoId(long logoId)
280                    throws com.liferay.portal.NoSuchCompanyException,
281                            com.liferay.portal.kernel.exception.SystemException {
282                    return getPersistence().findByLogoId(logoId);
283            }
284    
285            /**
286            * Returns the company where logoId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
287            *
288            * @param logoId the logo ID
289            * @return the matching company, or <code>null</code> if a matching company could not be found
290            * @throws SystemException if a system exception occurred
291            */
292            public static com.liferay.portal.model.Company fetchByLogoId(long logoId)
293                    throws com.liferay.portal.kernel.exception.SystemException {
294                    return getPersistence().fetchByLogoId(logoId);
295            }
296    
297            /**
298            * Returns the company where logoId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
299            *
300            * @param logoId the logo ID
301            * @param retrieveFromCache whether to use the finder cache
302            * @return the matching company, or <code>null</code> if a matching company could not be found
303            * @throws SystemException if a system exception occurred
304            */
305            public static com.liferay.portal.model.Company fetchByLogoId(long logoId,
306                    boolean retrieveFromCache)
307                    throws com.liferay.portal.kernel.exception.SystemException {
308                    return getPersistence().fetchByLogoId(logoId, retrieveFromCache);
309            }
310    
311            /**
312            * Returns all the companies where system = &#63;.
313            *
314            * @param system the system
315            * @return the matching companies
316            * @throws SystemException if a system exception occurred
317            */
318            public static java.util.List<com.liferay.portal.model.Company> findBySystem(
319                    boolean system)
320                    throws com.liferay.portal.kernel.exception.SystemException {
321                    return getPersistence().findBySystem(system);
322            }
323    
324            /**
325            * Returns a range of all the companies where system = &#63;.
326            *
327            * <p>
328            * 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.
329            * </p>
330            *
331            * @param system the system
332            * @param start the lower bound of the range of companies
333            * @param end the upper bound of the range of companies (not inclusive)
334            * @return the range of matching companies
335            * @throws SystemException if a system exception occurred
336            */
337            public static java.util.List<com.liferay.portal.model.Company> findBySystem(
338                    boolean system, int start, int end)
339                    throws com.liferay.portal.kernel.exception.SystemException {
340                    return getPersistence().findBySystem(system, start, end);
341            }
342    
343            /**
344            * Returns an ordered range of all the companies where system = &#63;.
345            *
346            * <p>
347            * 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.
348            * </p>
349            *
350            * @param system the system
351            * @param start the lower bound of the range of companies
352            * @param end the upper bound of the range of companies (not inclusive)
353            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
354            * @return the ordered range of matching companies
355            * @throws SystemException if a system exception occurred
356            */
357            public static java.util.List<com.liferay.portal.model.Company> findBySystem(
358                    boolean system, int start, int end,
359                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
360                    throws com.liferay.portal.kernel.exception.SystemException {
361                    return getPersistence()
362                                       .findBySystem(system, start, end, orderByComparator);
363            }
364    
365            /**
366            * Returns the first company in the ordered set where system = &#63;.
367            *
368            * @param system the system
369            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
370            * @return the first matching company
371            * @throws com.liferay.portal.NoSuchCompanyException if a matching company could not be found
372            * @throws SystemException if a system exception occurred
373            */
374            public static com.liferay.portal.model.Company findBySystem_First(
375                    boolean system,
376                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
377                    throws com.liferay.portal.NoSuchCompanyException,
378                            com.liferay.portal.kernel.exception.SystemException {
379                    return getPersistence().findBySystem_First(system, orderByComparator);
380            }
381    
382            /**
383            * Returns the first company in the ordered set where system = &#63;.
384            *
385            * @param system the system
386            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
387            * @return the first matching company, or <code>null</code> if a matching company could not be found
388            * @throws SystemException if a system exception occurred
389            */
390            public static com.liferay.portal.model.Company fetchBySystem_First(
391                    boolean system,
392                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
393                    throws com.liferay.portal.kernel.exception.SystemException {
394                    return getPersistence().fetchBySystem_First(system, orderByComparator);
395            }
396    
397            /**
398            * Returns the last company in the ordered set where system = &#63;.
399            *
400            * @param system the system
401            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
402            * @return the last matching company
403            * @throws com.liferay.portal.NoSuchCompanyException if a matching company could not be found
404            * @throws SystemException if a system exception occurred
405            */
406            public static com.liferay.portal.model.Company findBySystem_Last(
407                    boolean system,
408                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
409                    throws com.liferay.portal.NoSuchCompanyException,
410                            com.liferay.portal.kernel.exception.SystemException {
411                    return getPersistence().findBySystem_Last(system, orderByComparator);
412            }
413    
414            /**
415            * Returns the last company in the ordered set where system = &#63;.
416            *
417            * @param system the system
418            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
419            * @return the last matching company, or <code>null</code> if a matching company could not be found
420            * @throws SystemException if a system exception occurred
421            */
422            public static com.liferay.portal.model.Company fetchBySystem_Last(
423                    boolean system,
424                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
425                    throws com.liferay.portal.kernel.exception.SystemException {
426                    return getPersistence().fetchBySystem_Last(system, orderByComparator);
427            }
428    
429            /**
430            * Returns the companies before and after the current company in the ordered set where system = &#63;.
431            *
432            * @param companyId the primary key of the current company
433            * @param system the system
434            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
435            * @return the previous, current, and next company
436            * @throws com.liferay.portal.NoSuchCompanyException if a company with the primary key could not be found
437            * @throws SystemException if a system exception occurred
438            */
439            public static com.liferay.portal.model.Company[] findBySystem_PrevAndNext(
440                    long companyId, boolean system,
441                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
442                    throws com.liferay.portal.NoSuchCompanyException,
443                            com.liferay.portal.kernel.exception.SystemException {
444                    return getPersistence()
445                                       .findBySystem_PrevAndNext(companyId, system,
446                            orderByComparator);
447            }
448    
449            /**
450            * Returns all the companies.
451            *
452            * @return the companies
453            * @throws SystemException if a system exception occurred
454            */
455            public static java.util.List<com.liferay.portal.model.Company> findAll()
456                    throws com.liferay.portal.kernel.exception.SystemException {
457                    return getPersistence().findAll();
458            }
459    
460            /**
461            * Returns a range of all the companies.
462            *
463            * <p>
464            * 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.
465            * </p>
466            *
467            * @param start the lower bound of the range of companies
468            * @param end the upper bound of the range of companies (not inclusive)
469            * @return the range of companies
470            * @throws SystemException if a system exception occurred
471            */
472            public static java.util.List<com.liferay.portal.model.Company> findAll(
473                    int start, int end)
474                    throws com.liferay.portal.kernel.exception.SystemException {
475                    return getPersistence().findAll(start, end);
476            }
477    
478            /**
479            * Returns an ordered range of all the companies.
480            *
481            * <p>
482            * 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.
483            * </p>
484            *
485            * @param start the lower bound of the range of companies
486            * @param end the upper bound of the range of companies (not inclusive)
487            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
488            * @return the ordered range of companies
489            * @throws SystemException if a system exception occurred
490            */
491            public static java.util.List<com.liferay.portal.model.Company> findAll(
492                    int start, int end,
493                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
494                    throws com.liferay.portal.kernel.exception.SystemException {
495                    return getPersistence().findAll(start, end, orderByComparator);
496            }
497    
498            /**
499            * Removes the company where webId = &#63; from the database.
500            *
501            * @param webId the web ID
502            * @return the company that was removed
503            * @throws SystemException if a system exception occurred
504            */
505            public static com.liferay.portal.model.Company removeByWebId(
506                    java.lang.String webId)
507                    throws com.liferay.portal.NoSuchCompanyException,
508                            com.liferay.portal.kernel.exception.SystemException {
509                    return getPersistence().removeByWebId(webId);
510            }
511    
512            /**
513            * Removes the company where mx = &#63; from the database.
514            *
515            * @param mx the mx
516            * @return the company that was removed
517            * @throws SystemException if a system exception occurred
518            */
519            public static com.liferay.portal.model.Company removeByMx(
520                    java.lang.String mx)
521                    throws com.liferay.portal.NoSuchCompanyException,
522                            com.liferay.portal.kernel.exception.SystemException {
523                    return getPersistence().removeByMx(mx);
524            }
525    
526            /**
527            * Removes the company where logoId = &#63; from the database.
528            *
529            * @param logoId the logo ID
530            * @return the company that was removed
531            * @throws SystemException if a system exception occurred
532            */
533            public static com.liferay.portal.model.Company removeByLogoId(long logoId)
534                    throws com.liferay.portal.NoSuchCompanyException,
535                            com.liferay.portal.kernel.exception.SystemException {
536                    return getPersistence().removeByLogoId(logoId);
537            }
538    
539            /**
540            * Removes all the companies where system = &#63; from the database.
541            *
542            * @param system the system
543            * @throws SystemException if a system exception occurred
544            */
545            public static void removeBySystem(boolean system)
546                    throws com.liferay.portal.kernel.exception.SystemException {
547                    getPersistence().removeBySystem(system);
548            }
549    
550            /**
551            * Removes all the companies from the database.
552            *
553            * @throws SystemException if a system exception occurred
554            */
555            public static void removeAll()
556                    throws com.liferay.portal.kernel.exception.SystemException {
557                    getPersistence().removeAll();
558            }
559    
560            /**
561            * Returns the number of companies where webId = &#63;.
562            *
563            * @param webId the web ID
564            * @return the number of matching companies
565            * @throws SystemException if a system exception occurred
566            */
567            public static int countByWebId(java.lang.String webId)
568                    throws com.liferay.portal.kernel.exception.SystemException {
569                    return getPersistence().countByWebId(webId);
570            }
571    
572            /**
573            * Returns the number of companies where mx = &#63;.
574            *
575            * @param mx the mx
576            * @return the number of matching companies
577            * @throws SystemException if a system exception occurred
578            */
579            public static int countByMx(java.lang.String mx)
580                    throws com.liferay.portal.kernel.exception.SystemException {
581                    return getPersistence().countByMx(mx);
582            }
583    
584            /**
585            * Returns the number of companies where logoId = &#63;.
586            *
587            * @param logoId the logo ID
588            * @return the number of matching companies
589            * @throws SystemException if a system exception occurred
590            */
591            public static int countByLogoId(long logoId)
592                    throws com.liferay.portal.kernel.exception.SystemException {
593                    return getPersistence().countByLogoId(logoId);
594            }
595    
596            /**
597            * Returns the number of companies where system = &#63;.
598            *
599            * @param system the system
600            * @return the number of matching companies
601            * @throws SystemException if a system exception occurred
602            */
603            public static int countBySystem(boolean system)
604                    throws com.liferay.portal.kernel.exception.SystemException {
605                    return getPersistence().countBySystem(system);
606            }
607    
608            /**
609            * Returns the number of companies.
610            *
611            * @return the number of companies
612            * @throws SystemException if a system exception occurred
613            */
614            public static int countAll()
615                    throws com.liferay.portal.kernel.exception.SystemException {
616                    return getPersistence().countAll();
617            }
618    
619            public static CompanyPersistence getPersistence() {
620                    if (_persistence == null) {
621                            _persistence = (CompanyPersistence)PortalBeanLocatorUtil.locate(CompanyPersistence.class.getName());
622    
623                            ReferenceRegistry.registerReference(CompanyUtil.class,
624                                    "_persistence");
625                    }
626    
627                    return _persistence;
628            }
629    
630            /**
631             * @deprecated
632             */
633            public void setPersistence(CompanyPersistence persistence) {
634            }
635    
636            private static CompanyPersistence _persistence;
637    }