001
014
015 package com.liferay.portlet.bookmarks.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class BookmarksEntryServiceWrapper implements BookmarksEntryService,
030 ServiceWrapper<BookmarksEntryService> {
031 public BookmarksEntryServiceWrapper(
032 BookmarksEntryService bookmarksEntryService) {
033 _bookmarksEntryService = bookmarksEntryService;
034 }
035
036 @Override
037 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
038 long groupId, long folderId, java.lang.String name,
039 java.lang.String url, java.lang.String description,
040 com.liferay.portal.service.ServiceContext serviceContext)
041 throws com.liferay.portal.kernel.exception.PortalException {
042 return _bookmarksEntryService.addEntry(groupId, folderId, name, url,
043 description, serviceContext);
044 }
045
046 @Override
047 public void deleteEntry(long entryId)
048 throws com.liferay.portal.kernel.exception.PortalException {
049 _bookmarksEntryService.deleteEntry(entryId);
050 }
051
052
057 @Override
058 public java.lang.String getBeanIdentifier() {
059 return _bookmarksEntryService.getBeanIdentifier();
060 }
061
062 @Override
063 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
064 long groupId, long folderId, int start, int end) {
065 return _bookmarksEntryService.getEntries(groupId, folderId, start, end);
066 }
067
068 @Override
069 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
070 long groupId, long folderId, int start, int end,
071 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) {
072 return _bookmarksEntryService.getEntries(groupId, folderId, start, end,
073 orderByComparator);
074 }
075
076 @Override
077 public int getEntriesCount(long groupId, long folderId) {
078 return _bookmarksEntryService.getEntriesCount(groupId, folderId);
079 }
080
081 @Override
082 public int getEntriesCount(long groupId, long folderId, int status) {
083 return _bookmarksEntryService.getEntriesCount(groupId, folderId, status);
084 }
085
086 @Override
087 public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
088 long entryId)
089 throws com.liferay.portal.kernel.exception.PortalException {
090 return _bookmarksEntryService.getEntry(entryId);
091 }
092
093 @Override
094 public int getFoldersEntriesCount(long groupId,
095 java.util.List<java.lang.Long> folderIds) {
096 return _bookmarksEntryService.getFoldersEntriesCount(groupId, folderIds);
097 }
098
099 @Override
100 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
101 long groupId, int start, int end)
102 throws com.liferay.portal.kernel.exception.PortalException {
103 return _bookmarksEntryService.getGroupEntries(groupId, start, end);
104 }
105
106 @Override
107 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
108 long groupId, long userId, long rootFolderId, int start, int end)
109 throws com.liferay.portal.kernel.exception.PortalException {
110 return _bookmarksEntryService.getGroupEntries(groupId, userId,
111 rootFolderId, start, end);
112 }
113
114 @Override
115 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
116 long groupId, long userId, int start, int end)
117 throws com.liferay.portal.kernel.exception.PortalException {
118 return _bookmarksEntryService.getGroupEntries(groupId, userId, start,
119 end);
120 }
121
122 @Override
123 public int getGroupEntriesCount(long groupId)
124 throws com.liferay.portal.kernel.exception.PortalException {
125 return _bookmarksEntryService.getGroupEntriesCount(groupId);
126 }
127
128 @Override
129 public int getGroupEntriesCount(long groupId, long userId)
130 throws com.liferay.portal.kernel.exception.PortalException {
131 return _bookmarksEntryService.getGroupEntriesCount(groupId, userId);
132 }
133
134 @Override
135 public int getGroupEntriesCount(long groupId, long userId, long rootFolderId)
136 throws com.liferay.portal.kernel.exception.PortalException {
137 return _bookmarksEntryService.getGroupEntriesCount(groupId, userId,
138 rootFolderId);
139 }
140
141 @Override
142 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntry(
143 long entryId, long parentFolderId)
144 throws com.liferay.portal.kernel.exception.PortalException {
145 return _bookmarksEntryService.moveEntry(entryId, parentFolderId);
146 }
147
148 @Override
149 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryFromTrash(
150 long entryId, long parentFolderId)
151 throws com.liferay.portal.kernel.exception.PortalException {
152 return _bookmarksEntryService.moveEntryFromTrash(entryId, parentFolderId);
153 }
154
155 @Override
156 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryToTrash(
157 long entryId)
158 throws com.liferay.portal.kernel.exception.PortalException {
159 return _bookmarksEntryService.moveEntryToTrash(entryId);
160 }
161
162 @Override
163 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
164 com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
165 throws com.liferay.portal.kernel.exception.PortalException {
166 return _bookmarksEntryService.openEntry(entry);
167 }
168
169 @Override
170 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
171 long entryId)
172 throws com.liferay.portal.kernel.exception.PortalException {
173 return _bookmarksEntryService.openEntry(entryId);
174 }
175
176 @Override
177 public void restoreEntryFromTrash(long entryId)
178 throws com.liferay.portal.kernel.exception.PortalException {
179 _bookmarksEntryService.restoreEntryFromTrash(entryId);
180 }
181
182 @Override
183 public com.liferay.portal.kernel.search.Hits search(long groupId,
184 long creatorUserId, int status, int start, int end)
185 throws com.liferay.portal.kernel.exception.PortalException {
186 return _bookmarksEntryService.search(groupId, creatorUserId, status,
187 start, end);
188 }
189
190
195 @Override
196 public void setBeanIdentifier(java.lang.String beanIdentifier) {
197 _bookmarksEntryService.setBeanIdentifier(beanIdentifier);
198 }
199
200 @Override
201 public void subscribeEntry(long entryId)
202 throws com.liferay.portal.kernel.exception.PortalException {
203 _bookmarksEntryService.subscribeEntry(entryId);
204 }
205
206 @Override
207 public void unsubscribeEntry(long entryId)
208 throws com.liferay.portal.kernel.exception.PortalException {
209 _bookmarksEntryService.unsubscribeEntry(entryId);
210 }
211
212 @Override
213 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
214 long entryId, long groupId, long folderId, java.lang.String name,
215 java.lang.String url, java.lang.String description,
216 com.liferay.portal.service.ServiceContext serviceContext)
217 throws com.liferay.portal.kernel.exception.PortalException {
218 return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
219 name, url, description, serviceContext);
220 }
221
222
225 @Deprecated
226 public BookmarksEntryService getWrappedBookmarksEntryService() {
227 return _bookmarksEntryService;
228 }
229
230
233 @Deprecated
234 public void setWrappedBookmarksEntryService(
235 BookmarksEntryService bookmarksEntryService) {
236 _bookmarksEntryService = bookmarksEntryService;
237 }
238
239 @Override
240 public BookmarksEntryService getWrappedService() {
241 return _bookmarksEntryService;
242 }
243
244 @Override
245 public void setWrappedService(BookmarksEntryService bookmarksEntryService) {
246 _bookmarksEntryService = bookmarksEntryService;
247 }
248
249 private BookmarksEntryService _bookmarksEntryService;
250 }