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            /**
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.portlet.exportimport.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            /**
362            * Returns all the layout friendly u r ls matching the UUID and company.
363            *
364            * @param uuid the UUID of the layout friendly u r ls
365            * @param companyId the primary key of the company
366            * @return the matching layout friendly u r ls, or an empty list if no matches were found
367            */
368            @Override
369            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLsByUuidAndCompanyId(
370                    java.lang.String uuid, long companyId) {
371                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsByUuidAndCompanyId(uuid,
372                            companyId);
373            }
374    
375            /**
376            * Returns a range of layout friendly u r ls matching the UUID and company.
377            *
378            * @param uuid the UUID of the layout friendly u r ls
379            * @param companyId the primary key of the company
380            * @param start the lower bound of the range of layout friendly u r ls
381            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
382            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
383            * @return the range of matching layout friendly u r ls, or an empty list if no matches were found
384            */
385            @Override
386            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> getLayoutFriendlyURLsByUuidAndCompanyId(
387                    java.lang.String uuid, long companyId, int start, int end,
388                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutFriendlyURL> orderByComparator) {
389                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsByUuidAndCompanyId(uuid,
390                            companyId, start, end, orderByComparator);
391            }
392    
393            /**
394            * Returns the number of layout friendly u r ls.
395            *
396            * @return the number of layout friendly u r ls
397            */
398            @Override
399            public int getLayoutFriendlyURLsCount() {
400                    return _layoutFriendlyURLLocalService.getLayoutFriendlyURLsCount();
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            * Sets the Spring bean ID for this bean.
412            *
413            * @param beanIdentifier the Spring bean ID for this bean
414            */
415            @Override
416            public void setBeanIdentifier(java.lang.String beanIdentifier) {
417                    _layoutFriendlyURLLocalService.setBeanIdentifier(beanIdentifier);
418            }
419    
420            /**
421            * 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.
422            *
423            * @param layoutFriendlyURL the layout friendly u r l
424            * @return the layout friendly u r l that was updated
425            */
426            @Override
427            public com.liferay.portal.model.LayoutFriendlyURL updateLayoutFriendlyURL(
428                    com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL) {
429                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURL(layoutFriendlyURL);
430            }
431    
432            @Override
433            public com.liferay.portal.model.LayoutFriendlyURL updateLayoutFriendlyURL(
434                    long userId, long companyId, long groupId, long plid,
435                    boolean privateLayout, java.lang.String friendlyURL,
436                    java.lang.String languageId,
437                    com.liferay.portal.service.ServiceContext serviceContext)
438                    throws com.liferay.portal.kernel.exception.PortalException {
439                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURL(userId,
440                            companyId, groupId, plid, privateLayout, friendlyURL, languageId,
441                            serviceContext);
442            }
443    
444            @Override
445            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> updateLayoutFriendlyURLs(
446                    long userId, long companyId, long groupId, long plid,
447                    boolean privateLayout,
448                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
449                    com.liferay.portal.service.ServiceContext serviceContext)
450                    throws com.liferay.portal.kernel.exception.PortalException {
451                    return _layoutFriendlyURLLocalService.updateLayoutFriendlyURLs(userId,
452                            companyId, groupId, plid, privateLayout, friendlyURLMap,
453                            serviceContext);
454            }
455    
456            /**
457             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
458             */
459            @Deprecated
460            public LayoutFriendlyURLLocalService getWrappedLayoutFriendlyURLLocalService() {
461                    return _layoutFriendlyURLLocalService;
462            }
463    
464            /**
465             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
466             */
467            @Deprecated
468            public void setWrappedLayoutFriendlyURLLocalService(
469                    LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) {
470                    _layoutFriendlyURLLocalService = layoutFriendlyURLLocalService;
471            }
472    
473            @Override
474            public LayoutFriendlyURLLocalService getWrappedService() {
475                    return _layoutFriendlyURLLocalService;
476            }
477    
478            @Override
479            public void setWrappedService(
480                    LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) {
481                    _layoutFriendlyURLLocalService = layoutFriendlyURLLocalService;
482            }
483    
484            private LayoutFriendlyURLLocalService _layoutFriendlyURLLocalService;
485    }