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.documentlibrary.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link DLSyncEventLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DLSyncEventLocalService
026     * @generated
027     */
028    @ProviderType
029    public class DLSyncEventLocalServiceWrapper implements DLSyncEventLocalService,
030            ServiceWrapper<DLSyncEventLocalService> {
031            public DLSyncEventLocalServiceWrapper(
032                    DLSyncEventLocalService dlSyncEventLocalService) {
033                    _dlSyncEventLocalService = dlSyncEventLocalService;
034            }
035    
036            /**
037            * Adds the d l sync event to the database. Also notifies the appropriate model listeners.
038            *
039            * @param dlSyncEvent the d l sync event
040            * @return the d l sync event that was added
041            */
042            @Override
043            public com.liferay.portlet.documentlibrary.model.DLSyncEvent addDLSyncEvent(
044                    com.liferay.portlet.documentlibrary.model.DLSyncEvent dlSyncEvent) {
045                    return _dlSyncEventLocalService.addDLSyncEvent(dlSyncEvent);
046            }
047    
048            @Override
049            public com.liferay.portlet.documentlibrary.model.DLSyncEvent addDLSyncEvent(
050                    java.lang.String event, java.lang.String type, long typePK) {
051                    return _dlSyncEventLocalService.addDLSyncEvent(event, type, typePK);
052            }
053    
054            /**
055            * Creates a new d l sync event with the primary key. Does not add the d l sync event to the database.
056            *
057            * @param syncEventId the primary key for the new d l sync event
058            * @return the new d l sync event
059            */
060            @Override
061            public com.liferay.portlet.documentlibrary.model.DLSyncEvent createDLSyncEvent(
062                    long syncEventId) {
063                    return _dlSyncEventLocalService.createDLSyncEvent(syncEventId);
064            }
065    
066            /**
067            * Deletes the d l sync event from the database. Also notifies the appropriate model listeners.
068            *
069            * @param dlSyncEvent the d l sync event
070            * @return the d l sync event that was removed
071            */
072            @Override
073            public com.liferay.portlet.documentlibrary.model.DLSyncEvent deleteDLSyncEvent(
074                    com.liferay.portlet.documentlibrary.model.DLSyncEvent dlSyncEvent) {
075                    return _dlSyncEventLocalService.deleteDLSyncEvent(dlSyncEvent);
076            }
077    
078            /**
079            * Deletes the d l sync event with the primary key from the database. Also notifies the appropriate model listeners.
080            *
081            * @param syncEventId the primary key of the d l sync event
082            * @return the d l sync event that was removed
083            * @throws PortalException if a d l sync event with the primary key could not be found
084            */
085            @Override
086            public com.liferay.portlet.documentlibrary.model.DLSyncEvent deleteDLSyncEvent(
087                    long syncEventId)
088                    throws com.liferay.portal.kernel.exception.PortalException {
089                    return _dlSyncEventLocalService.deleteDLSyncEvent(syncEventId);
090            }
091    
092            @Override
093            public void deleteDLSyncEvents() {
094                    _dlSyncEventLocalService.deleteDLSyncEvents();
095            }
096    
097            /**
098            * @throws PortalException
099            */
100            @Override
101            public com.liferay.portal.model.PersistedModel deletePersistedModel(
102                    com.liferay.portal.model.PersistedModel persistedModel)
103                    throws com.liferay.portal.kernel.exception.PortalException {
104                    return _dlSyncEventLocalService.deletePersistedModel(persistedModel);
105            }
106    
107            @Override
108            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
109                    return _dlSyncEventLocalService.dynamicQuery();
110            }
111    
112            /**
113            * Performs a dynamic query on the database and returns the matching rows.
114            *
115            * @param dynamicQuery the dynamic query
116            * @return the matching rows
117            */
118            @Override
119            public <T> java.util.List<T> dynamicQuery(
120                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
121                    return _dlSyncEventLocalService.dynamicQuery(dynamicQuery);
122            }
123    
124            /**
125            * Performs a dynamic query on the database and returns a range of the matching rows.
126            *
127            * <p>
128            * 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.documentlibrary.model.impl.DLSyncEventModelImpl}. 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.
129            * </p>
130            *
131            * @param dynamicQuery the dynamic query
132            * @param start the lower bound of the range of model instances
133            * @param end the upper bound of the range of model instances (not inclusive)
134            * @return the range of matching rows
135            */
136            @Override
137            public <T> java.util.List<T> dynamicQuery(
138                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
139                    int end) {
140                    return _dlSyncEventLocalService.dynamicQuery(dynamicQuery, start, end);
141            }
142    
143            /**
144            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
145            *
146            * <p>
147            * 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.documentlibrary.model.impl.DLSyncEventModelImpl}. 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.
148            * </p>
149            *
150            * @param dynamicQuery the dynamic query
151            * @param start the lower bound of the range of model instances
152            * @param end the upper bound of the range of model instances (not inclusive)
153            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
154            * @return the ordered range of matching rows
155            */
156            @Override
157            public <T> java.util.List<T> dynamicQuery(
158                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
159                    int end,
160                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
161                    return _dlSyncEventLocalService.dynamicQuery(dynamicQuery, start, end,
162                            orderByComparator);
163            }
164    
165            /**
166            * Returns the number of rows matching the dynamic query.
167            *
168            * @param dynamicQuery the dynamic query
169            * @return the number of rows matching the dynamic query
170            */
171            @Override
172            public long dynamicQueryCount(
173                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
174                    return _dlSyncEventLocalService.dynamicQueryCount(dynamicQuery);
175            }
176    
177            /**
178            * Returns the number of rows matching the dynamic query.
179            *
180            * @param dynamicQuery the dynamic query
181            * @param projection the projection to apply to the query
182            * @return the number of rows matching the dynamic query
183            */
184            @Override
185            public long dynamicQueryCount(
186                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
187                    com.liferay.portal.kernel.dao.orm.Projection projection) {
188                    return _dlSyncEventLocalService.dynamicQueryCount(dynamicQuery,
189                            projection);
190            }
191    
192            @Override
193            public com.liferay.portlet.documentlibrary.model.DLSyncEvent fetchDLSyncEvent(
194                    long syncEventId) {
195                    return _dlSyncEventLocalService.fetchDLSyncEvent(syncEventId);
196            }
197    
198            @Override
199            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
200                    return _dlSyncEventLocalService.getActionableDynamicQuery();
201            }
202    
203            /**
204            * Returns the Spring bean ID for this bean.
205            *
206            * @return the Spring bean ID for this bean
207            */
208            @Override
209            public java.lang.String getBeanIdentifier() {
210                    return _dlSyncEventLocalService.getBeanIdentifier();
211            }
212    
213            /**
214            * Returns the d l sync event with the primary key.
215            *
216            * @param syncEventId the primary key of the d l sync event
217            * @return the d l sync event
218            * @throws PortalException if a d l sync event with the primary key could not be found
219            */
220            @Override
221            public com.liferay.portlet.documentlibrary.model.DLSyncEvent getDLSyncEvent(
222                    long syncEventId)
223                    throws com.liferay.portal.kernel.exception.PortalException {
224                    return _dlSyncEventLocalService.getDLSyncEvent(syncEventId);
225            }
226    
227            @Override
228            public java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> getDLSyncEvents(
229                    long modifiedTime) {
230                    return _dlSyncEventLocalService.getDLSyncEvents(modifiedTime);
231            }
232    
233            /**
234            * Returns a range of all the d l sync events.
235            *
236            * <p>
237            * 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.documentlibrary.model.impl.DLSyncEventModelImpl}. 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.
238            * </p>
239            *
240            * @param start the lower bound of the range of d l sync events
241            * @param end the upper bound of the range of d l sync events (not inclusive)
242            * @return the range of d l sync events
243            */
244            @Override
245            public java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> getDLSyncEvents(
246                    int start, int end) {
247                    return _dlSyncEventLocalService.getDLSyncEvents(start, end);
248            }
249    
250            /**
251            * Returns the number of d l sync events.
252            *
253            * @return the number of d l sync events
254            */
255            @Override
256            public int getDLSyncEventsCount() {
257                    return _dlSyncEventLocalService.getDLSyncEventsCount();
258            }
259    
260            @Override
261            public java.util.List<com.liferay.portlet.documentlibrary.model.DLSyncEvent> getLatestDLSyncEvents() {
262                    return _dlSyncEventLocalService.getLatestDLSyncEvents();
263            }
264    
265            @Override
266            public com.liferay.portal.model.PersistedModel getPersistedModel(
267                    java.io.Serializable primaryKeyObj)
268                    throws com.liferay.portal.kernel.exception.PortalException {
269                    return _dlSyncEventLocalService.getPersistedModel(primaryKeyObj);
270            }
271    
272            /**
273            * Sets the Spring bean ID for this bean.
274            *
275            * @param beanIdentifier the Spring bean ID for this bean
276            */
277            @Override
278            public void setBeanIdentifier(java.lang.String beanIdentifier) {
279                    _dlSyncEventLocalService.setBeanIdentifier(beanIdentifier);
280            }
281    
282            /**
283            * Updates the d l sync event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
284            *
285            * @param dlSyncEvent the d l sync event
286            * @return the d l sync event that was updated
287            */
288            @Override
289            public com.liferay.portlet.documentlibrary.model.DLSyncEvent updateDLSyncEvent(
290                    com.liferay.portlet.documentlibrary.model.DLSyncEvent dlSyncEvent) {
291                    return _dlSyncEventLocalService.updateDLSyncEvent(dlSyncEvent);
292            }
293    
294            /**
295             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
296             */
297            @Deprecated
298            public DLSyncEventLocalService getWrappedDLSyncEventLocalService() {
299                    return _dlSyncEventLocalService;
300            }
301    
302            /**
303             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
304             */
305            @Deprecated
306            public void setWrappedDLSyncEventLocalService(
307                    DLSyncEventLocalService dlSyncEventLocalService) {
308                    _dlSyncEventLocalService = dlSyncEventLocalService;
309            }
310    
311            @Override
312            public DLSyncEventLocalService getWrappedService() {
313                    return _dlSyncEventLocalService;
314            }
315    
316            @Override
317            public void setWrappedService(
318                    DLSyncEventLocalService dlSyncEventLocalService) {
319                    _dlSyncEventLocalService = dlSyncEventLocalService;
320            }
321    
322            private DLSyncEventLocalService _dlSyncEventLocalService;
323    }