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