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