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.SystemException {
104 return _bookmarksEntryService.getGroupEntries(groupId, start, end);
105 }
106
107 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
108 long groupId, long userId, int start, int end)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _bookmarksEntryService.getGroupEntries(groupId, userId, start,
111 end);
112 }
113
114 public int getGroupEntriesCount(long groupId)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _bookmarksEntryService.getGroupEntriesCount(groupId);
117 }
118
119 public int getGroupEntriesCount(long groupId, long userId)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return _bookmarksEntryService.getGroupEntriesCount(groupId, userId);
122 }
123
124 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntry(
125 long entryId, long parentFolderId)
126 throws com.liferay.portal.kernel.exception.PortalException,
127 com.liferay.portal.kernel.exception.SystemException {
128 return _bookmarksEntryService.moveEntry(entryId, parentFolderId);
129 }
130
131 public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryFromTrash(
132 long entryId, long parentFolderId)
133 throws com.liferay.portal.kernel.exception.PortalException,
134 com.liferay.portal.kernel.exception.SystemException {
135 return _bookmarksEntryService.moveEntryFromTrash(entryId, parentFolderId);
136 }
137
138 public void moveEntryToTrash(long entryId)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException {
141 _bookmarksEntryService.moveEntryToTrash(entryId);
142 }
143
144 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
145 com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 return _bookmarksEntryService.openEntry(entry);
149 }
150
151 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
152 long entryId)
153 throws com.liferay.portal.kernel.exception.PortalException,
154 com.liferay.portal.kernel.exception.SystemException {
155 return _bookmarksEntryService.openEntry(entryId);
156 }
157
158 public void restoreEntryFromTrash(long entryId)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 _bookmarksEntryService.restoreEntryFromTrash(entryId);
162 }
163
164 public void subscribeEntry(long entryId)
165 throws com.liferay.portal.kernel.exception.PortalException,
166 com.liferay.portal.kernel.exception.SystemException {
167 _bookmarksEntryService.subscribeEntry(entryId);
168 }
169
170 public void unsubscribeEntry(long entryId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 _bookmarksEntryService.unsubscribeEntry(entryId);
174 }
175
176 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
177 long entryId, long groupId, long folderId, java.lang.String name,
178 java.lang.String url, java.lang.String description,
179 com.liferay.portal.service.ServiceContext serviceContext)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
183 name, url, description, serviceContext);
184 }
185
186
189 public BookmarksEntryService getWrappedBookmarksEntryService() {
190 return _bookmarksEntryService;
191 }
192
193
196 public void setWrappedBookmarksEntryService(
197 BookmarksEntryService bookmarksEntryService) {
198 _bookmarksEntryService = bookmarksEntryService;
199 }
200
201 public BookmarksEntryService getWrappedService() {
202 return _bookmarksEntryService;
203 }
204
205 public void setWrappedService(BookmarksEntryService bookmarksEntryService) {
206 _bookmarksEntryService = bookmarksEntryService;
207 }
208
209 private BookmarksEntryService _bookmarksEntryService;
210 }