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.journal.service;
022:
023: /**
024: * <a href="JournalFeedLocalService.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.journal.service.impl.JournalFeedLocalServiceImpl</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.journal.service.JournalFeedLocalServiceFactory
045: * @see com.liferay.portlet.journal.service.JournalFeedLocalServiceUtil
046: *
047: */
048: public interface JournalFeedLocalService {
049: public com.liferay.portlet.journal.model.JournalFeed addJournalFeed(
050: com.liferay.portlet.journal.model.JournalFeed 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.journal.model.JournalFeed updateJournalFeed(
063: com.liferay.portlet.journal.model.JournalFeed model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence();
067:
068: public void setJournalArticlePersistence(
069: com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence);
070:
071: public com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder();
072:
073: public void setJournalArticleFinder(
074: com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder);
075:
076: public com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence();
077:
078: public void setJournalArticleImagePersistence(
079: com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence);
080:
081: public com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence();
082:
083: public void setJournalArticleResourcePersistence(
084: com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence);
085:
086: public com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence();
087:
088: public void setJournalContentSearchPersistence(
089: com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence);
090:
091: public com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence();
092:
093: public void setJournalFeedPersistence(
094: com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence);
095:
096: public com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder();
097:
098: public void setJournalFeedFinder(
099: com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder);
100:
101: public com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence();
102:
103: public void setJournalStructurePersistence(
104: com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence);
105:
106: public com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder();
107:
108: public void setJournalStructureFinder(
109: com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder);
110:
111: public com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence();
112:
113: public void setJournalTemplatePersistence(
114: com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence);
115:
116: public com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder();
117:
118: public void setJournalTemplateFinder(
119: com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder);
120:
121: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
122:
123: public void setResourcePersistence(
124: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
125:
126: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
127:
128: public void setResourceFinder(
129: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
130:
131: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
132:
133: public void setUserPersistence(
134: com.liferay.portal.service.persistence.UserPersistence userPersistence);
135:
136: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
137:
138: public void setUserFinder(
139: com.liferay.portal.service.persistence.UserFinder userFinder);
140:
141: public void afterPropertiesSet();
142:
143: public com.liferay.portlet.journal.model.JournalFeed addFeed(
144: long userId, long plid, java.lang.String feedId,
145: boolean autoFeedId, java.lang.String name,
146: java.lang.String description, java.lang.String type,
147: java.lang.String structureId, java.lang.String templateId,
148: java.lang.String rendererTemplateId, int delta,
149: java.lang.String orderByCol, java.lang.String orderByType,
150: java.lang.String targetLayoutFriendlyUrl,
151: java.lang.String targetPortletId,
152: java.lang.String contentField, java.lang.String feedType,
153: double feedVersion, boolean addCommunityPermissions,
154: boolean addGuestPermissions)
155: throws com.liferay.portal.SystemException,
156: com.liferay.portal.PortalException;
157:
158: public com.liferay.portlet.journal.model.JournalFeed addFeed(
159: long userId, long plid, java.lang.String feedId,
160: boolean autoFeedId, java.lang.String name,
161: java.lang.String description, java.lang.String type,
162: java.lang.String structureId, java.lang.String templateId,
163: java.lang.String rendererTemplateId, int delta,
164: java.lang.String orderByCol, java.lang.String orderByType,
165: java.lang.String targetLayoutFriendlyUrl,
166: java.lang.String targetPortletId,
167: java.lang.String contentField, java.lang.String feedType,
168: double feedVersion,
169: java.lang.String[] communityPermissions,
170: java.lang.String[] guestPermissions)
171: throws com.liferay.portal.SystemException,
172: com.liferay.portal.PortalException;
173:
174: public com.liferay.portlet.journal.model.JournalFeed addFeed(
175: java.lang.String uuid, long userId, long plid,
176: java.lang.String feedId, boolean autoFeedId,
177: java.lang.String name, java.lang.String description,
178: java.lang.String type, java.lang.String structureId,
179: java.lang.String templateId,
180: java.lang.String rendererTemplateId, int delta,
181: java.lang.String orderByCol, java.lang.String orderByType,
182: java.lang.String targetLayoutFriendlyUrl,
183: java.lang.String targetPortletId,
184: java.lang.String contentField, java.lang.String feedType,
185: double feedVersion, boolean addCommunityPermissions,
186: boolean addGuestPermissions)
187: throws com.liferay.portal.SystemException,
188: com.liferay.portal.PortalException;
189:
190: public com.liferay.portlet.journal.model.JournalFeed addFeed(
191: java.lang.String uuid, long userId, long plid,
192: java.lang.String feedId, boolean autoFeedId,
193: java.lang.String name, java.lang.String description,
194: java.lang.String type, java.lang.String structureId,
195: java.lang.String templateId,
196: java.lang.String rendererTemplateId, int delta,
197: java.lang.String orderByCol, java.lang.String orderByType,
198: java.lang.String targetLayoutFriendlyUrl,
199: java.lang.String targetPortletId,
200: java.lang.String contentField, java.lang.String feedType,
201: double feedVersion,
202: java.lang.String[] communityPermissions,
203: java.lang.String[] guestPermissions)
204: throws com.liferay.portal.SystemException,
205: com.liferay.portal.PortalException;
206:
207: public com.liferay.portlet.journal.model.JournalFeed addFeed(
208: java.lang.String uuid, long userId, long plid,
209: java.lang.String feedId, boolean autoFeedId,
210: java.lang.String name, java.lang.String description,
211: java.lang.String type, java.lang.String structureId,
212: java.lang.String templateId,
213: java.lang.String rendererTemplateId, int delta,
214: java.lang.String orderByCol, java.lang.String orderByType,
215: java.lang.String targetLayoutFriendlyUrl,
216: java.lang.String targetPortletId,
217: java.lang.String contentField, java.lang.String feedType,
218: double feedVersion,
219: java.lang.Boolean addCommunityPermissions,
220: java.lang.Boolean addGuestPermissions,
221: java.lang.String[] communityPermissions,
222: java.lang.String[] guestPermissions)
223: throws com.liferay.portal.SystemException,
224: com.liferay.portal.PortalException;
225:
226: public com.liferay.portlet.journal.model.JournalFeed addFeedToGroup(
227: java.lang.String uuid, long userId, long groupId,
228: java.lang.String feedId, boolean autoFeedId,
229: java.lang.String name, java.lang.String description,
230: java.lang.String type, java.lang.String structureId,
231: java.lang.String templateId,
232: java.lang.String rendererTemplateId, int delta,
233: java.lang.String orderByCol, java.lang.String orderByType,
234: java.lang.String targetLayoutFriendlyUrl,
235: java.lang.String targetPortletId,
236: java.lang.String contentField, java.lang.String feedType,
237: double feedVersion,
238: java.lang.Boolean addCommunityPermissions,
239: java.lang.Boolean addGuestPermissions,
240: java.lang.String[] communityPermissions,
241: java.lang.String[] guestPermissions)
242: throws com.liferay.portal.SystemException,
243: com.liferay.portal.PortalException;
244:
245: public void addFeedResources(long feedId,
246: boolean addCommunityPermissions, boolean addGuestPermissions)
247: throws com.liferay.portal.SystemException,
248: com.liferay.portal.PortalException;
249:
250: public void addFeedResources(
251: com.liferay.portlet.journal.model.JournalFeed feed,
252: boolean addCommunityPermissions, boolean addGuestPermissions)
253: throws com.liferay.portal.SystemException,
254: com.liferay.portal.PortalException;
255:
256: public void addFeedResources(long feedId,
257: java.lang.String[] communityPermissions,
258: java.lang.String[] guestPermissions)
259: throws com.liferay.portal.SystemException,
260: com.liferay.portal.PortalException;
261:
262: public void addFeedResources(
263: com.liferay.portlet.journal.model.JournalFeed feed,
264: java.lang.String[] communityPermissions,
265: java.lang.String[] guestPermissions)
266: throws com.liferay.portal.SystemException,
267: com.liferay.portal.PortalException;
268:
269: public void deleteFeed(long feedId)
270: throws com.liferay.portal.SystemException,
271: com.liferay.portal.PortalException;
272:
273: public void deleteFeed(long groupId, java.lang.String feedId)
274: throws com.liferay.portal.SystemException,
275: com.liferay.portal.PortalException;
276:
277: public void deleteFeed(
278: com.liferay.portlet.journal.model.JournalFeed feed)
279: throws com.liferay.portal.SystemException,
280: com.liferay.portal.PortalException;
281:
282: public com.liferay.portlet.journal.model.JournalFeed getFeed(
283: long feedId) throws com.liferay.portal.SystemException,
284: com.liferay.portal.PortalException;
285:
286: public com.liferay.portlet.journal.model.JournalFeed getFeed(
287: long groupId, java.lang.String feedId)
288: throws com.liferay.portal.SystemException,
289: com.liferay.portal.PortalException;
290:
291: public java.util.List getFeeds()
292: throws com.liferay.portal.SystemException;
293:
294: public java.util.List getFeeds(long groupId)
295: throws com.liferay.portal.SystemException;
296:
297: public java.util.List getFeeds(long groupId, int begin, int end)
298: throws com.liferay.portal.SystemException;
299:
300: public int getFeedsCount(long groupId)
301: throws com.liferay.portal.SystemException;
302:
303: public java.util.List search(long companyId, long groupId,
304: java.lang.String keywords, int begin, int end,
305: com.liferay.portal.kernel.util.OrderByComparator obc)
306: throws com.liferay.portal.SystemException;
307:
308: public java.util.List search(long companyId, long groupId,
309: java.lang.String feedId, java.lang.String name,
310: java.lang.String description, boolean andOperator,
311: int begin, int end,
312: com.liferay.portal.kernel.util.OrderByComparator obc)
313: throws com.liferay.portal.SystemException;
314:
315: public int searchCount(long companyId, long groupId,
316: java.lang.String keywords)
317: throws com.liferay.portal.SystemException;
318:
319: public int searchCount(long companyId, long groupId,
320: java.lang.String feedId, java.lang.String name,
321: java.lang.String description, boolean andOperator)
322: throws com.liferay.portal.SystemException;
323:
324: public com.liferay.portlet.journal.model.JournalFeed updateFeed(
325: long groupId, java.lang.String feedId,
326: java.lang.String name, java.lang.String description,
327: java.lang.String type, java.lang.String structureId,
328: java.lang.String templateId,
329: java.lang.String rendererTemplateId, int delta,
330: java.lang.String orderByCol, java.lang.String orderByType,
331: java.lang.String targetLayoutFriendlyUrl,
332: java.lang.String targetPortletId,
333: java.lang.String contentField, java.lang.String feedType,
334: double feedVersion)
335: throws com.liferay.portal.SystemException,
336: com.liferay.portal.PortalException;
337: }
|