001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link JournalContentSearchLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see JournalContentSearchLocalService
026     * @generated
027     */
028    @ProviderType
029    public class JournalContentSearchLocalServiceWrapper
030            implements JournalContentSearchLocalService,
031                    ServiceWrapper<JournalContentSearchLocalService> {
032            public JournalContentSearchLocalServiceWrapper(
033                    JournalContentSearchLocalService journalContentSearchLocalService) {
034                    _journalContentSearchLocalService = journalContentSearchLocalService;
035            }
036    
037            /**
038            * Adds the journal content search to the database. Also notifies the appropriate model listeners.
039            *
040            * @param journalContentSearch the journal content search
041            * @return the journal content search that was added
042            */
043            @Override
044            public com.liferay.portlet.journal.model.JournalContentSearch addJournalContentSearch(
045                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
046                    return _journalContentSearchLocalService.addJournalContentSearch(journalContentSearch);
047            }
048    
049            @Override
050            public void checkContentSearches(long companyId)
051                    throws com.liferay.portal.kernel.exception.PortalException {
052                    _journalContentSearchLocalService.checkContentSearches(companyId);
053            }
054    
055            /**
056            * Creates a new journal content search with the primary key. Does not add the journal content search to the database.
057            *
058            * @param contentSearchId the primary key for the new journal content search
059            * @return the new journal content search
060            */
061            @Override
062            public com.liferay.portlet.journal.model.JournalContentSearch createJournalContentSearch(
063                    long contentSearchId) {
064                    return _journalContentSearchLocalService.createJournalContentSearch(contentSearchId);
065            }
066    
067            @Override
068            public void deleteArticleContentSearch(long groupId, boolean privateLayout,
069                    long layoutId, java.lang.String portletId) {
070                    _journalContentSearchLocalService.deleteArticleContentSearch(groupId,
071                            privateLayout, layoutId, portletId);
072            }
073    
074            @Override
075            public void deleteArticleContentSearch(long groupId, boolean privateLayout,
076                    long layoutId, java.lang.String portletId, java.lang.String articleId) {
077                    _journalContentSearchLocalService.deleteArticleContentSearch(groupId,
078                            privateLayout, layoutId, portletId, articleId);
079            }
080    
081            @Override
082            public void deleteArticleContentSearches(long groupId,
083                    java.lang.String articleId) {
084                    _journalContentSearchLocalService.deleteArticleContentSearches(groupId,
085                            articleId);
086            }
087    
088            /**
089            * Deletes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.
090            *
091            * @param contentSearchId the primary key of the journal content search
092            * @return the journal content search that was removed
093            * @throws PortalException if a journal content search with the primary key could not be found
094            */
095            @Override
096            public com.liferay.portlet.journal.model.JournalContentSearch deleteJournalContentSearch(
097                    long contentSearchId)
098                    throws com.liferay.portal.kernel.exception.PortalException {
099                    return _journalContentSearchLocalService.deleteJournalContentSearch(contentSearchId);
100            }
101    
102            /**
103            * Deletes the journal content search from the database. Also notifies the appropriate model listeners.
104            *
105            * @param journalContentSearch the journal content search
106            * @return the journal content search that was removed
107            */
108            @Override
109            public com.liferay.portlet.journal.model.JournalContentSearch deleteJournalContentSearch(
110                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
111                    return _journalContentSearchLocalService.deleteJournalContentSearch(journalContentSearch);
112            }
113    
114            @Override
115            public void deleteLayoutContentSearches(long groupId,
116                    boolean privateLayout, long layoutId) {
117                    _journalContentSearchLocalService.deleteLayoutContentSearches(groupId,
118                            privateLayout, layoutId);
119            }
120    
121            @Override
122            public void deleteOwnerContentSearches(long groupId, boolean privateLayout) {
123                    _journalContentSearchLocalService.deleteOwnerContentSearches(groupId,
124                            privateLayout);
125            }
126    
127            /**
128            * @throws PortalException
129            */
130            @Override
131            public com.liferay.portal.model.PersistedModel deletePersistedModel(
132                    com.liferay.portal.model.PersistedModel persistedModel)
133                    throws com.liferay.portal.kernel.exception.PortalException {
134                    return _journalContentSearchLocalService.deletePersistedModel(persistedModel);
135            }
136    
137            @Override
138            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
139                    return _journalContentSearchLocalService.dynamicQuery();
140            }
141    
142            /**
143            * Performs a dynamic query on the database and returns the matching rows.
144            *
145            * @param dynamicQuery the dynamic query
146            * @return the matching rows
147            */
148            @Override
149            public <T> java.util.List<T> dynamicQuery(
150                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
151                    return _journalContentSearchLocalService.dynamicQuery(dynamicQuery);
152            }
153    
154            /**
155            * Performs a dynamic query on the database and returns a range of the matching rows.
156            *
157            * <p>
158            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalContentSearchModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
159            * </p>
160            *
161            * @param dynamicQuery the dynamic query
162            * @param start the lower bound of the range of model instances
163            * @param end the upper bound of the range of model instances (not inclusive)
164            * @return the range of matching rows
165            */
166            @Override
167            public <T> java.util.List<T> dynamicQuery(
168                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
169                    int end) {
170                    return _journalContentSearchLocalService.dynamicQuery(dynamicQuery,
171                            start, end);
172            }
173    
174            /**
175            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
176            *
177            * <p>
178            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalContentSearchModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
179            * </p>
180            *
181            * @param dynamicQuery the dynamic query
182            * @param start the lower bound of the range of model instances
183            * @param end the upper bound of the range of model instances (not inclusive)
184            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
185            * @return the ordered range of matching rows
186            */
187            @Override
188            public <T> java.util.List<T> dynamicQuery(
189                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
190                    int end,
191                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
192                    return _journalContentSearchLocalService.dynamicQuery(dynamicQuery,
193                            start, end, orderByComparator);
194            }
195    
196            /**
197            * Returns the number of rows matching the dynamic query.
198            *
199            * @param dynamicQuery the dynamic query
200            * @return the number of rows matching the dynamic query
201            */
202            @Override
203            public long dynamicQueryCount(
204                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
205                    return _journalContentSearchLocalService.dynamicQueryCount(dynamicQuery);
206            }
207    
208            /**
209            * Returns the number of rows matching the dynamic query.
210            *
211            * @param dynamicQuery the dynamic query
212            * @param projection the projection to apply to the query
213            * @return the number of rows matching the dynamic query
214            */
215            @Override
216            public long dynamicQueryCount(
217                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
218                    com.liferay.portal.kernel.dao.orm.Projection projection) {
219                    return _journalContentSearchLocalService.dynamicQueryCount(dynamicQuery,
220                            projection);
221            }
222    
223            @Override
224            public com.liferay.portlet.journal.model.JournalContentSearch fetchJournalContentSearch(
225                    long contentSearchId) {
226                    return _journalContentSearchLocalService.fetchJournalContentSearch(contentSearchId);
227            }
228    
229            @Override
230            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
231                    return _journalContentSearchLocalService.getActionableDynamicQuery();
232            }
233    
234            @Override
235            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches() {
236                    return _journalContentSearchLocalService.getArticleContentSearches();
237            }
238    
239            @Override
240            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches(
241                    java.lang.String articleId) {
242                    return _journalContentSearchLocalService.getArticleContentSearches(articleId);
243            }
244    
245            @Override
246            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches(
247                    long groupId, java.lang.String articleId) {
248                    return _journalContentSearchLocalService.getArticleContentSearches(groupId,
249                            articleId);
250            }
251    
252            /**
253            * Returns the Spring bean ID for this bean.
254            *
255            * @return the Spring bean ID for this bean
256            */
257            @Override
258            public java.lang.String getBeanIdentifier() {
259                    return _journalContentSearchLocalService.getBeanIdentifier();
260            }
261    
262            /**
263            * Returns the journal content search with the primary key.
264            *
265            * @param contentSearchId the primary key of the journal content search
266            * @return the journal content search
267            * @throws PortalException if a journal content search with the primary key could not be found
268            */
269            @Override
270            public com.liferay.portlet.journal.model.JournalContentSearch getJournalContentSearch(
271                    long contentSearchId)
272                    throws com.liferay.portal.kernel.exception.PortalException {
273                    return _journalContentSearchLocalService.getJournalContentSearch(contentSearchId);
274            }
275    
276            /**
277            * Returns a range of all the journal content searchs.
278            *
279            * <p>
280            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalContentSearchModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
281            * </p>
282            *
283            * @param start the lower bound of the range of journal content searchs
284            * @param end the upper bound of the range of journal content searchs (not inclusive)
285            * @return the range of journal content searchs
286            */
287            @Override
288            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getJournalContentSearchs(
289                    int start, int end) {
290                    return _journalContentSearchLocalService.getJournalContentSearchs(start,
291                            end);
292            }
293    
294            /**
295            * Returns the number of journal content searchs.
296            *
297            * @return the number of journal content searchs
298            */
299            @Override
300            public int getJournalContentSearchsCount() {
301                    return _journalContentSearchLocalService.getJournalContentSearchsCount();
302            }
303    
304            @Override
305            public java.util.List<java.lang.Long> getLayoutIds(long groupId,
306                    boolean privateLayout, java.lang.String articleId) {
307                    return _journalContentSearchLocalService.getLayoutIds(groupId,
308                            privateLayout, articleId);
309            }
310    
311            @Override
312            public int getLayoutIdsCount(java.lang.String articleId) {
313                    return _journalContentSearchLocalService.getLayoutIdsCount(articleId);
314            }
315    
316            @Override
317            public int getLayoutIdsCount(long groupId, boolean privateLayout,
318                    java.lang.String articleId) {
319                    return _journalContentSearchLocalService.getLayoutIdsCount(groupId,
320                            privateLayout, articleId);
321            }
322    
323            @Override
324            public com.liferay.portal.model.PersistedModel getPersistedModel(
325                    java.io.Serializable primaryKeyObj)
326                    throws com.liferay.portal.kernel.exception.PortalException {
327                    return _journalContentSearchLocalService.getPersistedModel(primaryKeyObj);
328            }
329    
330            @Override
331            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getPortletContentSearches(
332                    java.lang.String portletId) {
333                    return _journalContentSearchLocalService.getPortletContentSearches(portletId);
334            }
335    
336            /**
337            * Sets the Spring bean ID for this bean.
338            *
339            * @param beanIdentifier the Spring bean ID for this bean
340            */
341            @Override
342            public void setBeanIdentifier(java.lang.String beanIdentifier) {
343                    _journalContentSearchLocalService.setBeanIdentifier(beanIdentifier);
344            }
345    
346            @Override
347            public com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
348                    long groupId, boolean privateLayout, long layoutId,
349                    java.lang.String portletId, java.lang.String articleId)
350                    throws com.liferay.portal.kernel.exception.PortalException {
351                    return _journalContentSearchLocalService.updateContentSearch(groupId,
352                            privateLayout, layoutId, portletId, articleId);
353            }
354    
355            @Override
356            public com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
357                    long groupId, boolean privateLayout, long layoutId,
358                    java.lang.String portletId, java.lang.String articleId, boolean purge)
359                    throws com.liferay.portal.kernel.exception.PortalException {
360                    return _journalContentSearchLocalService.updateContentSearch(groupId,
361                            privateLayout, layoutId, portletId, articleId, purge);
362            }
363    
364            @Override
365            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> updateContentSearch(
366                    long groupId, boolean privateLayout, long layoutId,
367                    java.lang.String portletId, java.lang.String[] articleIds)
368                    throws com.liferay.portal.kernel.exception.PortalException {
369                    return _journalContentSearchLocalService.updateContentSearch(groupId,
370                            privateLayout, layoutId, portletId, articleIds);
371            }
372    
373            /**
374            * Updates the journal content search in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
375            *
376            * @param journalContentSearch the journal content search
377            * @return the journal content search that was updated
378            */
379            @Override
380            public com.liferay.portlet.journal.model.JournalContentSearch updateJournalContentSearch(
381                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
382                    return _journalContentSearchLocalService.updateJournalContentSearch(journalContentSearch);
383            }
384    
385            /**
386             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
387             */
388            @Deprecated
389            public JournalContentSearchLocalService getWrappedJournalContentSearchLocalService() {
390                    return _journalContentSearchLocalService;
391            }
392    
393            /**
394             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
395             */
396            @Deprecated
397            public void setWrappedJournalContentSearchLocalService(
398                    JournalContentSearchLocalService journalContentSearchLocalService) {
399                    _journalContentSearchLocalService = journalContentSearchLocalService;
400            }
401    
402            @Override
403            public JournalContentSearchLocalService getWrappedService() {
404                    return _journalContentSearchLocalService;
405            }
406    
407            @Override
408            public void setWrappedService(
409                    JournalContentSearchLocalService journalContentSearchLocalService) {
410                    _journalContentSearchLocalService = journalContentSearchLocalService;
411            }
412    
413            private JournalContentSearchLocalService _journalContentSearchLocalService;
414    }