1
14
15 package com.liferay.portlet.bookmarks.service;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.kernel.annotation.Isolation;
20 import com.liferay.portal.kernel.annotation.Propagation;
21 import com.liferay.portal.kernel.annotation.Transactional;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface BookmarksEntryService {
50 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
51 long folderId, java.lang.String name, java.lang.String url,
52 java.lang.String comments, java.lang.String[] tagsEntries,
53 boolean addCommunityPermissions, boolean addGuestPermissions)
54 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
55 com.liferay.portal.SystemException;
56
57 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
58 long folderId, java.lang.String name, java.lang.String url,
59 java.lang.String comments, java.lang.String[] tagsEntries,
60 java.lang.String[] communityPermissions,
61 java.lang.String[] guestPermissions)
62 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
63 com.liferay.portal.SystemException;
64
65 public void deleteEntry(long entryId)
66 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
67 com.liferay.portal.SystemException;
68
69 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
70 public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
71 long entryId)
72 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
73 com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
76 long entryId)
77 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
81 long entryId, long folderId, java.lang.String name,
82 java.lang.String url, java.lang.String comments,
83 java.lang.String[] tagsEntries)
84 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException;
86 }