1
22
23 package com.liferay.portlet.bookmarks.service;
24
25
26
47 public class BookmarksEntryServiceUtil {
48 public static com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
49 long folderId, java.lang.String name, java.lang.String url,
50 java.lang.String comments, java.lang.String[] tagsEntries,
51 boolean addCommunityPermissions, boolean addGuestPermissions)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException, java.rmi.RemoteException {
54 return _service.addEntry(folderId, name, url, comments, tagsEntries,
55 addCommunityPermissions, addGuestPermissions);
56 }
57
58 public static com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
59 long folderId, java.lang.String name, java.lang.String url,
60 java.lang.String comments, java.lang.String[] tagsEntries,
61 java.lang.String[] communityPermissions,
62 java.lang.String[] guestPermissions)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException, java.rmi.RemoteException {
65 return _service.addEntry(folderId, name, url, comments, tagsEntries,
66 communityPermissions, guestPermissions);
67 }
68
69 public static void deleteEntry(long entryId)
70 throws com.liferay.portal.PortalException,
71 com.liferay.portal.SystemException, java.rmi.RemoteException {
72 _service.deleteEntry(entryId);
73 }
74
75 public static com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
76 long entryId)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException, java.rmi.RemoteException {
79 return _service.getEntry(entryId);
80 }
81
82 public static com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
83 long entryId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException, java.rmi.RemoteException {
86 return _service.openEntry(entryId);
87 }
88
89 public static com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
90 long entryId, long folderId, java.lang.String name,
91 java.lang.String url, java.lang.String comments,
92 java.lang.String[] tagsEntries)
93 throws com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException, java.rmi.RemoteException {
95 return _service.updateEntry(entryId, folderId, name, url, comments,
96 tagsEntries);
97 }
98
99 public static BookmarksEntryService getService() {
100 return _service;
101 }
102
103 public void setService(BookmarksEntryService service) {
104 _service = service;
105 }
106
107 private static BookmarksEntryService _service;
108 }