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