1
22
23 package com.liferay.portlet.bookmarks.service;
24
25
26
47 public class BookmarksEntryLocalServiceUtil {
48 public static com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(
49 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
50 throws com.liferay.portal.SystemException {
51 return _service.addBookmarksEntry(bookmarksEntry);
52 }
53
54 public static void deleteBookmarksEntry(long entryId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteBookmarksEntry(entryId);
58 }
59
60 public static void deleteBookmarksEntry(
61 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
62 throws com.liferay.portal.SystemException {
63 _service.deleteBookmarksEntry(bookmarksEntry);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntry(
79 long entryId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getBookmarksEntry(entryId);
83 }
84
85 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getBookmarksEntries(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getBookmarksEntries(start, end);
88 }
89
90 public static int getBookmarksEntriesCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getBookmarksEntriesCount();
93 }
94
95 public static com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
96 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
97 throws com.liferay.portal.SystemException {
98 return _service.updateBookmarksEntry(bookmarksEntry);
99 }
100
101 public static com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
102 long userId, long folderId, java.lang.String name,
103 java.lang.String url, java.lang.String comments,
104 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
105 boolean addGuestPermissions)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException {
108 return _service.addEntry(userId, folderId, name, url, comments,
109 tagsEntries, addCommunityPermissions, addGuestPermissions);
110 }
111
112 public static com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
113 java.lang.String uuid, long userId, long folderId,
114 java.lang.String name, java.lang.String url, java.lang.String comments,
115 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
116 boolean addGuestPermissions)
117 throws com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException {
119 return _service.addEntry(uuid, userId, folderId, name, url, comments,
120 tagsEntries, addCommunityPermissions, addGuestPermissions);
121 }
122
123 public static com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
124 long userId, long folderId, java.lang.String name,
125 java.lang.String url, java.lang.String comments,
126 java.lang.String[] tagsEntries,
127 java.lang.String[] communityPermissions,
128 java.lang.String[] guestPermissions)
129 throws com.liferay.portal.PortalException,
130 com.liferay.portal.SystemException {
131 return _service.addEntry(userId, folderId, name, url, comments,
132 tagsEntries, communityPermissions, guestPermissions);
133 }
134
135 public static com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
136 java.lang.String uuid, long userId, long folderId,
137 java.lang.String name, java.lang.String url, java.lang.String comments,
138 java.lang.String[] tagsEntries,
139 java.lang.Boolean addCommunityPermissions,
140 java.lang.Boolean addGuestPermissions,
141 java.lang.String[] communityPermissions,
142 java.lang.String[] guestPermissions)
143 throws com.liferay.portal.PortalException,
144 com.liferay.portal.SystemException {
145 return _service.addEntry(uuid, userId, folderId, name, url, comments,
146 tagsEntries, addCommunityPermissions, addGuestPermissions,
147 communityPermissions, guestPermissions);
148 }
149
150 public static void addEntryResources(long folderId, long entryId,
151 boolean addCommunityPermissions, boolean addGuestPermissions)
152 throws com.liferay.portal.PortalException,
153 com.liferay.portal.SystemException {
154 _service.addEntryResources(folderId, entryId, addCommunityPermissions,
155 addGuestPermissions);
156 }
157
158 public static void addEntryResources(
159 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
160 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
161 boolean addCommunityPermissions, boolean addGuestPermissions)
162 throws com.liferay.portal.PortalException,
163 com.liferay.portal.SystemException {
164 _service.addEntryResources(folder, entry, addCommunityPermissions,
165 addGuestPermissions);
166 }
167
168 public static void addEntryResources(long folderId, long entryId,
169 java.lang.String[] communityPermissions,
170 java.lang.String[] guestPermissions)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException {
173 _service.addEntryResources(folderId, entryId, communityPermissions,
174 guestPermissions);
175 }
176
177 public static void addEntryResources(
178 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
179 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
180 java.lang.String[] communityPermissions,
181 java.lang.String[] guestPermissions)
182 throws com.liferay.portal.PortalException,
183 com.liferay.portal.SystemException {
184 _service.addEntryResources(folder, entry, communityPermissions,
185 guestPermissions);
186 }
187
188 public static void deleteEntries(long folderId)
189 throws com.liferay.portal.PortalException,
190 com.liferay.portal.SystemException {
191 _service.deleteEntries(folderId);
192 }
193
194 public static void deleteEntry(long entryId)
195 throws com.liferay.portal.PortalException,
196 com.liferay.portal.SystemException {
197 _service.deleteEntry(entryId);
198 }
199
200 public static void deleteEntry(
201 com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
202 throws com.liferay.portal.PortalException,
203 com.liferay.portal.SystemException {
204 _service.deleteEntry(entry);
205 }
206
207 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
208 long folderId, int start, int end)
209 throws com.liferay.portal.SystemException {
210 return _service.getEntries(folderId, start, end);
211 }
212
213 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
214 long folderId, int start, int end,
215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216 throws com.liferay.portal.SystemException {
217 return _service.getEntries(folderId, start, end, orderByComparator);
218 }
219
220 public static int getEntriesCount(long folderId)
221 throws com.liferay.portal.SystemException {
222 return _service.getEntriesCount(folderId);
223 }
224
225 public static com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
226 long entryId)
227 throws com.liferay.portal.PortalException,
228 com.liferay.portal.SystemException {
229 return _service.getEntry(entryId);
230 }
231
232 public static int getFoldersEntriesCount(java.util.List<Long> folderIds)
233 throws com.liferay.portal.SystemException {
234 return _service.getFoldersEntriesCount(folderIds);
235 }
236
237 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
238 long groupId, int start, int end)
239 throws com.liferay.portal.SystemException {
240 return _service.getGroupEntries(groupId, start, end);
241 }
242
243 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
244 long groupId, long userId, int start, int end)
245 throws com.liferay.portal.SystemException {
246 return _service.getGroupEntries(groupId, userId, start, end);
247 }
248
249 public static int getGroupEntriesCount(long groupId)
250 throws com.liferay.portal.SystemException {
251 return _service.getGroupEntriesCount(groupId);
252 }
253
254 public static int getGroupEntriesCount(long groupId, long userId)
255 throws com.liferay.portal.SystemException {
256 return _service.getGroupEntriesCount(groupId, userId);
257 }
258
259 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
260 throws com.liferay.portal.SystemException {
261 return _service.getNoAssetEntries();
262 }
263
264 public static com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
265 long entryId)
266 throws com.liferay.portal.PortalException,
267 com.liferay.portal.SystemException {
268 return _service.openEntry(entryId);
269 }
270
271 public static com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
272 long userId, long entryId, long folderId, java.lang.String name,
273 java.lang.String url, java.lang.String comments,
274 java.lang.String[] tagsEntries)
275 throws com.liferay.portal.PortalException,
276 com.liferay.portal.SystemException {
277 return _service.updateEntry(userId, entryId, folderId, name, url,
278 comments, tagsEntries);
279 }
280
281 public static void updateTagsAsset(long userId,
282 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
283 java.lang.String[] tagsEntries)
284 throws com.liferay.portal.PortalException,
285 com.liferay.portal.SystemException {
286 _service.updateTagsAsset(userId, entry, tagsEntries);
287 }
288
289 public static BookmarksEntryLocalService getService() {
290 return _service;
291 }
292
293 public void setService(BookmarksEntryLocalService service) {
294 _service = service;
295 }
296
297 private static BookmarksEntryLocalService _service;
298 }