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