001
014
015 package com.liferay.portlet.bookmarks.service;
016
017
018
027 public class BookmarksEntryServiceWrapper implements BookmarksEntryService {
028 public BookmarksEntryServiceWrapper(
029 BookmarksEntryService bookmarksEntryService) {
030 _bookmarksEntryService = bookmarksEntryService;
031 }
032
033 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
034 long groupId, long folderId, java.lang.String name,
035 java.lang.String url, java.lang.String comments,
036 com.liferay.portal.service.ServiceContext serviceContext)
037 throws com.liferay.portal.kernel.exception.PortalException,
038 com.liferay.portal.kernel.exception.SystemException {
039 return _bookmarksEntryService.addEntry(groupId, folderId, name, url,
040 comments, serviceContext);
041 }
042
043 public void deleteEntry(long entryId)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _bookmarksEntryService.deleteEntry(entryId);
047 }
048
049 public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
050 long entryId)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException {
053 return _bookmarksEntryService.getEntry(entryId);
054 }
055
056 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
057 long entryId)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 return _bookmarksEntryService.openEntry(entryId);
061 }
062
063 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
064 long entryId, long groupId, long folderId, java.lang.String name,
065 java.lang.String url, java.lang.String comments,
066 com.liferay.portal.service.ServiceContext serviceContext)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
070 name, url, comments, serviceContext);
071 }
072
073 public BookmarksEntryService getWrappedBookmarksEntryService() {
074 return _bookmarksEntryService;
075 }
076
077 private BookmarksEntryService _bookmarksEntryService;
078 }