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