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