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 LayoutFriendlyURLLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutFriendlyURLLocalService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutFriendlyURLLocalServiceWrapper
028            implements LayoutFriendlyURLLocalService,
029                    ServiceWrapper<LayoutFriendlyURLLocalService> {
030            public LayoutFriendlyURLLocalServiceWrapper(
031                    LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) {
032                    _layoutFriendlyURLLocalService = layoutFriendlyURLLocalService;
033            }
034    
035            /**
036            * Adds the layout friendly u r l to the database. Also notifies the appropriate model listeners.
037            *
038            * @param layoutFriendlyURL the layout friendly u r l
039            * @return the layout friendly u r l that was added
040            */
041            @Override
042            public com.liferay.portal.model.LayoutFriendlyURL addLayoutFriendlyURL(
043                    com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL) {
044                    return _layoutFriendlyURLLocalService.addLayoutFriendlyURL(layoutFriendlyURL);
045            }
046    
047            @Override
048            public com.liferay.portal.model.LayoutFriendlyURL addLayoutFriendlyURL(
049                    long userId, long companyId, long groupId, long plid,
050                    boolean privateLayout, java.lang.String friendlyURL,
051                    java.lang.String languageId,
052                    com.liferay.portal.service.ServiceContext serviceContext)
053                    throws com.liferay.portal.kernel.exception.PortalException {
054                    return _layoutFriendlyURLLocalService.addLayoutFriendlyURL(userId,
055                            companyId, groupId, plid, privateLayout, friendlyURL, languageId,
056                            serviceContext);
057            }
058    
059            @Override
060            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> addLayoutFriendlyURLs(
061                    long userId, long companyId, long groupId, long plid,
062                    boolean privateLayout,
063                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
064                    com.liferay.portal.service.ServiceContext serviceContext)
065                    throws com.liferay.portal.kernel.exception.PortalException {
066                    return _layoutFriendlyURLLocalService.addLayoutFriendlyURLs(userId,
067                            companyId, groupId, plid, privateLayout, friendlyURLMap,
068                            serviceContext);
069            }
070    
071            /**
072            * Creates a new layout friendly u r l with the primary key. Does not add the layout friendly u r l to the database.
073            *
074            * @param layoutFriendlyURLId the primary key for the new layout friendly u r l
075            * @return the new layout friendly u r l
076            */
077            @Override
078            public com.liferay.portal.model.LayoutFriendlyURL createLayoutFriendlyURL(
079                    long layoutFriendlyURLId) {
080                    return _layoutFriendlyURLLocalService.createLayoutFriendlyURL(layoutFriendlyURLId);
081            }
082    
083            /**
084            * Deletes the layout friendly u r l from the database. Also notifies the appropriate model listeners.
085            *
086            * @param layoutFriendlyURL the layout friendly u r l
087            * @return the layout friendly u r l that was removed
088            */
089            @Override
090            public com.liferay.portal.model.LayoutFriendlyURL deleteLayoutFriendlyURL(
091                    com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL) {
092                    return _layoutFriendlyURLLocalService.deleteLayoutFriendlyURL(layoutFriendlyURL);
093            }
094    
095            /**
096            * Deletes the layout friendly u r l with the primary key from the database. Also notifies the appropriate model listeners.
097            *
098            * @param layoutFriendlyURLId the primary key of the layout friendly u r l
099            * @return the layout friendly u r l that was removed
100            * @throws PortalException if a layout friendly u r l with the primary key could not be found
101            */
102            @Override
103            public com.liferay.portal.model.LayoutFriendlyURL deleteLayoutFriendlyURL(
104                    long layoutFriendlyURLId)
105                    throws com.liferay.portal.kernel.exception.PortalException {
106                    return _layoutFriendlyURLLocalService.deleteLayoutFriendlyURL(layoutFriendlyURLId);
107            }
108    
109            @Override
110            public void deleteLayoutFriendlyURL(long plid, java.lang.String languageId) {
111                    _layoutFriendlyURLLocalService.deleteLayoutFriendlyURL(plid, languageId);
112            }
113    
114            @Override
115            public void deleteLayoutFriendlyURLs(long plid) {
116                    _layoutFriendlyURLLocalService.deleteLayoutFriendlyURLs(plid);
117            }
118    
119            /**
120            * @throws PortalException
121            */
122            @Override
123            public com.liferay.portal.model.PersistedModel deletePersistedModel(
124                    com.liferay.portal.model.PersistedModel persistedModel)
125                    throws com.liferay.portal.kernel.exception.PortalException {
126                    return _layoutFriendlyURLLocalService.deletePersistedModel(persistedModel);
127            }
128    
129            @Override
130            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
131                    return _layoutFriendlyURLLocalService.dynamicQuery();
132            }
133    
134            /**
135            * Performs a dynamic query on the database and returns the matching rows.
136            *
137            * @param dynamicQuery the dynamic query
138            * @return the matching rows
139            */
140            @Override
141            public <T> java.util.List<T> dynamicQuery(
142                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
143                    return _layoutFriendlyURLLocalService.dynamicQuery(dynamicQuery);
144            }
145    
146            /**
147            * Performs a dynamic query on the database and returns a range of the matching rows.
148            *
149            * <p>
150            * 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.LayoutFriendlyURLModelImpl}. 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.
151            * </p>
152            *
153            * @param dynamicQuery the dynamic query
154            * @param start the lower bound of the range of model instances
155            * @param end the upper bound of the range of model instances (not inclusive)
156            * @return the range of matching rows
157            */
158            @Override
159            public <T> java.util.List<T> dynamicQuery(
160                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
161                    int end) {
162                    return _layoutFriendlyURLLocalService.dynamicQuery(dynamicQuery, start,
163                            end);
164            }
165    
166            /**
167            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
168            *
169            * <p>
170            * 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.LayoutFriendlyURLModelImpl}. 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.
171            * </p>
172            *
173            * @param dynamicQuery the dynamic query
174            * @param start the lower bound of the range of model instances
175            * @param end the upper bound of the range of model instances (not inclusive)
176            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
177            * @return the ordered range of matching rows
178            */
179            @Override
180            public <T> java.util.List<T> dynamicQuery(
181                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
182                    int end,
183                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
184                    return _layoutFriendlyURLLocalService.dynamicQuery(dynamicQuery, start,
185                            end, orderByComparator);
186            }
187    
188            /**
189            * Returns the number of rows that match the dynamic query.
190            *
191            * @param dynamicQuery the dynamic query
192            * @return the number of rows that match the dynamic query
193            */
194            @Override
195            public long dynamicQueryCount(
196                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
197                    return _layoutFriendlyURLLocalService.dynamicQueryCount(dynamicQuery);
198            }
199    
200            /**
201            * Returns the number of rows that match the dynamic query.
202            *
203            * @param dynamicQuery the dynamic query
204            * @param projection the projection to apply to the query
205            * @return the number of rows that match the dynamic query
206            */
207            @Override
208            public long dynamicQueryCount(
209                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
210                    com.liferay.portal.kernel.dao.orm.Projection projection) {
211                    return _layoutFriendlyURLLocalService.dynamicQueryCount(dynamicQuery,
212                            projection);
213            }
214    
215            @Override
216            public com.liferay.portal.model.LayoutFriendlyURL fetchFirstLayoutFriendlyURL(
217                    long groupId, boolean privateLayout, java.lang.String friendlyURL) {
218                    return _layoutFriendlyURLLocalService.fetchFirstLayoutFriendlyURL(groupId,
219                            privateLayout, friendlyURL);
220            }
221    
222            @Override
223            public com.liferay.portal.model.LayoutFriendlyURL fetchLayoutFriendlyURL(
224                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
225                    java.lang.String languageId) {
226                    return _layoutFriendlyURLLocalService.fetchLayoutFriendlyURL(groupId,
227                            privateLayout, friendlyURL, languageId);
228            }
229    
230            @Override
231            public com.liferay.portal.model.LayoutFriendlyURL fetchLayoutFriendlyURL(
232                    long layoutFriendlyURLId) {
233                    return _layoutFriendlyURLLocalService.fetchLayoutFriendlyURL(layoutFriendlyURLId);
234            }
235    
236            @Override
237            public com.liferay.portal.model.LayoutFriendlyURL fetchLayoutFriendlyURL(
238                    long plid, java.lang.String languageId) {
239                    return _layoutFriendlyURLLocalService.fetchLayoutFriendlyURL(plid,
240                            languageId);
241            }
242    
243            @Override
244            public com.liferay.portal.model.LayoutFriendlyURL fetchLayoutFriendlyURL(
245                    long plid, java.lang.String languageId, boolean useDefault) {
246                    return _layoutFriendlyURLLocalService.fetchLayoutFriendlyURL(plid,
247                            languageId, useDefault);
248            }
249    
250            /**
251            * Returns the layout friendly u r l matching the UUID and group.
252            *
253            * @param uuid the layout friendly u r l's UUID
254            * @param groupId the primary key of the group
255            * @return the matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
256            */
257            @Override
258            public com.liferay.portal.model.LayoutFriendlyURL fetchLayoutFriendlyURLByUuidAndGroupId(
259                    java.lang.String uuid, long groupId) {
260                    return _layoutFriendlyURLLocalService.fetchLayoutFriendlyURLByUuidAndGroupId(uuid,
261                            groupId);
262            }
263    
264            @Override
265            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
266                    return _layoutFriendlyURLLocalService.getActionableDynamicQuery();
267            }
268    
269            /**
270            * Returns the Spring bean ID for this bean.
271            *
272            * @return the Spring bean ID for this bean
273            */
274            @Override
275            public java.lang.String getBeanIdentifier() {
276                    return _layoutFriendlyURLLocalService.getBeanIdentifier();
277            }
278    
279            @Override
280            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
281                    com.liferay.portal.kernel.lar.PortletDataContext portletDataContext) {
282                    return _layoutFriendlyURLLocalService.getExportActionableDynamicQuery(portletDataContext);
283            }
284    
285            /**
286            * Returns the layout friendly u r l with the primary key.
287            *
288            * @param layoutFriendlyURLId the primary key of the layout friendly u r l
289            * @return the layout friendly u r l
290            * @throws PortalException if a layout friendly u r l with the primary key could not be found
291            */
292            @Override
293            public com.liferay.portal.model.LayoutFriendlyURL getLayoutFriendlyURL(
294                    long layoutFriendlyURLId)
295                    throws com.liferay.portal.kernel.exception.PortalException {
296                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURL(layoutFriendlyURLId);
297            }
298    
299            @Override
300            public com.liferay.portal.model.LayoutFriendlyURL getLayoutFriendlyURL(
301                    long plid, java.lang.String languageId)
302                    throws com.liferay.portal.kernel.exception.PortalException {
303                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURL(plid,
304                            languageId);
305            }
306    
307            @Override
308            public com.liferay.portal.model.LayoutFriendlyURL getLayoutFriendlyURL(
309                    long plid, java.lang.String languageId, boolean useDefault)
310                    throws com.liferay.portal.kernel.exception.PortalException {
311                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURL(plid,
312                            languageId, useDefault);
313            }
314    
315            /**
316            * Returns the layout friendly u r l matching the UUID and group.
317            *
318            * @param uuid the layout friendly u r l's UUID
319            * @param groupId the primary key of the group
320            * @return the matching layout friendly u r l
321            * @throws PortalException if a matching layout friendly u r l could not be found
322            */
323            @Override
324            public com.liferay.portal.model.LayoutFriendlyURL getLayoutFriendlyURLByUuidAndGroupId(
325                    java.lang.String uuid, long groupId)
326                    throws com.liferay.portal.kernel.exception.PortalException {
327                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLByUuidAndGroupId(uuid,
328                            groupId);
329            }
330    
331            @Override
332            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLs(
333                    long plid) {
334                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLs(plid);
335            }
336    
337            @Override
338            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLs(
339                    long plid, java.lang.String friendlyURL, int start, int end) {
340                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLs(plid,
341                            friendlyURL, start, end);
342            }
343    
344            /**
345            * Returns a range of all the layout friendly u r ls.
346            *
347            * <p>
348            * 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.LayoutFriendlyURLModelImpl}. 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.
349            * </p>
350            *
351            * @param start the lower bound of the range of layout friendly u r ls
352            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
353            * @return the range of layout friendly u r ls
354            */
355            @Override
356            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLs(
357                    int start, int end) {
358                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLs(start, end);
359            }
360    
361            @Override
362            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLsByUuidAndCompanyId(
363                    java.lang.String uuid, long companyId) {
364                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsByUuidAndCompanyId(uuid,
365                            companyId);
366            }
367    
368            @Override
369            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLsByUuidAndCompanyId(
370                    java.lang.String uuid, long companyId, int start, int end,
371                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutFriendlyURL> orderByComparator) {
372                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsByUuidAndCompanyId(uuid,
373                            companyId, start, end, orderByComparator);
374            }
375    
376            /**
377            * Returns the number of layout friendly u r ls.
378            *
379            * @return the number of layout friendly u r ls
380            */
381            @Override
382            public int getLayoutFriendlyURLsCount() {
383                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsCount();
384            }
385    
386            @Override
387            public com.liferay.portal.model.PersistedModel getPersistedModel(
388                    java.io.Serializable primaryKeyObj)
389                    throws com.liferay.portal.kernel.exception.PortalException {
390                    return _layoutFriendlyURLLocalService.getPersistedModel(primaryKeyObj);
391            }
392    
393            /**
394            * Sets the Spring bean ID for this bean.
395            *
396            * @param beanIdentifier the Spring bean ID for this bean
397            */
398            @Override
399            public void setBeanIdentifier(java.lang.String beanIdentifier) {
400                    _layoutFriendlyURLLocalService.setBeanIdentifier(beanIdentifier);
401            }
402    
403            /**
404            * Updates the layout friendly u r l in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
405            *
406            * @param layoutFriendlyURL the layout friendly u r l
407            * @return the layout friendly u r l that was updated
408            */
409            @Override
410            public com.liferay.portal.model.LayoutFriendlyURL updateLayoutFriendlyURL(
411                    com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL) {
412                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURL(layoutFriendlyURL);
413            }
414    
415            @Override
416            public com.liferay.portal.model.LayoutFriendlyURL updateLayoutFriendlyURL(
417                    long userId, long companyId, long groupId, long plid,
418                    boolean privateLayout, java.lang.String friendlyURL,
419                    java.lang.String languageId,
420                    com.liferay.portal.service.ServiceContext serviceContext)
421                    throws com.liferay.portal.kernel.exception.PortalException {
422                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURL(userId,
423                            companyId, groupId, plid, privateLayout, friendlyURL, languageId,
424                            serviceContext);
425            }
426    
427            @Override
428            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> updateLayoutFriendlyURLs(
429                    long userId, long companyId, long groupId, long plid,
430                    boolean privateLayout,
431                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
432                    com.liferay.portal.service.ServiceContext serviceContext)
433                    throws com.liferay.portal.kernel.exception.PortalException {
434                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURLs(userId,
435                            companyId, groupId, plid, privateLayout, friendlyURLMap,
436                            serviceContext);
437            }
438    
439            /**
440             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
441             */
442            @Deprecated
443            public LayoutFriendlyURLLocalService getWrappedLayoutFriendlyURLLocalService() {
444                    return _layoutFriendlyURLLocalService;
445            }
446    
447            /**
448             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
449             */
450            @Deprecated
451            public void setWrappedLayoutFriendlyURLLocalService(
452                    LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) {
453                    _layoutFriendlyURLLocalService = layoutFriendlyURLLocalService;
454            }
455    
456            @Override
457            public LayoutFriendlyURLLocalService getWrappedService() {
458                    return _layoutFriendlyURLLocalService;
459            }
460    
461            @Override
462            public void setWrappedService(
463                    LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) {
464                    _layoutFriendlyURLLocalService = layoutFriendlyURLLocalService;
465            }
466    
467            private LayoutFriendlyURLLocalService _layoutFriendlyURLLocalService;
468    }