1
19
20 package com.liferay.portlet.bookmarks.service;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Propagation;
25 import com.liferay.portal.kernel.annotation.Transactional;
26
27
51 @Transactional(rollbackFor = {
52 PortalException.class, SystemException.class})
53 public interface BookmarksEntryService {
54 public 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 java.rmi.RemoteException, com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException;
60
61 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
62 long folderId, java.lang.String name, java.lang.String url,
63 java.lang.String comments, java.lang.String[] tagsEntries,
64 java.lang.String[] communityPermissions,
65 java.lang.String[] guestPermissions)
66 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
67 com.liferay.portal.SystemException;
68
69 public void deleteEntry(long entryId)
70 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
71 com.liferay.portal.SystemException;
72
73 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
74 public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
75 long entryId)
76 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException;
78
79 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
80 long entryId)
81 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
85 long entryId, long folderId, java.lang.String name,
86 java.lang.String url, java.lang.String comments,
87 java.lang.String[] tagsEntries)
88 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90 }