001
014
015 package com.liferay.portlet.bookmarks.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class BookmarksEntryServiceWrapper implements BookmarksEntryService,
029 ServiceWrapper<BookmarksEntryService> {
030 public BookmarksEntryServiceWrapper(
031 BookmarksEntryService bookmarksEntryService) {
032 _bookmarksEntryService = bookmarksEntryService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _bookmarksEntryService.getBeanIdentifier();
042 }
043
044
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.PortalException,
104 com.liferay.portal.kernel.exception.SystemException {
105 return _bookmarksEntryService.getGroupEntries(groupId, start, end);
106 }
107
108 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
109 long groupId, long userId, int start, int end)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return _bookmarksEntryService.getGroupEntries(groupId, userId, start,
113 end);
114 }
115
116 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
117 long groupId, long userId, long rootFolderId, int start, int end)
118 throws com.liferay.portal.kernel.exception.PortalException,
119 com.liferay.portal.kernel.exception.SystemException {
120 return _bookmarksEntryService.getGroupEntries(groupId, userId,
121 rootFolderId, start, end);
122 }
123
124 public int getGroupEntriesCount(long groupId)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 return _bookmarksEntryService.getGroupEntriesCount(groupId);
128 }
129
130 public int getGroupEntriesCount(long groupId, long userId)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 return _bookmarksEntryService.getGroupEntriesCount(groupId, userId);
134 }
135
136 public int getGroupEntriesCount(long groupId, long userId, long rootFolderId)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 return _bookmarksEntryService.getGroupEntriesCount(groupId, userId,
140 rootFolderId);
141 }
142
143 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntry(
144 long entryId, long parentFolderId)
145 throws com.liferay.portal.kernel.exception.PortalException,
146 com.liferay.portal.kernel.exception.SystemException {
147 return _bookmarksEntryService.moveEntry(entryId, parentFolderId);
148 }
149
150 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryFromTrash(
151 long entryId, long parentFolderId)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 return _bookmarksEntryService.moveEntryFromTrash(entryId, parentFolderId);
155 }
156
157 public void moveEntryToTrash(long entryId)
158 throws com.liferay.portal.kernel.exception.PortalException,
159 com.liferay.portal.kernel.exception.SystemException {
160 _bookmarksEntryService.moveEntryToTrash(entryId);
161 }
162
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 com.liferay.portal.kernel.exception.SystemException {
167 return _bookmarksEntryService.openEntry(entry);
168 }
169
170 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
171 long entryId)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 return _bookmarksEntryService.openEntry(entryId);
175 }
176
177 public void restoreEntryFromTrash(long entryId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 _bookmarksEntryService.restoreEntryFromTrash(entryId);
181 }
182
183 public void subscribeEntry(long entryId)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 _bookmarksEntryService.subscribeEntry(entryId);
187 }
188
189 public void unsubscribeEntry(long entryId)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException {
192 _bookmarksEntryService.unsubscribeEntry(entryId);
193 }
194
195 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
196 long entryId, long groupId, long folderId, java.lang.String name,
197 java.lang.String url, java.lang.String description,
198 com.liferay.portal.service.ServiceContext serviceContext)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
202 name, url, description, serviceContext);
203 }
204
205
208 public BookmarksEntryService getWrappedBookmarksEntryService() {
209 return _bookmarksEntryService;
210 }
211
212
215 public void setWrappedBookmarksEntryService(
216 BookmarksEntryService bookmarksEntryService) {
217 _bookmarksEntryService = bookmarksEntryService;
218 }
219
220 public BookmarksEntryService getWrappedService() {
221 return _bookmarksEntryService;
222 }
223
224 public void setWrappedService(BookmarksEntryService bookmarksEntryService) {
225 _bookmarksEntryService = bookmarksEntryService;
226 }
227
228 private BookmarksEntryService _bookmarksEntryService;
229 }