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 matching the dynamic query.
190            *
191            * @param dynamicQuery the dynamic query
192            * @return the number of rows matching 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 matching 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 matching 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            @Override
270            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
271                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
272                    return _layoutFriendlyURLLocalService.getExportActionableDynamicQuery(portletDataContext);
273            }
274    
275            /**
276            * Returns the layout friendly u r l with the primary key.
277            *
278            * @param layoutFriendlyURLId the primary key of the layout friendly u r l
279            * @return the layout friendly u r l
280            * @throws PortalException if a layout friendly u r l with the primary key could not be found
281            */
282            @Override
283            public com.liferay.portal.model.LayoutFriendlyURL getLayoutFriendlyURL(
284                    long layoutFriendlyURLId)
285                    throws com.liferay.portal.kernel.exception.PortalException {
286                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURL(layoutFriendlyURLId);
287            }
288    
289            @Override
290            public com.liferay.portal.model.LayoutFriendlyURL getLayoutFriendlyURL(
291                    long plid, java.lang.String languageId)
292                    throws com.liferay.portal.kernel.exception.PortalException {
293                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURL(plid,
294                            languageId);
295            }
296    
297            @Override
298            public com.liferay.portal.model.LayoutFriendlyURL getLayoutFriendlyURL(
299                    long plid, java.lang.String languageId, boolean useDefault)
300                    throws com.liferay.portal.kernel.exception.PortalException {
301                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURL(plid,
302                            languageId, useDefault);
303            }
304    
305            /**
306            * Returns the layout friendly u r l matching the UUID and group.
307            *
308            * @param uuid the layout friendly u r l's UUID
309            * @param groupId the primary key of the group
310            * @return the matching layout friendly u r l
311            * @throws PortalException if a matching layout friendly u r l could not be found
312            */
313            @Override
314            public com.liferay.portal.model.LayoutFriendlyURL getLayoutFriendlyURLByUuidAndGroupId(
315                    java.lang.String uuid, long groupId)
316                    throws com.liferay.portal.kernel.exception.PortalException {
317                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLByUuidAndGroupId(uuid,
318                            groupId);
319            }
320    
321            @Override
322            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLs(
323                    long plid) {
324                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLs(plid);
325            }
326    
327            @Override
328            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLs(
329                    long plid, java.lang.String friendlyURL, int start, int end) {
330                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLs(plid,
331                            friendlyURL, start, end);
332            }
333    
334            /**
335            * Returns a range of all the layout friendly u r ls.
336            *
337            * <p>
338            * 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.
339            * </p>
340            *
341            * @param start the lower bound of the range of layout friendly u r ls
342            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
343            * @return the range of layout friendly u r ls
344            */
345            @Override
346            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLs(
347                    int start, int end) {
348                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLs(start, end);
349            }
350    
351            /**
352            * Returns all the layout friendly u r ls matching the UUID and company.
353            *
354            * @param uuid the UUID of the layout friendly u r ls
355            * @param companyId the primary key of the company
356            * @return the matching layout friendly u r ls, or an empty list if no matches were found
357            */
358            @Override
359            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLsByUuidAndCompanyId(
360                    java.lang.String uuid, long companyId) {
361                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsByUuidAndCompanyId(uuid,
362                            companyId);
363            }
364    
365            /**
366            * Returns a range of layout friendly u r ls matching the UUID and company.
367            *
368            * @param uuid the UUID of the layout friendly u r ls
369            * @param companyId the primary key of the company
370            * @param start the lower bound of the range of layout friendly u r ls
371            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
372            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
373            * @return the range of matching layout friendly u r ls, or an empty list if no matches were found
374            */
375            @Override
376            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLsByUuidAndCompanyId(
377                    java.lang.String uuid, long companyId, int start, int end,
378                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutFriendlyURL> orderByComparator) {
379                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsByUuidAndCompanyId(uuid,
380                            companyId, start, end, orderByComparator);
381            }
382    
383            /**
384            * Returns the number of layout friendly u r ls.
385            *
386            * @return the number of layout friendly u r ls
387            */
388            @Override
389            public int getLayoutFriendlyURLsCount() {
390                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsCount();
391            }
392    
393            /**
394            * Returns the OSGi service identifier.
395            *
396            * @return the OSGi service identifier
397            */
398            @Override
399            public java.lang.String getOSGiServiceIdentifier() {
400                    return _layoutFriendlyURLLocalService.getOSGiServiceIdentifier();
401            }
402    
403            @Override
404            public com.liferay.portal.model.PersistedModel getPersistedModel(
405                    java.io.Serializable primaryKeyObj)
406                    throws com.liferay.portal.kernel.exception.PortalException {
407                    return _layoutFriendlyURLLocalService.getPersistedModel(primaryKeyObj);
408            }
409    
410            /**
411            * 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.
412            *
413            * @param layoutFriendlyURL the layout friendly u r l
414            * @return the layout friendly u r l that was updated
415            */
416            @Override
417            public com.liferay.portal.model.LayoutFriendlyURL updateLayoutFriendlyURL(
418                    com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL) {
419                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURL(layoutFriendlyURL);
420            }
421    
422            @Override
423            public com.liferay.portal.model.LayoutFriendlyURL updateLayoutFriendlyURL(
424                    long userId, long companyId, long groupId, long plid,
425                    boolean privateLayout, java.lang.String friendlyURL,
426                    java.lang.String languageId,
427                    com.liferay.portal.service.ServiceContext serviceContext)
428                    throws com.liferay.portal.kernel.exception.PortalException {
429                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURL(userId,
430                            companyId, groupId, plid, privateLayout, friendlyURL, languageId,
431                            serviceContext);
432            }
433    
434            @Override
435            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> updateLayoutFriendlyURLs(
436                    long userId, long companyId, long groupId, long plid,
437                    boolean privateLayout,
438                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
439                    com.liferay.portal.service.ServiceContext serviceContext)
440                    throws com.liferay.portal.kernel.exception.PortalException {
441                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURLs(userId,
442                            companyId, groupId, plid, privateLayout, friendlyURLMap,
443                            serviceContext);
444            }
445    
446            /**
447             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
448             */
449            @Deprecated
450            public LayoutFriendlyURLLocalService getWrappedLayoutFriendlyURLLocalService() {
451                    return _layoutFriendlyURLLocalService;
452            }
453    
454            /**
455             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
456             */
457            @Deprecated
458            public void setWrappedLayoutFriendlyURLLocalService(
459                    LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) {
460                    _layoutFriendlyURLLocalService = layoutFriendlyURLLocalService;
461            }
462    
463            @Override
464            public LayoutFriendlyURLLocalService getWrappedService() {
465                    return _layoutFriendlyURLLocalService;
466            }
467    
468            @Override
469            public void setWrappedService(
470                    LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) {
471                    _layoutFriendlyURLLocalService = layoutFriendlyURLLocalService;
472            }
473    
474            private LayoutFriendlyURLLocalService _layoutFriendlyURLLocalService;
475    }