1
22
23 package com.liferay.portlet.bookmarks.service;
24
25
26
51 public interface BookmarksFolderLocalService {
52 public com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(
53 com.liferay.portlet.bookmarks.model.BookmarksFolder 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.BookmarksFolder updateBookmarksFolder(
65 com.liferay.portlet.bookmarks.model.BookmarksFolder 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.TagsEntryPersistence getTagsEntryPersistence();
104
105 public void setTagsEntryPersistence(
106 com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence);
107
108 public com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder();
109
110 public void setTagsEntryFinder(
111 com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder);
112
113 public void afterPropertiesSet();
114
115 public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
116 long userId, long plid, long parentFolderId, java.lang.String name,
117 java.lang.String description, boolean addCommunityPermissions,
118 boolean addGuestPermissions)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portal.PortalException;
121
122 public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
123 java.lang.String uuid, long userId, long plid, long parentFolderId,
124 java.lang.String name, java.lang.String description,
125 boolean addCommunityPermissions, boolean addGuestPermissions)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portal.PortalException;
128
129 public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
130 long userId, long plid, long parentFolderId, java.lang.String name,
131 java.lang.String description, java.lang.String[] communityPermissions,
132 java.lang.String[] guestPermissions)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portal.PortalException;
135
136 public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
137 java.lang.String uuid, long userId, long plid, long parentFolderId,
138 java.lang.String name, java.lang.String description,
139 java.lang.Boolean addCommunityPermissions,
140 java.lang.Boolean addGuestPermissions,
141 java.lang.String[] communityPermissions,
142 java.lang.String[] guestPermissions)
143 throws com.liferay.portal.SystemException,
144 com.liferay.portal.PortalException;
145
146 public void addFolderResources(long folderId,
147 boolean addCommunityPermissions, boolean addGuestPermissions)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portal.PortalException;
150
151 public void addFolderResources(
152 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
153 boolean addCommunityPermissions, boolean addGuestPermissions)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portal.PortalException;
156
157 public void addFolderResources(long folderId,
158 java.lang.String[] communityPermissions,
159 java.lang.String[] guestPermissions)
160 throws com.liferay.portal.SystemException,
161 com.liferay.portal.PortalException;
162
163 public void addFolderResources(
164 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
165 java.lang.String[] communityPermissions,
166 java.lang.String[] guestPermissions)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portal.PortalException;
169
170 public void deleteFolder(long folderId)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portal.PortalException;
173
174 public void deleteFolder(
175 com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
176 throws com.liferay.portal.SystemException,
177 com.liferay.portal.PortalException;
178
179 public void deleteFolders(long groupId)
180 throws com.liferay.portal.SystemException,
181 com.liferay.portal.PortalException;
182
183 public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
184 long folderId)
185 throws com.liferay.portal.SystemException,
186 com.liferay.portal.PortalException;
187
188 public java.util.List getFolders(long groupId, long parentFolderId,
189 int begin, int end) throws com.liferay.portal.SystemException;
190
191 public int getFoldersCount(long groupId, long parentFolderId)
192 throws com.liferay.portal.SystemException;
193
194 public void getSubfolderIds(java.util.List folderIds, long groupId,
195 long folderId) throws com.liferay.portal.SystemException;
196
197 public void reIndex(java.lang.String[] ids)
198 throws com.liferay.portal.SystemException;
199
200 public com.liferay.portal.kernel.search.Hits search(long companyId,
201 long groupId, long[] folderIds, java.lang.String keywords)
202 throws com.liferay.portal.SystemException;
203
204 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
205 long folderId, long parentFolderId, java.lang.String name,
206 java.lang.String description, boolean mergeWithParentFolder)
207 throws com.liferay.portal.SystemException,
208 com.liferay.portal.PortalException;
209 }