001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link PasswordPolicyRelLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see PasswordPolicyRelLocalService
024     * @generated
025     */
026    @ProviderType
027    public class PasswordPolicyRelLocalServiceWrapper
028            implements PasswordPolicyRelLocalService,
029                    ServiceWrapper<PasswordPolicyRelLocalService> {
030            public PasswordPolicyRelLocalServiceWrapper(
031                    PasswordPolicyRelLocalService passwordPolicyRelLocalService) {
032                    _passwordPolicyRelLocalService = passwordPolicyRelLocalService;
033            }
034    
035            @Override
036            public com.liferay.portal.model.PasswordPolicyRel addPasswordPolicyRel(
037                    long passwordPolicyId, java.lang.String className, long classPK) {
038                    return _passwordPolicyRelLocalService.addPasswordPolicyRel(passwordPolicyId,
039                            className, classPK);
040            }
041    
042            /**
043            * Adds the password policy rel to the database. Also notifies the appropriate model listeners.
044            *
045            * @param passwordPolicyRel the password policy rel
046            * @return the password policy rel that was added
047            */
048            @Override
049            public com.liferay.portal.model.PasswordPolicyRel addPasswordPolicyRel(
050                    com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel) {
051                    return _passwordPolicyRelLocalService.addPasswordPolicyRel(passwordPolicyRel);
052            }
053    
054            @Override
055            public void addPasswordPolicyRels(long passwordPolicyId,
056                    java.lang.String className, long[] classPKs) {
057                    _passwordPolicyRelLocalService.addPasswordPolicyRels(passwordPolicyId,
058                            className, classPKs);
059            }
060    
061            /**
062            * Creates a new password policy rel with the primary key. Does not add the password policy rel to the database.
063            *
064            * @param passwordPolicyRelId the primary key for the new password policy rel
065            * @return the new password policy rel
066            */
067            @Override
068            public com.liferay.portal.model.PasswordPolicyRel createPasswordPolicyRel(
069                    long passwordPolicyRelId) {
070                    return _passwordPolicyRelLocalService.createPasswordPolicyRel(passwordPolicyRelId);
071            }
072    
073            @Override
074            public void deletePasswordPolicyRel(java.lang.String className, long classPK) {
075                    _passwordPolicyRelLocalService.deletePasswordPolicyRel(className,
076                            classPK);
077            }
078    
079            @Override
080            public void deletePasswordPolicyRel(long passwordPolicyId,
081                    java.lang.String className, long classPK) {
082                    _passwordPolicyRelLocalService.deletePasswordPolicyRel(passwordPolicyId,
083                            className, classPK);
084            }
085    
086            /**
087            * Deletes the password policy rel from the database. Also notifies the appropriate model listeners.
088            *
089            * @param passwordPolicyRel the password policy rel
090            * @return the password policy rel that was removed
091            */
092            @Override
093            public com.liferay.portal.model.PasswordPolicyRel deletePasswordPolicyRel(
094                    com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel) {
095                    return _passwordPolicyRelLocalService.deletePasswordPolicyRel(passwordPolicyRel);
096            }
097    
098            /**
099            * Deletes the password policy rel with the primary key from the database. Also notifies the appropriate model listeners.
100            *
101            * @param passwordPolicyRelId the primary key of the password policy rel
102            * @return the password policy rel that was removed
103            * @throws PortalException if a password policy rel with the primary key could not be found
104            */
105            @Override
106            public com.liferay.portal.model.PasswordPolicyRel deletePasswordPolicyRel(
107                    long passwordPolicyRelId)
108                    throws com.liferay.portal.kernel.exception.PortalException {
109                    return _passwordPolicyRelLocalService.deletePasswordPolicyRel(passwordPolicyRelId);
110            }
111    
112            @Override
113            public void deletePasswordPolicyRels(long passwordPolicyId) {
114                    _passwordPolicyRelLocalService.deletePasswordPolicyRels(passwordPolicyId);
115            }
116    
117            @Override
118            public void deletePasswordPolicyRels(long passwordPolicyId,
119                    java.lang.String className, long[] classPKs) {
120                    _passwordPolicyRelLocalService.deletePasswordPolicyRels(passwordPolicyId,
121                            className, classPKs);
122            }
123    
124            /**
125            * @throws PortalException
126            */
127            @Override
128            public com.liferay.portal.model.PersistedModel deletePersistedModel(
129                    com.liferay.portal.model.PersistedModel persistedModel)
130                    throws com.liferay.portal.kernel.exception.PortalException {
131                    return _passwordPolicyRelLocalService.deletePersistedModel(persistedModel);
132            }
133    
134            @Override
135            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
136                    return _passwordPolicyRelLocalService.dynamicQuery();
137            }
138    
139            /**
140            * Performs a dynamic query on the database and returns the matching rows.
141            *
142            * @param dynamicQuery the dynamic query
143            * @return the matching rows
144            */
145            @Override
146            public <T> java.util.List<T> dynamicQuery(
147                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
148                    return _passwordPolicyRelLocalService.dynamicQuery(dynamicQuery);
149            }
150    
151            /**
152            * Performs a dynamic query on the database and returns a range of the matching rows.
153            *
154            * <p>
155            * 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.PasswordPolicyRelModelImpl}. 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.
156            * </p>
157            *
158            * @param dynamicQuery the dynamic query
159            * @param start the lower bound of the range of model instances
160            * @param end the upper bound of the range of model instances (not inclusive)
161            * @return the range of matching rows
162            */
163            @Override
164            public <T> java.util.List<T> dynamicQuery(
165                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
166                    int end) {
167                    return _passwordPolicyRelLocalService.dynamicQuery(dynamicQuery, start,
168                            end);
169            }
170    
171            /**
172            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
173            *
174            * <p>
175            * 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.PasswordPolicyRelModelImpl}. 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.
176            * </p>
177            *
178            * @param dynamicQuery the dynamic query
179            * @param start the lower bound of the range of model instances
180            * @param end the upper bound of the range of model instances (not inclusive)
181            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
182            * @return the ordered range of matching rows
183            */
184            @Override
185            public <T> java.util.List<T> dynamicQuery(
186                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
187                    int end,
188                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
189                    return _passwordPolicyRelLocalService.dynamicQuery(dynamicQuery, start,
190                            end, orderByComparator);
191            }
192    
193            /**
194            * Returns the number of rows matching the dynamic query.
195            *
196            * @param dynamicQuery the dynamic query
197            * @return the number of rows matching the dynamic query
198            */
199            @Override
200            public long dynamicQueryCount(
201                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
202                    return _passwordPolicyRelLocalService.dynamicQueryCount(dynamicQuery);
203            }
204    
205            /**
206            * Returns the number of rows matching the dynamic query.
207            *
208            * @param dynamicQuery the dynamic query
209            * @param projection the projection to apply to the query
210            * @return the number of rows matching the dynamic query
211            */
212            @Override
213            public long dynamicQueryCount(
214                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
215                    com.liferay.portal.kernel.dao.orm.Projection projection) {
216                    return _passwordPolicyRelLocalService.dynamicQueryCount(dynamicQuery,
217                            projection);
218            }
219    
220            @Override
221            public com.liferay.portal.model.PasswordPolicyRel fetchPasswordPolicyRel(
222                    java.lang.String className, long classPK) {
223                    return _passwordPolicyRelLocalService.fetchPasswordPolicyRel(className,
224                            classPK);
225            }
226    
227            @Override
228            public com.liferay.portal.model.PasswordPolicyRel fetchPasswordPolicyRel(
229                    long passwordPolicyRelId) {
230                    return _passwordPolicyRelLocalService.fetchPasswordPolicyRel(passwordPolicyRelId);
231            }
232    
233            @Override
234            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
235                    return _passwordPolicyRelLocalService.getActionableDynamicQuery();
236            }
237    
238            /**
239            * Returns the Spring bean ID for this bean.
240            *
241            * @return the Spring bean ID for this bean
242            */
243            @Override
244            public java.lang.String getBeanIdentifier() {
245                    return _passwordPolicyRelLocalService.getBeanIdentifier();
246            }
247    
248            @Override
249            public com.liferay.portal.model.PasswordPolicyRel getPasswordPolicyRel(
250                    java.lang.String className, long classPK)
251                    throws com.liferay.portal.kernel.exception.PortalException {
252                    return _passwordPolicyRelLocalService.getPasswordPolicyRel(className,
253                            classPK);
254            }
255    
256            @Override
257            public com.liferay.portal.model.PasswordPolicyRel getPasswordPolicyRel(
258                    long passwordPolicyId, java.lang.String className, long classPK)
259                    throws com.liferay.portal.kernel.exception.PortalException {
260                    return _passwordPolicyRelLocalService.getPasswordPolicyRel(passwordPolicyId,
261                            className, classPK);
262            }
263    
264            /**
265            * Returns the password policy rel with the primary key.
266            *
267            * @param passwordPolicyRelId the primary key of the password policy rel
268            * @return the password policy rel
269            * @throws PortalException if a password policy rel with the primary key could not be found
270            */
271            @Override
272            public com.liferay.portal.model.PasswordPolicyRel getPasswordPolicyRel(
273                    long passwordPolicyRelId)
274                    throws com.liferay.portal.kernel.exception.PortalException {
275                    return _passwordPolicyRelLocalService.getPasswordPolicyRel(passwordPolicyRelId);
276            }
277    
278            /**
279            * Returns a range of all the password policy rels.
280            *
281            * <p>
282            * 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.PasswordPolicyRelModelImpl}. 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.
283            * </p>
284            *
285            * @param start the lower bound of the range of password policy rels
286            * @param end the upper bound of the range of password policy rels (not inclusive)
287            * @return the range of password policy rels
288            */
289            @Override
290            public java.util.List<com.liferay.portal.model.PasswordPolicyRel> getPasswordPolicyRels(
291                    int start, int end) {
292                    return _passwordPolicyRelLocalService.getPasswordPolicyRels(start, end);
293            }
294    
295            /**
296            * Returns the number of password policy rels.
297            *
298            * @return the number of password policy rels
299            */
300            @Override
301            public int getPasswordPolicyRelsCount() {
302                    return _passwordPolicyRelLocalService.getPasswordPolicyRelsCount();
303            }
304    
305            @Override
306            public com.liferay.portal.model.PersistedModel getPersistedModel(
307                    java.io.Serializable primaryKeyObj)
308                    throws com.liferay.portal.kernel.exception.PortalException {
309                    return _passwordPolicyRelLocalService.getPersistedModel(primaryKeyObj);
310            }
311    
312            @Override
313            public boolean hasPasswordPolicyRel(long passwordPolicyId,
314                    java.lang.String className, long classPK) {
315                    return _passwordPolicyRelLocalService.hasPasswordPolicyRel(passwordPolicyId,
316                            className, classPK);
317            }
318    
319            /**
320            * Sets the Spring bean ID for this bean.
321            *
322            * @param beanIdentifier the Spring bean ID for this bean
323            */
324            @Override
325            public void setBeanIdentifier(java.lang.String beanIdentifier) {
326                    _passwordPolicyRelLocalService.setBeanIdentifier(beanIdentifier);
327            }
328    
329            /**
330            * Updates the password policy rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
331            *
332            * @param passwordPolicyRel the password policy rel
333            * @return the password policy rel that was updated
334            */
335            @Override
336            public com.liferay.portal.model.PasswordPolicyRel updatePasswordPolicyRel(
337                    com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel) {
338                    return _passwordPolicyRelLocalService.updatePasswordPolicyRel(passwordPolicyRel);
339            }
340    
341            /**
342             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
343             */
344            @Deprecated
345            public PasswordPolicyRelLocalService getWrappedPasswordPolicyRelLocalService() {
346                    return _passwordPolicyRelLocalService;
347            }
348    
349            /**
350             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
351             */
352            @Deprecated
353            public void setWrappedPasswordPolicyRelLocalService(
354                    PasswordPolicyRelLocalService passwordPolicyRelLocalService) {
355                    _passwordPolicyRelLocalService = passwordPolicyRelLocalService;
356            }
357    
358            @Override
359            public PasswordPolicyRelLocalService getWrappedService() {
360                    return _passwordPolicyRelLocalService;
361            }
362    
363            @Override
364            public void setWrappedService(
365                    PasswordPolicyRelLocalService passwordPolicyRelLocalService) {
366                    _passwordPolicyRelLocalService = passwordPolicyRelLocalService;
367            }
368    
369            private PasswordPolicyRelLocalService _passwordPolicyRelLocalService;
370    }