001    /**
002     * Copyright (c) 2000-2012 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.bookmarks.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link BookmarksEntryService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       BookmarksEntryService
026     * @generated
027     */
028    public class BookmarksEntryServiceWrapper implements BookmarksEntryService,
029            ServiceWrapper<BookmarksEntryService> {
030            public BookmarksEntryServiceWrapper(
031                    BookmarksEntryService bookmarksEntryService) {
032                    _bookmarksEntryService = bookmarksEntryService;
033            }
034    
035            public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
036                    long groupId, long folderId, java.lang.String name,
037                    java.lang.String url, java.lang.String description,
038                    com.liferay.portal.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException {
041                    return _bookmarksEntryService.addEntry(groupId, folderId, name, url,
042                            description, serviceContext);
043            }
044    
045            public void deleteEntry(long entryId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _bookmarksEntryService.deleteEntry(entryId);
049            }
050    
051            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
052                    long groupId, long folderId, int start, int end)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    return _bookmarksEntryService.getEntries(groupId, folderId, start, end);
055            }
056    
057            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
058                    long groupId, long folderId, int start, int end,
059                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _bookmarksEntryService.getEntries(groupId, folderId, start, end,
062                            orderByComparator);
063            }
064    
065            public int getEntriesCount(long groupId, long folderId)
066                    throws com.liferay.portal.kernel.exception.SystemException {
067                    return _bookmarksEntryService.getEntriesCount(groupId, folderId);
068            }
069    
070            public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
071                    long entryId)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _bookmarksEntryService.getEntry(entryId);
075            }
076    
077            public int getFoldersEntriesCount(long groupId,
078                    java.util.List<java.lang.Long> folderIds)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _bookmarksEntryService.getFoldersEntriesCount(groupId, folderIds);
081            }
082    
083            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
084                    long groupId, int start, int end)
085                    throws com.liferay.portal.kernel.exception.SystemException {
086                    return _bookmarksEntryService.getGroupEntries(groupId, start, end);
087            }
088    
089            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
090                    long groupId, long userId, int start, int end)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _bookmarksEntryService.getGroupEntries(groupId, userId, start,
093                            end);
094            }
095    
096            public int getGroupEntriesCount(long groupId)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _bookmarksEntryService.getGroupEntriesCount(groupId);
099            }
100    
101            public int getGroupEntriesCount(long groupId, long userId)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _bookmarksEntryService.getGroupEntriesCount(groupId, userId);
104            }
105    
106            public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
107                    long entryId)
108                    throws com.liferay.portal.kernel.exception.PortalException,
109                            com.liferay.portal.kernel.exception.SystemException {
110                    return _bookmarksEntryService.openEntry(entryId);
111            }
112    
113            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
114                    long entryId, long groupId, long folderId, java.lang.String name,
115                    java.lang.String url, java.lang.String description,
116                    com.liferay.portal.service.ServiceContext serviceContext)
117                    throws com.liferay.portal.kernel.exception.PortalException,
118                            com.liferay.portal.kernel.exception.SystemException {
119                    return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
120                            name, url, description, serviceContext);
121            }
122    
123            /**
124             * @deprecated Renamed to {@link #getWrappedService}
125             */
126            public BookmarksEntryService getWrappedBookmarksEntryService() {
127                    return _bookmarksEntryService;
128            }
129    
130            /**
131             * @deprecated Renamed to {@link #setWrappedService}
132             */
133            public void setWrappedBookmarksEntryService(
134                    BookmarksEntryService bookmarksEntryService) {
135                    _bookmarksEntryService = bookmarksEntryService;
136            }
137    
138            public BookmarksEntryService getWrappedService() {
139                    return _bookmarksEntryService;
140            }
141    
142            public void setWrappedService(BookmarksEntryService bookmarksEntryService) {
143                    _bookmarksEntryService = bookmarksEntryService;
144            }
145    
146            private BookmarksEntryService _bookmarksEntryService;
147    }