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