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            @Override
239            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
240                    return _passwordPolicyRelLocalService.getIndexableActionableDynamicQuery();
241            }
242    
243            /**
244            * Returns the OSGi service identifier.
245            *
246            * @return the OSGi service identifier
247            */
248            @Override
249            public java.lang.String getOSGiServiceIdentifier() {
250                    return _passwordPolicyRelLocalService.getOSGiServiceIdentifier();
251            }
252    
253            @Override
254            public com.liferay.portal.model.PasswordPolicyRel getPasswordPolicyRel(
255                    java.lang.String className, long classPK)
256                    throws com.liferay.portal.kernel.exception.PortalException {
257                    return _passwordPolicyRelLocalService.getPasswordPolicyRel(className,
258                            classPK);
259            }
260    
261            @Override
262            public com.liferay.portal.model.PasswordPolicyRel getPasswordPolicyRel(
263                    long passwordPolicyId, java.lang.String className, long classPK)
264                    throws com.liferay.portal.kernel.exception.PortalException {
265                    return _passwordPolicyRelLocalService.getPasswordPolicyRel(passwordPolicyId,
266                            className, classPK);
267            }
268    
269            /**
270            * Returns the password policy rel with the primary key.
271            *
272            * @param passwordPolicyRelId the primary key of the password policy rel
273            * @return the password policy rel
274            * @throws PortalException if a password policy rel with the primary key could not be found
275            */
276            @Override
277            public com.liferay.portal.model.PasswordPolicyRel getPasswordPolicyRel(
278                    long passwordPolicyRelId)
279                    throws com.liferay.portal.kernel.exception.PortalException {
280                    return _passwordPolicyRelLocalService.getPasswordPolicyRel(passwordPolicyRelId);
281            }
282    
283            /**
284            * Returns a range of all the password policy rels.
285            *
286            * <p>
287            * 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.
288            * </p>
289            *
290            * @param start the lower bound of the range of password policy rels
291            * @param end the upper bound of the range of password policy rels (not inclusive)
292            * @return the range of password policy rels
293            */
294            @Override
295            public java.util.List<com.liferay.portal.model.PasswordPolicyRel> getPasswordPolicyRels(
296                    int start, int end) {
297                    return _passwordPolicyRelLocalService.getPasswordPolicyRels(start, end);
298            }
299    
300            /**
301            * Returns the number of password policy rels.
302            *
303            * @return the number of password policy rels
304            */
305            @Override
306            public int getPasswordPolicyRelsCount() {
307                    return _passwordPolicyRelLocalService.getPasswordPolicyRelsCount();
308            }
309    
310            @Override
311            public com.liferay.portal.model.PersistedModel getPersistedModel(
312                    java.io.Serializable primaryKeyObj)
313                    throws com.liferay.portal.kernel.exception.PortalException {
314                    return _passwordPolicyRelLocalService.getPersistedModel(primaryKeyObj);
315            }
316    
317            @Override
318            public boolean hasPasswordPolicyRel(long passwordPolicyId,
319                    java.lang.String className, long classPK) {
320                    return _passwordPolicyRelLocalService.hasPasswordPolicyRel(passwordPolicyId,
321                            className, classPK);
322            }
323    
324            /**
325            * Updates the password policy rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
326            *
327            * @param passwordPolicyRel the password policy rel
328            * @return the password policy rel that was updated
329            */
330            @Override
331            public com.liferay.portal.model.PasswordPolicyRel updatePasswordPolicyRel(
332                    com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel) {
333                    return _passwordPolicyRelLocalService.updatePasswordPolicyRel(passwordPolicyRel);
334            }
335    
336            @Override
337            public PasswordPolicyRelLocalService getWrappedService() {
338                    return _passwordPolicyRelLocalService;
339            }
340    
341            @Override
342            public void setWrappedService(
343                    PasswordPolicyRelLocalService passwordPolicyRelLocalService) {
344                    _passwordPolicyRelLocalService = passwordPolicyRelLocalService;
345            }
346    
347            private PasswordPolicyRelLocalService _passwordPolicyRelLocalService;
348    }