001    /**
002     * Copyright (c) 2000-2010 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.portlet.journal.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link JournalFeedLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       JournalFeedLocalService
025     * @generated
026     */
027    public class JournalFeedLocalServiceWrapper implements JournalFeedLocalService {
028            public JournalFeedLocalServiceWrapper(
029                    JournalFeedLocalService journalFeedLocalService) {
030                    _journalFeedLocalService = journalFeedLocalService;
031            }
032    
033            public com.liferay.portlet.journal.model.JournalFeed addJournalFeed(
034                    com.liferay.portlet.journal.model.JournalFeed journalFeed)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _journalFeedLocalService.addJournalFeed(journalFeed);
037            }
038    
039            public com.liferay.portlet.journal.model.JournalFeed createJournalFeed(
040                    long id) {
041                    return _journalFeedLocalService.createJournalFeed(id);
042            }
043    
044            public void deleteJournalFeed(long id)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _journalFeedLocalService.deleteJournalFeed(id);
048            }
049    
050            public void deleteJournalFeed(
051                    com.liferay.portlet.journal.model.JournalFeed journalFeed)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _journalFeedLocalService.deleteJournalFeed(journalFeed);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _journalFeedLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _journalFeedLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _journalFeedLocalService.dynamicQuery(dynamicQuery, start, end,
077                            orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _journalFeedLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.journal.model.JournalFeed getJournalFeed(long id)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _journalFeedLocalService.getJournalFeed(id);
090            }
091    
092            public com.liferay.portlet.journal.model.JournalFeed getJournalFeedByUuidAndGroupId(
093                    java.lang.String uuid, long groupId)
094                    throws com.liferay.portal.kernel.exception.PortalException,
095                            com.liferay.portal.kernel.exception.SystemException {
096                    return _journalFeedLocalService.getJournalFeedByUuidAndGroupId(uuid,
097                            groupId);
098            }
099    
100            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getJournalFeeds(
101                    int start, int end)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _journalFeedLocalService.getJournalFeeds(start, end);
104            }
105    
106            public int getJournalFeedsCount()
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _journalFeedLocalService.getJournalFeedsCount();
109            }
110    
111            public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
112                    com.liferay.portlet.journal.model.JournalFeed journalFeed)
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _journalFeedLocalService.updateJournalFeed(journalFeed);
115            }
116    
117            public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
118                    com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
119                    throws com.liferay.portal.kernel.exception.SystemException {
120                    return _journalFeedLocalService.updateJournalFeed(journalFeed, merge);
121            }
122    
123            public com.liferay.portlet.journal.model.JournalFeed addFeed(long userId,
124                    long groupId, java.lang.String feedId, boolean autoFeedId,
125                    java.lang.String name, java.lang.String description,
126                    java.lang.String type, java.lang.String structureId,
127                    java.lang.String templateId, java.lang.String rendererTemplateId,
128                    int delta, java.lang.String orderByCol, java.lang.String orderByType,
129                    java.lang.String targetLayoutFriendlyUrl,
130                    java.lang.String targetPortletId, java.lang.String contentField,
131                    java.lang.String feedType, double feedVersion,
132                    com.liferay.portal.service.ServiceContext serviceContext)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    return _journalFeedLocalService.addFeed(userId, groupId, feedId,
136                            autoFeedId, name, description, type, structureId, templateId,
137                            rendererTemplateId, delta, orderByCol, orderByType,
138                            targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
139                            feedVersion, serviceContext);
140            }
141    
142            public void addFeedResources(long feedId, boolean addCommunityPermissions,
143                    boolean addGuestPermissions)
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException {
146                    _journalFeedLocalService.addFeedResources(feedId,
147                            addCommunityPermissions, addGuestPermissions);
148            }
149    
150            public void addFeedResources(
151                    com.liferay.portlet.journal.model.JournalFeed feed,
152                    boolean addCommunityPermissions, boolean addGuestPermissions)
153                    throws com.liferay.portal.kernel.exception.PortalException,
154                            com.liferay.portal.kernel.exception.SystemException {
155                    _journalFeedLocalService.addFeedResources(feed,
156                            addCommunityPermissions, addGuestPermissions);
157            }
158    
159            public void addFeedResources(long feedId,
160                    java.lang.String[] communityPermissions,
161                    java.lang.String[] guestPermissions)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    _journalFeedLocalService.addFeedResources(feedId, communityPermissions,
165                            guestPermissions);
166            }
167    
168            public void addFeedResources(
169                    com.liferay.portlet.journal.model.JournalFeed feed,
170                    java.lang.String[] communityPermissions,
171                    java.lang.String[] guestPermissions)
172                    throws com.liferay.portal.kernel.exception.PortalException,
173                            com.liferay.portal.kernel.exception.SystemException {
174                    _journalFeedLocalService.addFeedResources(feed, communityPermissions,
175                            guestPermissions);
176            }
177    
178            public void deleteFeed(long feedId)
179                    throws com.liferay.portal.kernel.exception.PortalException,
180                            com.liferay.portal.kernel.exception.SystemException {
181                    _journalFeedLocalService.deleteFeed(feedId);
182            }
183    
184            public void deleteFeed(long groupId, java.lang.String feedId)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    _journalFeedLocalService.deleteFeed(groupId, feedId);
188            }
189    
190            public void deleteFeed(com.liferay.portlet.journal.model.JournalFeed feed)
191                    throws com.liferay.portal.kernel.exception.PortalException,
192                            com.liferay.portal.kernel.exception.SystemException {
193                    _journalFeedLocalService.deleteFeed(feed);
194            }
195    
196            public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
197                    throws com.liferay.portal.kernel.exception.PortalException,
198                            com.liferay.portal.kernel.exception.SystemException {
199                    return _journalFeedLocalService.getFeed(feedId);
200            }
201    
202            public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
203                    java.lang.String feedId)
204                    throws com.liferay.portal.kernel.exception.PortalException,
205                            com.liferay.portal.kernel.exception.SystemException {
206                    return _journalFeedLocalService.getFeed(groupId, feedId);
207            }
208    
209            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds()
210                    throws com.liferay.portal.kernel.exception.SystemException {
211                    return _journalFeedLocalService.getFeeds();
212            }
213    
214            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
215                    long groupId)
216                    throws com.liferay.portal.kernel.exception.SystemException {
217                    return _journalFeedLocalService.getFeeds(groupId);
218            }
219    
220            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
221                    long groupId, int start, int end)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    return _journalFeedLocalService.getFeeds(groupId, start, end);
224            }
225    
226            public int getFeedsCount(long groupId)
227                    throws com.liferay.portal.kernel.exception.SystemException {
228                    return _journalFeedLocalService.getFeedsCount(groupId);
229            }
230    
231            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
232                    long companyId, long groupId, java.lang.String keywords, int start,
233                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
234                    throws com.liferay.portal.kernel.exception.SystemException {
235                    return _journalFeedLocalService.search(companyId, groupId, keywords,
236                            start, end, obc);
237            }
238    
239            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
240                    long companyId, long groupId, java.lang.String feedId,
241                    java.lang.String name, java.lang.String description,
242                    boolean andOperator, int start, int end,
243                    com.liferay.portal.kernel.util.OrderByComparator obc)
244                    throws com.liferay.portal.kernel.exception.SystemException {
245                    return _journalFeedLocalService.search(companyId, groupId, feedId,
246                            name, description, andOperator, start, end, obc);
247            }
248    
249            public int searchCount(long companyId, long groupId,
250                    java.lang.String keywords)
251                    throws com.liferay.portal.kernel.exception.SystemException {
252                    return _journalFeedLocalService.searchCount(companyId, groupId, keywords);
253            }
254    
255            public int searchCount(long companyId, long groupId,
256                    java.lang.String feedId, java.lang.String name,
257                    java.lang.String description, boolean andOperator)
258                    throws com.liferay.portal.kernel.exception.SystemException {
259                    return _journalFeedLocalService.searchCount(companyId, groupId, feedId,
260                            name, description, andOperator);
261            }
262    
263            public com.liferay.portlet.journal.model.JournalFeed updateFeed(
264                    long groupId, java.lang.String feedId, java.lang.String name,
265                    java.lang.String description, java.lang.String type,
266                    java.lang.String structureId, java.lang.String templateId,
267                    java.lang.String rendererTemplateId, int delta,
268                    java.lang.String orderByCol, java.lang.String orderByType,
269                    java.lang.String targetLayoutFriendlyUrl,
270                    java.lang.String targetPortletId, java.lang.String contentField,
271                    java.lang.String feedType, double feedVersion,
272                    com.liferay.portal.service.ServiceContext serviceContext)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _journalFeedLocalService.updateFeed(groupId, feedId, name,
276                            description, type, structureId, templateId, rendererTemplateId,
277                            delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
278                            targetPortletId, contentField, feedType, feedVersion, serviceContext);
279            }
280    
281            public JournalFeedLocalService getWrappedJournalFeedLocalService() {
282                    return _journalFeedLocalService;
283            }
284    
285            private JournalFeedLocalService _journalFeedLocalService;
286    }