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="BookmarksEntryLocalService.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.BookmarksEntryLocalServiceImpl</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.BookmarksEntryLocalServiceFactory
045: * @see com.liferay.portlet.bookmarks.service.BookmarksEntryLocalServiceUtil
046: *
047: */
048: public interface BookmarksEntryLocalService {
049: public com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(
050: com.liferay.portlet.bookmarks.model.BookmarksEntry 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.BookmarksEntry updateBookmarksEntry(
063: com.liferay.portlet.bookmarks.model.BookmarksEntry 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.TagsAssetPersistence getTagsAssetPersistence();
102:
103: public void setTagsAssetPersistence(
104: com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence);
105:
106: public com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder();
107:
108: public void setTagsAssetFinder(
109: com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder);
110:
111: public void afterPropertiesSet();
112:
113: public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
114: long userId, long folderId, java.lang.String name,
115: java.lang.String url, java.lang.String comments,
116: java.lang.String[] tagsEntries,
117: boolean addCommunityPermissions, boolean addGuestPermissions)
118: throws com.liferay.portal.SystemException,
119: com.liferay.portal.PortalException;
120:
121: public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
122: java.lang.String uuid, long userId, long folderId,
123: java.lang.String name, java.lang.String url,
124: java.lang.String comments, java.lang.String[] tagsEntries,
125: boolean addCommunityPermissions, boolean addGuestPermissions)
126: throws com.liferay.portal.SystemException,
127: com.liferay.portal.PortalException;
128:
129: public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
130: long userId, long folderId, java.lang.String name,
131: java.lang.String url, java.lang.String comments,
132: java.lang.String[] tagsEntries,
133: java.lang.String[] communityPermissions,
134: java.lang.String[] guestPermissions)
135: throws com.liferay.portal.SystemException,
136: com.liferay.portal.PortalException;
137:
138: public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
139: java.lang.String uuid, long userId, long folderId,
140: java.lang.String name, java.lang.String url,
141: java.lang.String comments, java.lang.String[] tagsEntries,
142: java.lang.Boolean addCommunityPermissions,
143: java.lang.Boolean addGuestPermissions,
144: java.lang.String[] communityPermissions,
145: java.lang.String[] guestPermissions)
146: throws com.liferay.portal.SystemException,
147: com.liferay.portal.PortalException;
148:
149: public void addEntryResources(long folderId, long entryId,
150: boolean addCommunityPermissions, boolean addGuestPermissions)
151: throws com.liferay.portal.SystemException,
152: com.liferay.portal.PortalException;
153:
154: public void addEntryResources(
155: com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
156: com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
157: boolean addCommunityPermissions, boolean addGuestPermissions)
158: throws com.liferay.portal.SystemException,
159: com.liferay.portal.PortalException;
160:
161: public void addEntryResources(long folderId, long entryId,
162: java.lang.String[] communityPermissions,
163: java.lang.String[] guestPermissions)
164: throws com.liferay.portal.SystemException,
165: com.liferay.portal.PortalException;
166:
167: public void addEntryResources(
168: com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
169: com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
170: java.lang.String[] communityPermissions,
171: java.lang.String[] guestPermissions)
172: throws com.liferay.portal.SystemException,
173: com.liferay.portal.PortalException;
174:
175: public void deleteEntries(long folderId)
176: throws com.liferay.portal.SystemException,
177: com.liferay.portal.PortalException;
178:
179: public void deleteEntry(long entryId)
180: throws com.liferay.portal.SystemException,
181: com.liferay.portal.PortalException;
182:
183: public void deleteEntry(
184: com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
185: throws com.liferay.portal.SystemException,
186: com.liferay.portal.PortalException;
187:
188: public java.util.List getEntries(long folderId, int begin, int end)
189: throws com.liferay.portal.SystemException;
190:
191: public java.util.List getEntries(
192: long folderId,
193: int begin,
194: int end,
195: com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
196: throws com.liferay.portal.SystemException;
197:
198: public int getEntriesCount(long folderId)
199: throws com.liferay.portal.SystemException;
200:
201: public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
202: long entryId) 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,
209: int end) throws com.liferay.portal.SystemException;
210:
211: public java.util.List getGroupEntries(long groupId, long userId,
212: int begin, int end)
213: throws com.liferay.portal.SystemException;
214:
215: public int getGroupEntriesCount(long groupId)
216: throws com.liferay.portal.SystemException;
217:
218: public int getGroupEntriesCount(long groupId, long userId)
219: throws com.liferay.portal.SystemException;
220:
221: public java.util.List getNoAssetEntries()
222: throws com.liferay.portal.SystemException;
223:
224: public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
225: long entryId) 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,
230: java.lang.String name, java.lang.String url,
231: java.lang.String comments, 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: }
|