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, java.lang.String articleId) {
070                    _journalContentSearchLocalService.deleteArticleContentSearch(groupId,
071                            privateLayout, layoutId, portletId, articleId);
072            }
073    
074            @Override
075            public void deleteArticleContentSearches(long groupId,
076                    java.lang.String articleId) {
077                    _journalContentSearchLocalService.deleteArticleContentSearches(groupId,
078                            articleId);
079            }
080    
081            /**
082            * Deletes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.
083            *
084            * @param contentSearchId the primary key of the journal content search
085            * @return the journal content search that was removed
086            * @throws PortalException if a journal content search with the primary key could not be found
087            */
088            @Override
089            public com.liferay.portlet.journal.model.JournalContentSearch deleteJournalContentSearch(
090                    long contentSearchId)
091                    throws com.liferay.portal.kernel.exception.PortalException {
092                    return _journalContentSearchLocalService.deleteJournalContentSearch(contentSearchId);
093            }
094    
095            /**
096            * Deletes the journal content search from the database. Also notifies the appropriate model listeners.
097            *
098            * @param journalContentSearch the journal content search
099            * @return the journal content search that was removed
100            */
101            @Override
102            public com.liferay.portlet.journal.model.JournalContentSearch deleteJournalContentSearch(
103                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
104                    return _journalContentSearchLocalService.deleteJournalContentSearch(journalContentSearch);
105            }
106    
107            @Override
108            public void deleteLayoutContentSearches(long groupId,
109                    boolean privateLayout, long layoutId) {
110                    _journalContentSearchLocalService.deleteLayoutContentSearches(groupId,
111                            privateLayout, layoutId);
112            }
113    
114            @Override
115            public void deleteOwnerContentSearches(long groupId, boolean privateLayout) {
116                    _journalContentSearchLocalService.deleteOwnerContentSearches(groupId,
117                            privateLayout);
118            }
119    
120            /**
121            * @throws PortalException
122            */
123            @Override
124            public com.liferay.portal.model.PersistedModel deletePersistedModel(
125                    com.liferay.portal.model.PersistedModel persistedModel)
126                    throws com.liferay.portal.kernel.exception.PortalException {
127                    return _journalContentSearchLocalService.deletePersistedModel(persistedModel);
128            }
129    
130            @Override
131            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
132                    return _journalContentSearchLocalService.dynamicQuery();
133            }
134    
135            /**
136            * Performs a dynamic query on the database and returns the matching rows.
137            *
138            * @param dynamicQuery the dynamic query
139            * @return the matching rows
140            */
141            @Override
142            public <T> java.util.List<T> dynamicQuery(
143                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
144                    return _journalContentSearchLocalService.dynamicQuery(dynamicQuery);
145            }
146    
147            /**
148            * Performs a dynamic query on the database and returns a range of the matching rows.
149            *
150            * <p>
151            * 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.
152            * </p>
153            *
154            * @param dynamicQuery the dynamic query
155            * @param start the lower bound of the range of model instances
156            * @param end the upper bound of the range of model instances (not inclusive)
157            * @return the range of matching rows
158            */
159            @Override
160            public <T> java.util.List<T> dynamicQuery(
161                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
162                    int end) {
163                    return _journalContentSearchLocalService.dynamicQuery(dynamicQuery,
164                            start, end);
165            }
166    
167            /**
168            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
169            *
170            * <p>
171            * 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.
172            * </p>
173            *
174            * @param dynamicQuery the dynamic query
175            * @param start the lower bound of the range of model instances
176            * @param end the upper bound of the range of model instances (not inclusive)
177            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
178            * @return the ordered range of matching rows
179            */
180            @Override
181            public <T> java.util.List<T> dynamicQuery(
182                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
183                    int end,
184                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
185                    return _journalContentSearchLocalService.dynamicQuery(dynamicQuery,
186                            start, end, orderByComparator);
187            }
188    
189            /**
190            * Returns the number of rows that match the dynamic query.
191            *
192            * @param dynamicQuery the dynamic query
193            * @return the number of rows that match the dynamic query
194            */
195            @Override
196            public long dynamicQueryCount(
197                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
198                    return _journalContentSearchLocalService.dynamicQueryCount(dynamicQuery);
199            }
200    
201            /**
202            * Returns the number of rows that match the dynamic query.
203            *
204            * @param dynamicQuery the dynamic query
205            * @param projection the projection to apply to the query
206            * @return the number of rows that match the dynamic query
207            */
208            @Override
209            public long dynamicQueryCount(
210                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
211                    com.liferay.portal.kernel.dao.orm.Projection projection) {
212                    return _journalContentSearchLocalService.dynamicQueryCount(dynamicQuery,
213                            projection);
214            }
215    
216            @Override
217            public com.liferay.portlet.journal.model.JournalContentSearch fetchJournalContentSearch(
218                    long contentSearchId) {
219                    return _journalContentSearchLocalService.fetchJournalContentSearch(contentSearchId);
220            }
221    
222            @Override
223            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
224                    return _journalContentSearchLocalService.getActionableDynamicQuery();
225            }
226    
227            @Override
228            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches() {
229                    return _journalContentSearchLocalService.getArticleContentSearches();
230            }
231    
232            @Override
233            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches(
234                    java.lang.String articleId) {
235                    return _journalContentSearchLocalService.getArticleContentSearches(articleId);
236            }
237    
238            @Override
239            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches(
240                    long groupId, java.lang.String articleId) {
241                    return _journalContentSearchLocalService.getArticleContentSearches(groupId,
242                            articleId);
243            }
244    
245            /**
246            * Returns the Spring bean ID for this bean.
247            *
248            * @return the Spring bean ID for this bean
249            */
250            @Override
251            public java.lang.String getBeanIdentifier() {
252                    return _journalContentSearchLocalService.getBeanIdentifier();
253            }
254    
255            /**
256            * Returns the journal content search with the primary key.
257            *
258            * @param contentSearchId the primary key of the journal content search
259            * @return the journal content search
260            * @throws PortalException if a journal content search with the primary key could not be found
261            */
262            @Override
263            public com.liferay.portlet.journal.model.JournalContentSearch getJournalContentSearch(
264                    long contentSearchId)
265                    throws com.liferay.portal.kernel.exception.PortalException {
266                    return _journalContentSearchLocalService.getJournalContentSearch(contentSearchId);
267            }
268    
269            /**
270            * Returns a range of all the journal content searchs.
271            *
272            * <p>
273            * 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.
274            * </p>
275            *
276            * @param start the lower bound of the range of journal content searchs
277            * @param end the upper bound of the range of journal content searchs (not inclusive)
278            * @return the range of journal content searchs
279            */
280            @Override
281            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getJournalContentSearchs(
282                    int start, int end) {
283                    return _journalContentSearchLocalService.getJournalContentSearchs(start,
284                            end);
285            }
286    
287            /**
288            * Returns the number of journal content searchs.
289            *
290            * @return the number of journal content searchs
291            */
292            @Override
293            public int getJournalContentSearchsCount() {
294                    return _journalContentSearchLocalService.getJournalContentSearchsCount();
295            }
296    
297            @Override
298            public java.util.List<java.lang.Long> getLayoutIds(long groupId,
299                    boolean privateLayout, java.lang.String articleId) {
300                    return _journalContentSearchLocalService.getLayoutIds(groupId,
301                            privateLayout, articleId);
302            }
303    
304            @Override
305            public int getLayoutIdsCount(java.lang.String articleId) {
306                    return _journalContentSearchLocalService.getLayoutIdsCount(articleId);
307            }
308    
309            @Override
310            public int getLayoutIdsCount(long groupId, boolean privateLayout,
311                    java.lang.String articleId) {
312                    return _journalContentSearchLocalService.getLayoutIdsCount(groupId,
313                            privateLayout, articleId);
314            }
315    
316            @Override
317            public com.liferay.portal.model.PersistedModel getPersistedModel(
318                    java.io.Serializable primaryKeyObj)
319                    throws com.liferay.portal.kernel.exception.PortalException {
320                    return _journalContentSearchLocalService.getPersistedModel(primaryKeyObj);
321            }
322    
323            @Override
324            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getPortletContentSearches(
325                    java.lang.String portletId) {
326                    return _journalContentSearchLocalService.getPortletContentSearches(portletId);
327            }
328    
329            /**
330            * Sets the Spring bean ID for this bean.
331            *
332            * @param beanIdentifier the Spring bean ID for this bean
333            */
334            @Override
335            public void setBeanIdentifier(java.lang.String beanIdentifier) {
336                    _journalContentSearchLocalService.setBeanIdentifier(beanIdentifier);
337            }
338    
339            @Override
340            public com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
341                    long groupId, boolean privateLayout, long layoutId,
342                    java.lang.String portletId, java.lang.String articleId)
343                    throws com.liferay.portal.kernel.exception.PortalException {
344                    return _journalContentSearchLocalService.updateContentSearch(groupId,
345                            privateLayout, layoutId, portletId, articleId);
346            }
347    
348            @Override
349            public com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
350                    long groupId, boolean privateLayout, long layoutId,
351                    java.lang.String portletId, java.lang.String articleId, boolean purge)
352                    throws com.liferay.portal.kernel.exception.PortalException {
353                    return _journalContentSearchLocalService.updateContentSearch(groupId,
354                            privateLayout, layoutId, portletId, articleId, purge);
355            }
356    
357            @Override
358            public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> updateContentSearch(
359                    long groupId, boolean privateLayout, long layoutId,
360                    java.lang.String portletId, java.lang.String[] articleIds)
361                    throws com.liferay.portal.kernel.exception.PortalException {
362                    return _journalContentSearchLocalService.updateContentSearch(groupId,
363                            privateLayout, layoutId, portletId, articleIds);
364            }
365    
366            /**
367            * Updates the journal content search in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
368            *
369            * @param journalContentSearch the journal content search
370            * @return the journal content search that was updated
371            */
372            @Override
373            public com.liferay.portlet.journal.model.JournalContentSearch updateJournalContentSearch(
374                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
375                    return _journalContentSearchLocalService.updateJournalContentSearch(journalContentSearch);
376            }
377    
378            /**
379             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
380             */
381            @Deprecated
382            public JournalContentSearchLocalService getWrappedJournalContentSearchLocalService() {
383                    return _journalContentSearchLocalService;
384            }
385    
386            /**
387             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
388             */
389            @Deprecated
390            public void setWrappedJournalContentSearchLocalService(
391                    JournalContentSearchLocalService journalContentSearchLocalService) {
392                    _journalContentSearchLocalService = journalContentSearchLocalService;
393            }
394    
395            @Override
396            public JournalContentSearchLocalService getWrappedService() {
397                    return _journalContentSearchLocalService;
398            }
399    
400            @Override
401            public void setWrappedService(
402                    JournalContentSearchLocalService journalContentSearchLocalService) {
403                    _journalContentSearchLocalService = journalContentSearchLocalService;
404            }
405    
406            private JournalContentSearchLocalService _journalContentSearchLocalService;
407    }