1
22
23 package com.liferay.portlet.bookmarks.service;
24
25
26
51 public interface BookmarksEntryLocalService {
52 public com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(
53 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
54 throws com.liferay.portal.SystemException;
55
56 public void deleteBookmarksEntry(long entryId)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deleteBookmarksEntry(
61 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portal.PortalException;
64
65 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> dynamicQuery(
66 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> dynamicQuery(
70 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
71 int begin, int end) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
74 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
75 throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
78 long userId, long folderId, java.lang.String name,
79 java.lang.String url, java.lang.String comments,
80 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
81 boolean addGuestPermissions)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portal.PortalException;
84
85 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
86 java.lang.String uuid, long userId, long folderId,
87 java.lang.String name, java.lang.String url, java.lang.String comments,
88 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
89 boolean addGuestPermissions)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portal.PortalException;
92
93 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
94 long userId, long folderId, java.lang.String name,
95 java.lang.String url, java.lang.String comments,
96 java.lang.String[] tagsEntries,
97 java.lang.String[] communityPermissions,
98 java.lang.String[] guestPermissions)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portal.PortalException;
101
102 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
103 java.lang.String uuid, long userId, long folderId,
104 java.lang.String name, java.lang.String url, java.lang.String comments,
105 java.lang.String[] tagsEntries,
106 java.lang.Boolean addCommunityPermissions,
107 java.lang.Boolean addGuestPermissions,
108 java.lang.String[] communityPermissions,
109 java.lang.String[] guestPermissions)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portal.PortalException;
112
113 public void addEntryResources(long folderId, long entryId,
114 boolean addCommunityPermissions, boolean addGuestPermissions)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portal.PortalException;
117
118 public void addEntryResources(
119 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
120 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
121 boolean addCommunityPermissions, boolean addGuestPermissions)
122 throws com.liferay.portal.SystemException,
123 com.liferay.portal.PortalException;
124
125 public void addEntryResources(long folderId, long entryId,
126 java.lang.String[] communityPermissions,
127 java.lang.String[] guestPermissions)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portal.PortalException;
130
131 public void addEntryResources(
132 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
133 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
134 java.lang.String[] communityPermissions,
135 java.lang.String[] guestPermissions)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portal.PortalException;
138
139 public void deleteEntries(long folderId)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portal.PortalException;
142
143 public void deleteEntry(long entryId)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portal.PortalException;
146
147 public void deleteEntry(
148 com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
149 throws com.liferay.portal.SystemException,
150 com.liferay.portal.PortalException;
151
152 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
153 long folderId, int begin, int end)
154 throws com.liferay.portal.SystemException;
155
156 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
157 long folderId, int begin, int end,
158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159 throws com.liferay.portal.SystemException;
160
161 public int getEntriesCount(long folderId)
162 throws com.liferay.portal.SystemException;
163
164 public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
165 long entryId)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portal.PortalException;
168
169 public int getFoldersEntriesCount(java.util.List<Long> folderIds)
170 throws com.liferay.portal.SystemException;
171
172 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
173 long groupId, int begin, int end)
174 throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
177 long groupId, long userId, int begin, int end)
178 throws com.liferay.portal.SystemException;
179
180 public int getGroupEntriesCount(long groupId)
181 throws com.liferay.portal.SystemException;
182
183 public int getGroupEntriesCount(long groupId, long userId)
184 throws com.liferay.portal.SystemException;
185
186 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
187 throws com.liferay.portal.SystemException;
188
189 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
190 long entryId)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portal.PortalException;
193
194 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
195 long userId, long entryId, long folderId, java.lang.String name,
196 java.lang.String url, java.lang.String comments,
197 java.lang.String[] tagsEntries)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portal.PortalException;
200
201 public void updateTagsAsset(long userId,
202 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
203 java.lang.String[] tagsEntries)
204 throws com.liferay.portal.SystemException,
205 com.liferay.portal.PortalException;
206 }