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;
016    
017    /**
018     * Provides a wrapper for {@link PasswordPolicyLocalService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see PasswordPolicyLocalService
022     * @generated
023     */
024    public class PasswordPolicyLocalServiceWrapper
025            implements PasswordPolicyLocalService,
026                    ServiceWrapper<PasswordPolicyLocalService> {
027            public PasswordPolicyLocalServiceWrapper(
028                    PasswordPolicyLocalService passwordPolicyLocalService) {
029                    _passwordPolicyLocalService = passwordPolicyLocalService;
030            }
031    
032            /**
033            * Adds the password policy to the database. Also notifies the appropriate model listeners.
034            *
035            * @param passwordPolicy the password policy
036            * @return the password policy that was added
037            * @throws SystemException if a system exception occurred
038            */
039            @Override
040            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
041                    com.liferay.portal.model.PasswordPolicy passwordPolicy)
042                    throws com.liferay.portal.kernel.exception.SystemException {
043                    return _passwordPolicyLocalService.addPasswordPolicy(passwordPolicy);
044            }
045    
046            /**
047            * Creates a new password policy with the primary key. Does not add the password policy to the database.
048            *
049            * @param passwordPolicyId the primary key for the new password policy
050            * @return the new password policy
051            */
052            @Override
053            public com.liferay.portal.model.PasswordPolicy createPasswordPolicy(
054                    long passwordPolicyId) {
055                    return _passwordPolicyLocalService.createPasswordPolicy(passwordPolicyId);
056            }
057    
058            /**
059            * Deletes the password policy with the primary key from the database. Also notifies the appropriate model listeners.
060            *
061            * @param passwordPolicyId the primary key of the password policy
062            * @return the password policy that was removed
063            * @throws PortalException if a password policy with the primary key could not be found
064            * @throws SystemException if a system exception occurred
065            */
066            @Override
067            public com.liferay.portal.model.PasswordPolicy deletePasswordPolicy(
068                    long passwordPolicyId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    return _passwordPolicyLocalService.deletePasswordPolicy(passwordPolicyId);
072            }
073    
074            /**
075            * Deletes the password policy from the database. Also notifies the appropriate model listeners.
076            *
077            * @param passwordPolicy the password policy
078            * @return the password policy that was removed
079            * @throws PortalException
080            * @throws SystemException if a system exception occurred
081            */
082            @Override
083            public com.liferay.portal.model.PasswordPolicy deletePasswordPolicy(
084                    com.liferay.portal.model.PasswordPolicy passwordPolicy)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _passwordPolicyLocalService.deletePasswordPolicy(passwordPolicy);
088            }
089    
090            @Override
091            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
092                    return _passwordPolicyLocalService.dynamicQuery();
093            }
094    
095            /**
096            * Performs a dynamic query on the database and returns the matching rows.
097            *
098            * @param dynamicQuery the dynamic query
099            * @return the matching rows
100            * @throws SystemException if a system exception occurred
101            */
102            @Override
103            @SuppressWarnings("rawtypes")
104            public java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _passwordPolicyLocalService.dynamicQuery(dynamicQuery);
108            }
109    
110            /**
111            * Performs a dynamic query on the database and returns a range of the matching rows.
112            *
113            * <p>
114            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.PasswordPolicyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
115            * </p>
116            *
117            * @param dynamicQuery the dynamic query
118            * @param start the lower bound of the range of model instances
119            * @param end the upper bound of the range of model instances (not inclusive)
120            * @return the range of matching rows
121            * @throws SystemException if a system exception occurred
122            */
123            @Override
124            @SuppressWarnings("rawtypes")
125            public java.util.List dynamicQuery(
126                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127                    int end) throws com.liferay.portal.kernel.exception.SystemException {
128                    return _passwordPolicyLocalService.dynamicQuery(dynamicQuery, start, end);
129            }
130    
131            /**
132            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
133            *
134            * <p>
135            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.PasswordPolicyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
136            * </p>
137            *
138            * @param dynamicQuery the dynamic query
139            * @param start the lower bound of the range of model instances
140            * @param end the upper bound of the range of model instances (not inclusive)
141            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
142            * @return the ordered range of matching rows
143            * @throws SystemException if a system exception occurred
144            */
145            @Override
146            @SuppressWarnings("rawtypes")
147            public java.util.List dynamicQuery(
148                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
149                    int end,
150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151                    throws com.liferay.portal.kernel.exception.SystemException {
152                    return _passwordPolicyLocalService.dynamicQuery(dynamicQuery, start,
153                            end, orderByComparator);
154            }
155    
156            /**
157            * Returns the number of rows that match the dynamic query.
158            *
159            * @param dynamicQuery the dynamic query
160            * @return the number of rows that match the dynamic query
161            * @throws SystemException if a system exception occurred
162            */
163            @Override
164            public long dynamicQueryCount(
165                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _passwordPolicyLocalService.dynamicQueryCount(dynamicQuery);
168            }
169    
170            /**
171            * Returns the number of rows that match the dynamic query.
172            *
173            * @param dynamicQuery the dynamic query
174            * @param projection the projection to apply to the query
175            * @return the number of rows that match the dynamic query
176            * @throws SystemException if a system exception occurred
177            */
178            @Override
179            public long dynamicQueryCount(
180                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181                    com.liferay.portal.kernel.dao.orm.Projection projection)
182                    throws com.liferay.portal.kernel.exception.SystemException {
183                    return _passwordPolicyLocalService.dynamicQueryCount(dynamicQuery,
184                            projection);
185            }
186    
187            @Override
188            public com.liferay.portal.model.PasswordPolicy fetchPasswordPolicy(
189                    long passwordPolicyId)
190                    throws com.liferay.portal.kernel.exception.SystemException {
191                    return _passwordPolicyLocalService.fetchPasswordPolicy(passwordPolicyId);
192            }
193    
194            /**
195            * Returns the password policy with the matching UUID and company.
196            *
197            * @param uuid the password policy's UUID
198            * @param companyId the primary key of the company
199            * @return the matching password policy, or <code>null</code> if a matching password policy could not be found
200            * @throws SystemException if a system exception occurred
201            */
202            @Override
203            public com.liferay.portal.model.PasswordPolicy fetchPasswordPolicyByUuidAndCompanyId(
204                    java.lang.String uuid, long companyId)
205                    throws com.liferay.portal.kernel.exception.SystemException {
206                    return _passwordPolicyLocalService.fetchPasswordPolicyByUuidAndCompanyId(uuid,
207                            companyId);
208            }
209    
210            /**
211            * Returns the password policy with the primary key.
212            *
213            * @param passwordPolicyId the primary key of the password policy
214            * @return the password policy
215            * @throws PortalException if a password policy with the primary key could not be found
216            * @throws SystemException if a system exception occurred
217            */
218            @Override
219            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy(
220                    long passwordPolicyId)
221                    throws com.liferay.portal.kernel.exception.PortalException,
222                            com.liferay.portal.kernel.exception.SystemException {
223                    return _passwordPolicyLocalService.getPasswordPolicy(passwordPolicyId);
224            }
225    
226            @Override
227            public com.liferay.portal.model.PersistedModel getPersistedModel(
228                    java.io.Serializable primaryKeyObj)
229                    throws com.liferay.portal.kernel.exception.PortalException,
230                            com.liferay.portal.kernel.exception.SystemException {
231                    return _passwordPolicyLocalService.getPersistedModel(primaryKeyObj);
232            }
233    
234            /**
235            * Returns the password policy with the matching UUID and company.
236            *
237            * @param uuid the password policy's UUID
238            * @param companyId the primary key of the company
239            * @return the matching password policy
240            * @throws PortalException if a matching password policy could not be found
241            * @throws SystemException if a system exception occurred
242            */
243            @Override
244            public com.liferay.portal.model.PasswordPolicy getPasswordPolicyByUuidAndCompanyId(
245                    java.lang.String uuid, long companyId)
246                    throws com.liferay.portal.kernel.exception.PortalException,
247                            com.liferay.portal.kernel.exception.SystemException {
248                    return _passwordPolicyLocalService.getPasswordPolicyByUuidAndCompanyId(uuid,
249                            companyId);
250            }
251    
252            /**
253            * Returns a range of all the password policies.
254            *
255            * <p>
256            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.PasswordPolicyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
257            * </p>
258            *
259            * @param start the lower bound of the range of password policies
260            * @param end the upper bound of the range of password policies (not inclusive)
261            * @return the range of password policies
262            * @throws SystemException if a system exception occurred
263            */
264            @Override
265            public java.util.List<com.liferay.portal.model.PasswordPolicy> getPasswordPolicies(
266                    int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    return _passwordPolicyLocalService.getPasswordPolicies(start, end);
269            }
270    
271            /**
272            * Returns the number of password policies.
273            *
274            * @return the number of password policies
275            * @throws SystemException if a system exception occurred
276            */
277            @Override
278            public int getPasswordPoliciesCount()
279                    throws com.liferay.portal.kernel.exception.SystemException {
280                    return _passwordPolicyLocalService.getPasswordPoliciesCount();
281            }
282    
283            /**
284            * Updates the password policy in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
285            *
286            * @param passwordPolicy the password policy
287            * @return the password policy that was updated
288            * @throws SystemException if a system exception occurred
289            */
290            @Override
291            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
292                    com.liferay.portal.model.PasswordPolicy passwordPolicy)
293                    throws com.liferay.portal.kernel.exception.SystemException {
294                    return _passwordPolicyLocalService.updatePasswordPolicy(passwordPolicy);
295            }
296    
297            /**
298            * Returns the Spring bean ID for this bean.
299            *
300            * @return the Spring bean ID for this bean
301            */
302            @Override
303            public java.lang.String getBeanIdentifier() {
304                    return _passwordPolicyLocalService.getBeanIdentifier();
305            }
306    
307            /**
308            * Sets the Spring bean ID for this bean.
309            *
310            * @param beanIdentifier the Spring bean ID for this bean
311            */
312            @Override
313            public void setBeanIdentifier(java.lang.String beanIdentifier) {
314                    _passwordPolicyLocalService.setBeanIdentifier(beanIdentifier);
315            }
316    
317            /**
318            * @deprecated As of 6.2.0, replaced by {@link #addPasswordPolicy(long,
319            boolean, String, String, boolean, boolean, long, boolean,
320            boolean, int, int, int, int, int, int, String, boolean, int,
321            boolean, long, long, int, boolean, int, long, long, long,
322            ServiceContext)}
323            */
324            @Override
325            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
326                    long userId, boolean defaultPolicy, java.lang.String name,
327                    java.lang.String description, boolean changeable,
328                    boolean changeRequired, long minAge, boolean checkSyntax,
329                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
330                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
331                    boolean history, int historyCount, boolean expireable, long maxAge,
332                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
333                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
334                    throws com.liferay.portal.kernel.exception.PortalException,
335                            com.liferay.portal.kernel.exception.SystemException {
336                    return _passwordPolicyLocalService.addPasswordPolicy(userId,
337                            defaultPolicy, name, description, changeable, changeRequired,
338                            minAge, checkSyntax, allowDictionaryWords, minAlphanumeric,
339                            minLength, minLowerCase, minNumbers, minSymbols, minUpperCase,
340                            history, historyCount, expireable, maxAge, warningTime, graceLimit,
341                            lockout, maxFailure, lockoutDuration, resetFailureCount,
342                            resetTicketMaxAge);
343            }
344    
345            @Override
346            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
347                    long userId, boolean defaultPolicy, java.lang.String name,
348                    java.lang.String description, boolean changeable,
349                    boolean changeRequired, long minAge, boolean checkSyntax,
350                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
351                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
352                    java.lang.String regex, boolean history, int historyCount,
353                    boolean expireable, long maxAge, long warningTime, int graceLimit,
354                    boolean lockout, int maxFailure, long lockoutDuration,
355                    long resetFailureCount, long resetTicketMaxAge,
356                    com.liferay.portal.service.ServiceContext serviceContext)
357                    throws com.liferay.portal.kernel.exception.PortalException,
358                            com.liferay.portal.kernel.exception.SystemException {
359                    return _passwordPolicyLocalService.addPasswordPolicy(userId,
360                            defaultPolicy, name, description, changeable, changeRequired,
361                            minAge, checkSyntax, allowDictionaryWords, minAlphanumeric,
362                            minLength, minLowerCase, minNumbers, minSymbols, minUpperCase,
363                            regex, history, historyCount, expireable, maxAge, warningTime,
364                            graceLimit, lockout, maxFailure, lockoutDuration,
365                            resetFailureCount, resetTicketMaxAge, serviceContext);
366            }
367    
368            @Override
369            public void checkDefaultPasswordPolicy(long companyId)
370                    throws com.liferay.portal.kernel.exception.PortalException,
371                            com.liferay.portal.kernel.exception.SystemException {
372                    _passwordPolicyLocalService.checkDefaultPasswordPolicy(companyId);
373            }
374    
375            @Override
376            public void deleteNondefaultPasswordPolicies(long companyId)
377                    throws com.liferay.portal.kernel.exception.PortalException,
378                            com.liferay.portal.kernel.exception.SystemException {
379                    _passwordPolicyLocalService.deleteNondefaultPasswordPolicies(companyId);
380            }
381    
382            @Override
383            public com.liferay.portal.model.PasswordPolicy fetchPasswordPolicy(
384                    long companyId, java.lang.String name)
385                    throws com.liferay.portal.kernel.exception.SystemException {
386                    return _passwordPolicyLocalService.fetchPasswordPolicy(companyId, name);
387            }
388    
389            @Override
390            public com.liferay.portal.model.PasswordPolicy getDefaultPasswordPolicy(
391                    long companyId)
392                    throws com.liferay.portal.kernel.exception.PortalException,
393                            com.liferay.portal.kernel.exception.SystemException {
394                    return _passwordPolicyLocalService.getDefaultPasswordPolicy(companyId);
395            }
396    
397            /**
398            * @deprecated As of 6.1.0
399            */
400            @Override
401            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy(
402                    long companyId, long organizationId, long locationId)
403                    throws com.liferay.portal.kernel.exception.PortalException,
404                            com.liferay.portal.kernel.exception.SystemException {
405                    return _passwordPolicyLocalService.getPasswordPolicy(companyId,
406                            organizationId, locationId);
407            }
408    
409            @Override
410            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy(
411                    long companyId, long[] organizationIds)
412                    throws com.liferay.portal.kernel.exception.PortalException,
413                            com.liferay.portal.kernel.exception.SystemException {
414                    return _passwordPolicyLocalService.getPasswordPolicy(companyId,
415                            organizationIds);
416            }
417    
418            @Override
419            public com.liferay.portal.model.PasswordPolicy getPasswordPolicyByUserId(
420                    long userId)
421                    throws com.liferay.portal.kernel.exception.PortalException,
422                            com.liferay.portal.kernel.exception.SystemException {
423                    return _passwordPolicyLocalService.getPasswordPolicyByUserId(userId);
424            }
425    
426            @Override
427            public java.util.List<com.liferay.portal.model.PasswordPolicy> search(
428                    long companyId, java.lang.String name, int start, int end,
429                    com.liferay.portal.kernel.util.OrderByComparator obc)
430                    throws com.liferay.portal.kernel.exception.SystemException {
431                    return _passwordPolicyLocalService.search(companyId, name, start, end,
432                            obc);
433            }
434    
435            @Override
436            public int searchCount(long companyId, java.lang.String name)
437                    throws com.liferay.portal.kernel.exception.SystemException {
438                    return _passwordPolicyLocalService.searchCount(companyId, name);
439            }
440    
441            /**
442            * @deprecated As of 6.2.0, replaced by {@link #updatePasswordPolicy(long,
443            String, String, boolean, boolean, long, boolean, boolean,
444            int, int, int, int, int, int, String, boolean, int, boolean,
445            long, long, int, boolean, int, long, long, long,
446            ServiceContext)}
447            */
448            @Override
449            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
450                    long passwordPolicyId, java.lang.String name,
451                    java.lang.String description, boolean changeable,
452                    boolean changeRequired, long minAge, boolean checkSyntax,
453                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
454                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
455                    boolean history, int historyCount, boolean expireable, long maxAge,
456                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
457                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
458                    throws com.liferay.portal.kernel.exception.PortalException,
459                            com.liferay.portal.kernel.exception.SystemException {
460                    return _passwordPolicyLocalService.updatePasswordPolicy(passwordPolicyId,
461                            name, description, changeable, changeRequired, minAge, checkSyntax,
462                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
463                            minNumbers, minSymbols, minUpperCase, history, historyCount,
464                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
465                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
466            }
467    
468            @Override
469            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
470                    long passwordPolicyId, java.lang.String name,
471                    java.lang.String description, boolean changeable,
472                    boolean changeRequired, long minAge, boolean checkSyntax,
473                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
474                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
475                    java.lang.String regex, boolean history, int historyCount,
476                    boolean expireable, long maxAge, long warningTime, int graceLimit,
477                    boolean lockout, int maxFailure, long lockoutDuration,
478                    long resetFailureCount, long resetTicketMaxAge,
479                    com.liferay.portal.service.ServiceContext serviceContext)
480                    throws com.liferay.portal.kernel.exception.PortalException,
481                            com.liferay.portal.kernel.exception.SystemException {
482                    return _passwordPolicyLocalService.updatePasswordPolicy(passwordPolicyId,
483                            name, description, changeable, changeRequired, minAge, checkSyntax,
484                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
485                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
486                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
487                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
488                            serviceContext);
489            }
490    
491            /**
492             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
493             */
494            public PasswordPolicyLocalService getWrappedPasswordPolicyLocalService() {
495                    return _passwordPolicyLocalService;
496            }
497    
498            /**
499             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
500             */
501            public void setWrappedPasswordPolicyLocalService(
502                    PasswordPolicyLocalService passwordPolicyLocalService) {
503                    _passwordPolicyLocalService = passwordPolicyLocalService;
504            }
505    
506            @Override
507            public PasswordPolicyLocalService getWrappedService() {
508                    return _passwordPolicyLocalService;
509            }
510    
511            @Override
512            public void setWrappedService(
513                    PasswordPolicyLocalService passwordPolicyLocalService) {
514                    _passwordPolicyLocalService = passwordPolicyLocalService;
515            }
516    
517            private PasswordPolicyLocalService _passwordPolicyLocalService;
518    }