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.blogs.service;
022:
023: /**
024: * <a href="BlogsEntryLocalService.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.blogs.service.impl.BlogsEntryLocalServiceImpl</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.blogs.service.BlogsEntryLocalServiceFactory
045: * @see com.liferay.portlet.blogs.service.BlogsEntryLocalServiceUtil
046: *
047: */
048: public interface BlogsEntryLocalService {
049: public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
050: com.liferay.portlet.blogs.model.BlogsEntry 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.blogs.model.BlogsEntry updateBlogsEntry(
063: com.liferay.portlet.blogs.model.BlogsEntry model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence getBlogsEntryPersistence();
067:
068: public void setBlogsEntryPersistence(
069: com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence);
070:
071: public com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder getBlogsEntryFinder();
072:
073: public void setBlogsEntryFinder(
074: com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder blogsEntryFinder);
075:
076: public com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence getBlogsStatsUserPersistence();
077:
078: public void setBlogsStatsUserPersistence(
079: com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence);
080:
081: public com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder getBlogsStatsUserFinder();
082:
083: public void setBlogsStatsUserFinder(
084: com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder blogsStatsUserFinder);
085:
086: public com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence();
087:
088: public void setCompanyPersistence(
089: com.liferay.portal.service.persistence.CompanyPersistence companyPersistence);
090:
091: public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence();
092:
093: public void setGroupPersistence(
094: com.liferay.portal.service.persistence.GroupPersistence groupPersistence);
095:
096: public com.liferay.portal.service.persistence.GroupFinder getGroupFinder();
097:
098: public void setGroupFinder(
099: com.liferay.portal.service.persistence.GroupFinder groupFinder);
100:
101: public com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence();
102:
103: public void setOrganizationPersistence(
104: com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence);
105:
106: public com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder();
107:
108: public void setOrganizationFinder(
109: com.liferay.portal.service.persistence.OrganizationFinder organizationFinder);
110:
111: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
112:
113: public void setResourcePersistence(
114: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
115:
116: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
117:
118: public void setResourceFinder(
119: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
120:
121: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
122:
123: public void setUserPersistence(
124: com.liferay.portal.service.persistence.UserPersistence userPersistence);
125:
126: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
127:
128: public void setUserFinder(
129: com.liferay.portal.service.persistence.UserFinder userFinder);
130:
131: public com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence();
132:
133: public void setMBMessagePersistence(
134: com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence);
135:
136: public com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder();
137:
138: public void setMBMessageFinder(
139: com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder);
140:
141: public com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence getRatingsStatsPersistence();
142:
143: public void setRatingsStatsPersistence(
144: com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence);
145:
146: public com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence();
147:
148: public void setTagsAssetPersistence(
149: com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence);
150:
151: public com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder();
152:
153: public void setTagsAssetFinder(
154: com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder);
155:
156: public com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence();
157:
158: public void setTagsEntryPersistence(
159: com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence);
160:
161: public com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder();
162:
163: public void setTagsEntryFinder(
164: com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder);
165:
166: public void afterPropertiesSet();
167:
168: public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
169: long userId, long plid, java.lang.String title,
170: java.lang.String content, int displayDateMonth,
171: int displayDateDay, int displayDateYear,
172: int displayDateHour, int displayDateMinute,
173: java.lang.String[] tagsEntries,
174: boolean addCommunityPermissions,
175: boolean addGuestPermissions,
176: com.liferay.portal.theme.ThemeDisplay themeDisplay)
177: throws com.liferay.portal.SystemException,
178: com.liferay.portal.PortalException;
179:
180: public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
181: java.lang.String uuid, long userId, long plid,
182: java.lang.String title, java.lang.String content,
183: int displayDateMonth, int displayDateDay,
184: int displayDateYear, int displayDateHour,
185: int displayDateMinute, java.lang.String[] tagsEntries,
186: boolean addCommunityPermissions,
187: boolean addGuestPermissions,
188: com.liferay.portal.theme.ThemeDisplay themeDisplay)
189: throws com.liferay.portal.SystemException,
190: com.liferay.portal.PortalException;
191:
192: public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
193: long userId, long plid, java.lang.String title,
194: java.lang.String content, int displayDateMonth,
195: int displayDateDay, int displayDateYear,
196: int displayDateHour, int displayDateMinute,
197: java.lang.String[] tagsEntries,
198: java.lang.String[] communityPermissions,
199: java.lang.String[] guestPermissions,
200: com.liferay.portal.theme.ThemeDisplay themeDisplay)
201: throws com.liferay.portal.SystemException,
202: com.liferay.portal.PortalException;
203:
204: public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
205: java.lang.String uuid, long userId, long plid,
206: java.lang.String title, java.lang.String content,
207: int displayDateMonth, int displayDateDay,
208: int displayDateYear, int displayDateHour,
209: int displayDateMinute, java.lang.String[] tagsEntries,
210: java.lang.Boolean addCommunityPermissions,
211: java.lang.Boolean addGuestPermissions,
212: java.lang.String[] communityPermissions,
213: java.lang.String[] guestPermissions,
214: com.liferay.portal.theme.ThemeDisplay themeDisplay)
215: throws com.liferay.portal.SystemException,
216: com.liferay.portal.PortalException;
217:
218: public void addEntryResources(long entryId,
219: boolean addCommunityPermissions, boolean addGuestPermissions)
220: throws com.liferay.portal.SystemException,
221: com.liferay.portal.PortalException;
222:
223: public void addEntryResources(
224: com.liferay.portlet.blogs.model.BlogsEntry entry,
225: boolean addCommunityPermissions, boolean addGuestPermissions)
226: throws com.liferay.portal.SystemException,
227: com.liferay.portal.PortalException;
228:
229: public void addEntryResources(long entryId,
230: java.lang.String[] communityPermissions,
231: java.lang.String[] guestPermissions)
232: throws com.liferay.portal.SystemException,
233: com.liferay.portal.PortalException;
234:
235: public void addEntryResources(
236: com.liferay.portlet.blogs.model.BlogsEntry entry,
237: java.lang.String[] communityPermissions,
238: java.lang.String[] guestPermissions)
239: throws com.liferay.portal.SystemException,
240: com.liferay.portal.PortalException;
241:
242: public void deleteEntries(long groupId)
243: throws com.liferay.portal.SystemException,
244: com.liferay.portal.PortalException;
245:
246: public void deleteEntry(long entryId)
247: throws com.liferay.portal.SystemException,
248: com.liferay.portal.PortalException;
249:
250: public void deleteEntry(
251: com.liferay.portlet.blogs.model.BlogsEntry entry)
252: throws com.liferay.portal.SystemException,
253: com.liferay.portal.PortalException;
254:
255: public java.util.List getCompanyEntries(long companyId, int begin,
256: int end) throws com.liferay.portal.SystemException;
257:
258: public java.util.List getCompanyEntries(long companyId, int begin,
259: int end,
260: com.liferay.portal.kernel.util.OrderByComparator obc)
261: throws com.liferay.portal.SystemException;
262:
263: public int getCompanyEntriesCount(long companyId)
264: throws com.liferay.portal.SystemException;
265:
266: public com.liferay.portlet.blogs.model.BlogsEntry getEntry(
267: long entryId) throws com.liferay.portal.SystemException,
268: com.liferay.portal.PortalException;
269:
270: public com.liferay.portlet.blogs.model.BlogsEntry getEntry(
271: long groupId, java.lang.String urlTitle)
272: throws com.liferay.portal.SystemException,
273: com.liferay.portal.PortalException;
274:
275: public java.util.List getGroupEntries(long groupId, int begin,
276: int end) throws com.liferay.portal.SystemException;
277:
278: public java.util.List getGroupEntries(long groupId, int begin,
279: int end,
280: com.liferay.portal.kernel.util.OrderByComparator obc)
281: throws com.liferay.portal.SystemException;
282:
283: public int getGroupEntriesCount(long groupId)
284: throws com.liferay.portal.SystemException;
285:
286: public java.util.List getGroupUserEntries(long groupId,
287: long userId, int begin, int end)
288: throws com.liferay.portal.SystemException;
289:
290: public int getGroupUserEntriesCount(long groupId, long userId)
291: throws com.liferay.portal.SystemException;
292:
293: public java.util.List getNoAssetEntries()
294: throws com.liferay.portal.SystemException;
295:
296: public java.util.List getOrganizationEntries(long organizationId,
297: int begin, int end)
298: throws com.liferay.portal.SystemException;
299:
300: public int getOrganizationEntriesCount(long organizationId)
301: throws com.liferay.portal.SystemException;
302:
303: public java.lang.String getUrlTitle(long entryId,
304: java.lang.String title);
305:
306: public void reIndex(java.lang.String[] ids)
307: throws com.liferay.portal.SystemException;
308:
309: public com.liferay.portal.kernel.search.Hits search(long companyId,
310: long groupId, long userId, java.lang.String keywords)
311: throws com.liferay.portal.SystemException;
312:
313: public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
314: long userId, long entryId, java.lang.String title,
315: java.lang.String content, int displayDateMonth,
316: int displayDateDay, int displayDateYear,
317: int displayDateHour, int displayDateMinute,
318: java.lang.String[] tagsEntries,
319: com.liferay.portal.theme.ThemeDisplay themeDisplay)
320: throws com.liferay.portal.SystemException,
321: com.liferay.portal.PortalException;
322:
323: public void updateTagsAsset(long userId,
324: com.liferay.portlet.blogs.model.BlogsEntry entry,
325: java.lang.String[] tagsEntries)
326: throws com.liferay.portal.SystemException,
327: com.liferay.portal.PortalException;
328: }
|