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 model)
54 throws com.liferay.portal.SystemException;
55
56 public java.util.List dynamicQuery(
57 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
62 int begin, int end) throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
65 com.liferay.portlet.bookmarks.model.BookmarksEntry model)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence getBookmarksEntryPersistence();
69
70 public void setBookmarksEntryPersistence(
71 com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence);
72
73 public com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder getBookmarksEntryFinder();
74
75 public void setBookmarksEntryFinder(
76 com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder bookmarksEntryFinder);
77
78 public com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence getBookmarksFolderPersistence();
79
80 public void setBookmarksFolderPersistence(
81 com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence bookmarksFolderPersistence);
82
83 public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
84
85 public void setResourcePersistence(
86 com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
87
88 public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
89
90 public void setResourceFinder(
91 com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
92
93 public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
94
95 public void setUserPersistence(
96 com.liferay.portal.service.persistence.UserPersistence userPersistence);
97
98 public com.liferay.portal.service.persistence.UserFinder getUserFinder();
99
100 public void setUserFinder(
101 com.liferay.portal.service.persistence.UserFinder userFinder);
102
103 public com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence();
104
105 public void setTagsAssetPersistence(
106 com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence);
107
108 public com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder();
109
110 public void setTagsAssetFinder(
111 com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder);
112
113 public void afterPropertiesSet();
114
115 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
116 long userId, long folderId, java.lang.String name,
117 java.lang.String url, java.lang.String comments,
118 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
119 boolean addGuestPermissions)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portal.PortalException;
122
123 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
124 java.lang.String uuid, long userId, long folderId,
125 java.lang.String name, java.lang.String url, java.lang.String comments,
126 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
127 boolean addGuestPermissions)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portal.PortalException;
130
131 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
132 long userId, long folderId, java.lang.String name,
133 java.lang.String url, java.lang.String comments,
134 java.lang.String[] tagsEntries,
135 java.lang.String[] communityPermissions,
136 java.lang.String[] guestPermissions)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portal.PortalException;
139
140 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
141 java.lang.String uuid, long userId, long folderId,
142 java.lang.String name, java.lang.String url, java.lang.String comments,
143 java.lang.String[] tagsEntries,
144 java.lang.Boolean addCommunityPermissions,
145 java.lang.Boolean addGuestPermissions,
146 java.lang.String[] communityPermissions,
147 java.lang.String[] guestPermissions)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portal.PortalException;
150
151 public void addEntryResources(long folderId, long entryId,
152 boolean addCommunityPermissions, boolean addGuestPermissions)
153 throws com.liferay.portal.SystemException,
154 com.liferay.portal.PortalException;
155
156 public void addEntryResources(
157 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
158 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
159 boolean addCommunityPermissions, boolean addGuestPermissions)
160 throws com.liferay.portal.SystemException,
161 com.liferay.portal.PortalException;
162
163 public void addEntryResources(long folderId, long entryId,
164 java.lang.String[] communityPermissions,
165 java.lang.String[] guestPermissions)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portal.PortalException;
168
169 public void addEntryResources(
170 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
171 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
172 java.lang.String[] communityPermissions,
173 java.lang.String[] guestPermissions)
174 throws com.liferay.portal.SystemException,
175 com.liferay.portal.PortalException;
176
177 public void deleteEntries(long folderId)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portal.PortalException;
180
181 public void deleteEntry(long entryId)
182 throws com.liferay.portal.SystemException,
183 com.liferay.portal.PortalException;
184
185 public void deleteEntry(
186 com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portal.PortalException;
189
190 public java.util.List getEntries(long folderId, int begin, int end)
191 throws com.liferay.portal.SystemException;
192
193 public java.util.List getEntries(long folderId, int begin, int end,
194 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
195 throws com.liferay.portal.SystemException;
196
197 public int getEntriesCount(long folderId)
198 throws com.liferay.portal.SystemException;
199
200 public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
201 long entryId)
202 throws com.liferay.portal.SystemException,
203 com.liferay.portal.PortalException;
204
205 public int getFoldersEntriesCount(java.util.List folderIds)
206 throws com.liferay.portal.SystemException;
207
208 public java.util.List getGroupEntries(long groupId, int begin, int end)
209 throws com.liferay.portal.SystemException;
210
211 public java.util.List getGroupEntries(long groupId, long userId, int begin,
212 int end) throws com.liferay.portal.SystemException;
213
214 public int getGroupEntriesCount(long groupId)
215 throws com.liferay.portal.SystemException;
216
217 public int getGroupEntriesCount(long groupId, long userId)
218 throws com.liferay.portal.SystemException;
219
220 public java.util.List getNoAssetEntries()
221 throws com.liferay.portal.SystemException;
222
223 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
224 long entryId)
225 throws com.liferay.portal.SystemException,
226 com.liferay.portal.PortalException;
227
228 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
229 long userId, long entryId, long folderId, java.lang.String name,
230 java.lang.String url, java.lang.String comments,
231 java.lang.String[] tagsEntries)
232 throws com.liferay.portal.SystemException,
233 com.liferay.portal.PortalException;
234
235 public void updateTagsAsset(long userId,
236 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
237 java.lang.String[] tagsEntries)
238 throws com.liferay.portal.SystemException,
239 com.liferay.portal.PortalException;
240 }