1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.service;
24  
25  
26  /**
27   * <a href="JournalContentSearchLocalService.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This interface defines the service. The default implementation is
36   * <code>com.liferay.portlet.journal.service.impl.JournalContentSearchLocalServiceImpl</code>.
37   * Modify methods in that class and rerun ServiceBuilder to populate this class
38   * and all other generated classes.
39   * </p>
40   *
41   * <p>
42   * 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.
43   * </p>
44   *
45   * @author Brian Wing Shun Chan
46   *
47   * @see com.liferay.portlet.journal.service.JournalContentSearchLocalServiceFactory
48   * @see com.liferay.portlet.journal.service.JournalContentSearchLocalServiceUtil
49   *
50   */
51  public interface JournalContentSearchLocalService {
52      public com.liferay.portlet.journal.model.JournalContentSearch addJournalContentSearch(
53          com.liferay.portlet.journal.model.JournalContentSearch 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.journal.model.JournalContentSearch updateJournalContentSearch(
65          com.liferay.portlet.journal.model.JournalContentSearch model)
66          throws com.liferay.portal.SystemException;
67  
68      public com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence();
69  
70      public void setJournalArticlePersistence(
71          com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence);
72  
73      public com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder();
74  
75      public void setJournalArticleFinder(
76          com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder);
77  
78      public com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence();
79  
80      public void setJournalArticleImagePersistence(
81          com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence);
82  
83      public com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence();
84  
85      public void setJournalArticleResourcePersistence(
86          com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence);
87  
88      public com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence();
89  
90      public void setJournalContentSearchPersistence(
91          com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence);
92  
93      public com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence();
94  
95      public void setJournalFeedPersistence(
96          com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence);
97  
98      public com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder();
99  
100     public void setJournalFeedFinder(
101         com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder);
102 
103     public com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence();
104 
105     public void setJournalStructurePersistence(
106         com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence);
107 
108     public com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder();
109 
110     public void setJournalStructureFinder(
111         com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder);
112 
113     public com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence();
114 
115     public void setJournalTemplatePersistence(
116         com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence);
117 
118     public com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder();
119 
120     public void setJournalTemplateFinder(
121         com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder);
122 
123     public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence();
124 
125     public void setGroupPersistence(
126         com.liferay.portal.service.persistence.GroupPersistence groupPersistence);
127 
128     public com.liferay.portal.service.persistence.GroupFinder getGroupFinder();
129 
130     public void setGroupFinder(
131         com.liferay.portal.service.persistence.GroupFinder groupFinder);
132 
133     public com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence();
134 
135     public void setLayoutPersistence(
136         com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence);
137 
138     public com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder();
139 
140     public void setLayoutFinder(
141         com.liferay.portal.service.persistence.LayoutFinder layoutFinder);
142 
143     public com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence();
144 
145     public void setPortletPreferencesPersistence(
146         com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence);
147 
148     public com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder();
149 
150     public void setPortletPreferencesFinder(
151         com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder);
152 
153     public void afterPropertiesSet();
154 
155     public void checkContentSearches(long companyId)
156         throws com.liferay.portal.SystemException, 
157             com.liferay.portal.PortalException;
158 
159     public void deleteArticleContentSearch(long groupId, boolean privateLayout,
160         long layoutId, java.lang.String portletId, java.lang.String articleId)
161         throws com.liferay.portal.SystemException, 
162             com.liferay.portal.PortalException;
163 
164     public void deleteArticleContentSearches(long groupId,
165         java.lang.String articleId) throws com.liferay.portal.SystemException;
166 
167     public void deleteLayoutContentSearches(long groupId,
168         boolean privateLayout, long layoutId)
169         throws com.liferay.portal.SystemException;
170 
171     public void deleteOwnerContentSearches(long groupId, boolean privateLayout)
172         throws com.liferay.portal.SystemException;
173 
174     public java.util.List getArticleContentSearches()
175         throws com.liferay.portal.SystemException;
176 
177     public java.util.List getArticleContentSearches(long groupId,
178         java.lang.String articleId) throws com.liferay.portal.SystemException;
179 
180     public java.util.List getLayoutIds(long groupId, boolean privateLayout,
181         java.lang.String articleId) throws com.liferay.portal.SystemException;
182 
183     public int getLayoutIdsCount(long groupId, boolean privateLayout,
184         java.lang.String articleId) throws com.liferay.portal.SystemException;
185 
186     public com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
187         long groupId, boolean privateLayout, long layoutId,
188         java.lang.String portletId, java.lang.String articleId)
189         throws com.liferay.portal.SystemException, 
190             com.liferay.portal.PortalException;
191 
192     public com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
193         long groupId, boolean privateLayout, long layoutId,
194         java.lang.String portletId, java.lang.String articleId, boolean purge)
195         throws com.liferay.portal.SystemException, 
196             com.liferay.portal.PortalException;
197 
198     public java.util.List updateContentSearch(long groupId,
199         boolean privateLayout, long layoutId, java.lang.String portletId,
200         java.lang.String[] articleIds)
201         throws com.liferay.portal.SystemException, 
202             com.liferay.portal.PortalException;
203 }