001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.bookmarks.service;
022:
023: /**
024: * <a href="BookmarksFolderLocalService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.bookmarks.service.impl.BookmarksFolderLocalServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceFactory
045: * @see com.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceUtil
046: *
047: */
048: public interface BookmarksFolderLocalService {
049: public com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(
050: com.liferay.portlet.bookmarks.model.BookmarksFolder model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
063: com.liferay.portlet.bookmarks.model.BookmarksFolder model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence getBookmarksEntryPersistence();
067:
068: public void setBookmarksEntryPersistence(
069: com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence);
070:
071: public com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder getBookmarksEntryFinder();
072:
073: public void setBookmarksEntryFinder(
074: com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder bookmarksEntryFinder);
075:
076: public com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence getBookmarksFolderPersistence();
077:
078: public void setBookmarksFolderPersistence(
079: com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence bookmarksFolderPersistence);
080:
081: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
082:
083: public void setResourcePersistence(
084: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
085:
086: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
087:
088: public void setResourceFinder(
089: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
090:
091: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
092:
093: public void setUserPersistence(
094: com.liferay.portal.service.persistence.UserPersistence userPersistence);
095:
096: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
097:
098: public void setUserFinder(
099: com.liferay.portal.service.persistence.UserFinder userFinder);
100:
101: public com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence();
102:
103: public void setTagsEntryPersistence(
104: com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence);
105:
106: public com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder();
107:
108: public void setTagsEntryFinder(
109: com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder);
110:
111: public void afterPropertiesSet();
112:
113: public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
114: long userId, long plid, long parentFolderId,
115: java.lang.String name, java.lang.String description,
116: boolean addCommunityPermissions, boolean addGuestPermissions)
117: throws com.liferay.portal.SystemException,
118: com.liferay.portal.PortalException;
119:
120: public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
121: java.lang.String uuid, long userId, long plid,
122: long parentFolderId, java.lang.String name,
123: java.lang.String description,
124: boolean addCommunityPermissions, boolean addGuestPermissions)
125: throws com.liferay.portal.SystemException,
126: com.liferay.portal.PortalException;
127:
128: public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
129: long userId, long plid, long parentFolderId,
130: java.lang.String name, java.lang.String description,
131: 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,
138: long parentFolderId, java.lang.String name,
139: java.lang.String description,
140: java.lang.Boolean addCommunityPermissions,
141: java.lang.Boolean addGuestPermissions,
142: java.lang.String[] communityPermissions,
143: java.lang.String[] guestPermissions)
144: throws com.liferay.portal.SystemException,
145: com.liferay.portal.PortalException;
146:
147: public void addFolderResources(long folderId,
148: boolean addCommunityPermissions, boolean addGuestPermissions)
149: throws com.liferay.portal.SystemException,
150: com.liferay.portal.PortalException;
151:
152: public void addFolderResources(
153: com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
154: boolean addCommunityPermissions, boolean addGuestPermissions)
155: throws com.liferay.portal.SystemException,
156: com.liferay.portal.PortalException;
157:
158: public void addFolderResources(long folderId,
159: java.lang.String[] communityPermissions,
160: java.lang.String[] guestPermissions)
161: throws com.liferay.portal.SystemException,
162: com.liferay.portal.PortalException;
163:
164: public void addFolderResources(
165: com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
166: java.lang.String[] communityPermissions,
167: java.lang.String[] guestPermissions)
168: throws com.liferay.portal.SystemException,
169: com.liferay.portal.PortalException;
170:
171: public void deleteFolder(long folderId)
172: throws com.liferay.portal.SystemException,
173: com.liferay.portal.PortalException;
174:
175: public void deleteFolder(
176: com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
177: throws com.liferay.portal.SystemException,
178: com.liferay.portal.PortalException;
179:
180: public void deleteFolders(long groupId)
181: throws com.liferay.portal.SystemException,
182: com.liferay.portal.PortalException;
183:
184: public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
185: long folderId) 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)
190: throws com.liferay.portal.SystemException;
191:
192: public int getFoldersCount(long groupId, long parentFolderId)
193: throws com.liferay.portal.SystemException;
194:
195: public void getSubfolderIds(java.util.List folderIds, long groupId,
196: long folderId) throws com.liferay.portal.SystemException;
197:
198: public void reIndex(java.lang.String[] ids)
199: throws com.liferay.portal.SystemException;
200:
201: public com.liferay.portal.kernel.search.Hits search(long companyId,
202: long groupId, long[] folderIds, java.lang.String keywords)
203: throws com.liferay.portal.SystemException;
204:
205: public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
206: long folderId, long parentFolderId, java.lang.String name,
207: java.lang.String description, boolean mergeWithParentFolder)
208: throws com.liferay.portal.SystemException,
209: com.liferay.portal.PortalException;
210: }
|