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