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
041 @Override
042 public java.lang.String getBeanIdentifier() {
043 return _bookmarksEntryService.getBeanIdentifier();
044 }
045
046
051 @Override
052 public void setBeanIdentifier(java.lang.String beanIdentifier) {
053 _bookmarksEntryService.setBeanIdentifier(beanIdentifier);
054 }
055
056 @Override
057 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
058 long groupId, long folderId, java.lang.String name,
059 java.lang.String url, java.lang.String description,
060 com.liferay.portal.service.ServiceContext serviceContext)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _bookmarksEntryService.addEntry(groupId, folderId, name, url,
064 description, serviceContext);
065 }
066
067 @Override
068 public void deleteEntry(long entryId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 _bookmarksEntryService.deleteEntry(entryId);
072 }
073
074 @Override
075 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
076 long groupId, long folderId, int start, int end)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 return _bookmarksEntryService.getEntries(groupId, folderId, start, end);
079 }
080
081 @Override
082 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
083 long groupId, long folderId, int start, int end,
084 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
085 throws com.liferay.portal.kernel.exception.SystemException {
086 return _bookmarksEntryService.getEntries(groupId, folderId, start, end,
087 orderByComparator);
088 }
089
090 @Override
091 public int getEntriesCount(long groupId, long folderId)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _bookmarksEntryService.getEntriesCount(groupId, folderId);
094 }
095
096 @Override
097 public int getEntriesCount(long groupId, long folderId, int status)
098 throws com.liferay.portal.kernel.exception.SystemException {
099 return _bookmarksEntryService.getEntriesCount(groupId, folderId, status);
100 }
101
102 @Override
103 public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
104 long entryId)
105 throws com.liferay.portal.kernel.exception.PortalException,
106 com.liferay.portal.kernel.exception.SystemException {
107 return _bookmarksEntryService.getEntry(entryId);
108 }
109
110 @Override
111 public int getFoldersEntriesCount(long groupId,
112 java.util.List<java.lang.Long> folderIds)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _bookmarksEntryService.getFoldersEntriesCount(groupId, folderIds);
115 }
116
117 @Override
118 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
119 long groupId, int start, int end)
120 throws com.liferay.portal.kernel.exception.PortalException,
121 com.liferay.portal.kernel.exception.SystemException {
122 return _bookmarksEntryService.getGroupEntries(groupId, start, end);
123 }
124
125 @Override
126 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
127 long groupId, long userId, int start, int end)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 return _bookmarksEntryService.getGroupEntries(groupId, userId, start,
131 end);
132 }
133
134 @Override
135 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
136 long groupId, long userId, long rootFolderId, int start, int end)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 return _bookmarksEntryService.getGroupEntries(groupId, userId,
140 rootFolderId, start, end);
141 }
142
143 @Override
144 public int getGroupEntriesCount(long groupId)
145 throws com.liferay.portal.kernel.exception.PortalException,
146 com.liferay.portal.kernel.exception.SystemException {
147 return _bookmarksEntryService.getGroupEntriesCount(groupId);
148 }
149
150 @Override
151 public int getGroupEntriesCount(long groupId, long userId)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 return _bookmarksEntryService.getGroupEntriesCount(groupId, userId);
155 }
156
157 @Override
158 public int getGroupEntriesCount(long groupId, long userId, long rootFolderId)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 return _bookmarksEntryService.getGroupEntriesCount(groupId, userId,
162 rootFolderId);
163 }
164
165 @Override
166 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntry(
167 long entryId, long parentFolderId)
168 throws com.liferay.portal.kernel.exception.PortalException,
169 com.liferay.portal.kernel.exception.SystemException {
170 return _bookmarksEntryService.moveEntry(entryId, parentFolderId);
171 }
172
173 @Override
174 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryFromTrash(
175 long entryId, long parentFolderId)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 return _bookmarksEntryService.moveEntryFromTrash(entryId, parentFolderId);
179 }
180
181 @Override
182 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryToTrash(
183 long entryId)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 return _bookmarksEntryService.moveEntryToTrash(entryId);
187 }
188
189 @Override
190 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
191 com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
192 throws com.liferay.portal.kernel.exception.PortalException,
193 com.liferay.portal.kernel.exception.SystemException {
194 return _bookmarksEntryService.openEntry(entry);
195 }
196
197 @Override
198 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
199 long entryId)
200 throws com.liferay.portal.kernel.exception.PortalException,
201 com.liferay.portal.kernel.exception.SystemException {
202 return _bookmarksEntryService.openEntry(entryId);
203 }
204
205 @Override
206 public void restoreEntryFromTrash(long entryId)
207 throws com.liferay.portal.kernel.exception.PortalException,
208 com.liferay.portal.kernel.exception.SystemException {
209 _bookmarksEntryService.restoreEntryFromTrash(entryId);
210 }
211
212 @Override
213 public com.liferay.portal.kernel.search.Hits search(long groupId,
214 long creatorUserId, int status, int start, int end)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException {
217 return _bookmarksEntryService.search(groupId, creatorUserId, status,
218 start, end);
219 }
220
221 @Override
222 public void subscribeEntry(long entryId)
223 throws com.liferay.portal.kernel.exception.PortalException,
224 com.liferay.portal.kernel.exception.SystemException {
225 _bookmarksEntryService.subscribeEntry(entryId);
226 }
227
228 @Override
229 public void unsubscribeEntry(long entryId)
230 throws com.liferay.portal.kernel.exception.PortalException,
231 com.liferay.portal.kernel.exception.SystemException {
232 _bookmarksEntryService.unsubscribeEntry(entryId);
233 }
234
235 @Override
236 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
237 long entryId, long groupId, long folderId, java.lang.String name,
238 java.lang.String url, java.lang.String description,
239 com.liferay.portal.service.ServiceContext serviceContext)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException {
242 return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
243 name, url, description, serviceContext);
244 }
245
246
249 public BookmarksEntryService getWrappedBookmarksEntryService() {
250 return _bookmarksEntryService;
251 }
252
253
256 public void setWrappedBookmarksEntryService(
257 BookmarksEntryService bookmarksEntryService) {
258 _bookmarksEntryService = bookmarksEntryService;
259 }
260
261 @Override
262 public BookmarksEntryService getWrappedService() {
263 return _bookmarksEntryService;
264 }
265
266 @Override
267 public void setWrappedService(BookmarksEntryService bookmarksEntryService) {
268 _bookmarksEntryService = bookmarksEntryService;
269 }
270
271 private BookmarksEntryService _bookmarksEntryService;
272 }