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