001    /**
002     * Copyright (c) 2000-2013 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            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            public java.lang.String getBeanIdentifier() {
041                    return _bookmarksEntryService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _bookmarksEntryService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
054                    long groupId, long folderId, java.lang.String name,
055                    java.lang.String url, java.lang.String description,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _bookmarksEntryService.addEntry(groupId, folderId, name, url,
060                            description, serviceContext);
061            }
062    
063            public void deleteEntry(long entryId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _bookmarksEntryService.deleteEntry(entryId);
067            }
068    
069            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
070                    long groupId, long folderId, int start, int end)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _bookmarksEntryService.getEntries(groupId, folderId, start, end);
073            }
074    
075            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
076                    long groupId, long folderId, int start, int end,
077                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _bookmarksEntryService.getEntries(groupId, folderId, start, end,
080                            orderByComparator);
081            }
082    
083            public int getEntriesCount(long groupId, long folderId)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _bookmarksEntryService.getEntriesCount(groupId, folderId);
086            }
087    
088            public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
089                    long entryId)
090                    throws com.liferay.portal.kernel.exception.PortalException,
091                            com.liferay.portal.kernel.exception.SystemException {
092                    return _bookmarksEntryService.getEntry(entryId);
093            }
094    
095            public int getFoldersEntriesCount(long groupId,
096                    java.util.List<java.lang.Long> folderIds)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _bookmarksEntryService.getFoldersEntriesCount(groupId, folderIds);
099            }
100    
101            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
102                    long groupId, int start, int end)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _bookmarksEntryService.getGroupEntries(groupId, start, end);
105            }
106    
107            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
108                    long groupId, long userId, int start, int end)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _bookmarksEntryService.getGroupEntries(groupId, userId, start,
111                            end);
112            }
113    
114            public int getGroupEntriesCount(long groupId)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _bookmarksEntryService.getGroupEntriesCount(groupId);
117            }
118    
119            public int getGroupEntriesCount(long groupId, long userId)
120                    throws com.liferay.portal.kernel.exception.SystemException {
121                    return _bookmarksEntryService.getGroupEntriesCount(groupId, userId);
122            }
123    
124            public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
125                    long entryId)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    return _bookmarksEntryService.openEntry(entryId);
129            }
130    
131            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
132                    long entryId, long groupId, long folderId, java.lang.String name,
133                    java.lang.String url, java.lang.String description,
134                    com.liferay.portal.service.ServiceContext serviceContext)
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
138                            name, url, description, serviceContext);
139            }
140    
141            /**
142             * @deprecated Renamed to {@link #getWrappedService}
143             */
144            public BookmarksEntryService getWrappedBookmarksEntryService() {
145                    return _bookmarksEntryService;
146            }
147    
148            /**
149             * @deprecated Renamed to {@link #setWrappedService}
150             */
151            public void setWrappedBookmarksEntryService(
152                    BookmarksEntryService bookmarksEntryService) {
153                    _bookmarksEntryService = bookmarksEntryService;
154            }
155    
156            public BookmarksEntryService getWrappedService() {
157                    return _bookmarksEntryService;
158            }
159    
160            public void setWrappedService(BookmarksEntryService bookmarksEntryService) {
161                    _bookmarksEntryService = bookmarksEntryService;
162            }
163    
164            private BookmarksEntryService _bookmarksEntryService;
165    }