/
AkismetDataLocalServiceWrapper.java
314 lines (282 loc) · 12.7 KB
/
AkismetDataLocalServiceWrapper.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.akismet.service;
import aQute.bnd.annotation.ProviderType;
import com.liferay.portal.kernel.service.ServiceWrapper;
/**
* Provides a wrapper for {@link AkismetDataLocalService}.
*
* @author Brian Wing Shun Chan
* @see AkismetDataLocalService
* @generated
*/
@ProviderType
public class AkismetDataLocalServiceWrapper implements AkismetDataLocalService,
ServiceWrapper<AkismetDataLocalService> {
public AkismetDataLocalServiceWrapper(
AkismetDataLocalService akismetDataLocalService) {
_akismetDataLocalService = akismetDataLocalService;
}
/**
* Adds the akismet data to the database. Also notifies the appropriate model listeners.
*
* @param akismetData the akismet data
* @return the akismet data that was added
*/
@Override
public com.liferay.akismet.model.AkismetData addAkismetData(
com.liferay.akismet.model.AkismetData akismetData) {
return _akismetDataLocalService.addAkismetData(akismetData);
}
/**
* Creates a new akismet data with the primary key. Does not add the akismet data to the database.
*
* @param akismetDataId the primary key for the new akismet data
* @return the new akismet data
*/
@Override
public com.liferay.akismet.model.AkismetData createAkismetData(
long akismetDataId) {
return _akismetDataLocalService.createAkismetData(akismetDataId);
}
/**
* Deletes the akismet data from the database. Also notifies the appropriate model listeners.
*
* @param akismetData the akismet data
* @return the akismet data that was removed
*/
@Override
public com.liferay.akismet.model.AkismetData deleteAkismetData(
com.liferay.akismet.model.AkismetData akismetData) {
return _akismetDataLocalService.deleteAkismetData(akismetData);
}
/**
* Deletes the akismet data with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param akismetDataId the primary key of the akismet data
* @return the akismet data that was removed
* @throws PortalException if a akismet data with the primary key could not be found
*/
@Override
public com.liferay.akismet.model.AkismetData deleteAkismetData(
long akismetDataId)
throws com.liferay.portal.kernel.exception.PortalException {
return _akismetDataLocalService.deleteAkismetData(akismetDataId);
}
@Override
public void deleteAkismetData(java.lang.String className, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
_akismetDataLocalService.deleteAkismetData(className, classPK);
}
@Override
public void deleteAkismetData(java.util.Date modifiedDate) {
_akismetDataLocalService.deleteAkismetData(modifiedDate);
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException {
return _akismetDataLocalService.deletePersistedModel(persistedModel);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _akismetDataLocalService.dynamicQuery();
}
/**
* Performs a dynamic query on the database and returns the matching rows.
*
* @param dynamicQuery the dynamic query
* @return the matching rows
*/
@Override
public <T> java.util.List<T> dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
return _akismetDataLocalService.dynamicQuery(dynamicQuery);
}
/**
* Performs a dynamic query on the database and returns a range of the matching rows.
*
* <p>
* 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.akismet.model.impl.AkismetDataModelImpl}. 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.
* </p>
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @return the range of matching rows
*/
@Override
public <T> java.util.List<T> dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) {
return _akismetDataLocalService.dynamicQuery(dynamicQuery, start, end);
}
/**
* Performs a dynamic query on the database and returns an ordered range of the matching rows.
*
* <p>
* 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.akismet.model.impl.AkismetDataModelImpl}. 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.
* </p>
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching rows
*/
@Override
public <T> java.util.List<T> dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
return _akismetDataLocalService.dynamicQuery(dynamicQuery, start, end,
orderByComparator);
}
/**
* Returns the number of rows matching the dynamic query.
*
* @param dynamicQuery the dynamic query
* @return the number of rows matching the dynamic query
*/
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
return _akismetDataLocalService.dynamicQueryCount(dynamicQuery);
}
/**
* Returns the number of rows matching the dynamic query.
*
* @param dynamicQuery the dynamic query
* @param projection the projection to apply to the query
* @return the number of rows matching the dynamic query
*/
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection) {
return _akismetDataLocalService.dynamicQueryCount(dynamicQuery,
projection);
}
@Override
public com.liferay.akismet.model.AkismetData fetchAkismetData(
long akismetDataId) {
return _akismetDataLocalService.fetchAkismetData(akismetDataId);
}
@Override
public com.liferay.akismet.model.AkismetData fetchAkismetData(
java.lang.String className, long classPK) {
return _akismetDataLocalService.fetchAkismetData(className, classPK);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
return _akismetDataLocalService.getActionableDynamicQuery();
}
/**
* Returns the akismet data with the primary key.
*
* @param akismetDataId the primary key of the akismet data
* @return the akismet data
* @throws PortalException if a akismet data with the primary key could not be found
*/
@Override
public com.liferay.akismet.model.AkismetData getAkismetData(
long akismetDataId)
throws com.liferay.portal.kernel.exception.PortalException {
return _akismetDataLocalService.getAkismetData(akismetDataId);
}
/**
* Returns a range of all the akismet datas.
*
* <p>
* 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.akismet.model.impl.AkismetDataModelImpl}. 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.
* </p>
*
* @param start the lower bound of the range of akismet datas
* @param end the upper bound of the range of akismet datas (not inclusive)
* @return the range of akismet datas
*/
@Override
public java.util.List<com.liferay.akismet.model.AkismetData> getAkismetDatas(
int start, int end) {
return _akismetDataLocalService.getAkismetDatas(start, end);
}
/**
* Returns the number of akismet datas.
*
* @return the number of akismet datas
*/
@Override
public int getAkismetDatasCount() {
return _akismetDataLocalService.getAkismetDatasCount();
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
return _akismetDataLocalService.getIndexableActionableDynamicQuery();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public java.lang.String getOSGiServiceIdentifier() {
return _akismetDataLocalService.getOSGiServiceIdentifier();
}
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _akismetDataLocalService.getPersistedModel(primaryKeyObj);
}
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return _akismetDataLocalService.invokeMethod(name, parameterTypes,
arguments);
}
/**
* Updates the akismet data in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param akismetData the akismet data
* @return the akismet data that was updated
*/
@Override
public com.liferay.akismet.model.AkismetData updateAkismetData(
com.liferay.akismet.model.AkismetData akismetData) {
return _akismetDataLocalService.updateAkismetData(akismetData);
}
@Override
public com.liferay.akismet.model.AkismetData updateAkismetData(
java.lang.String className, long classPK, java.lang.String type,
java.lang.String permalink, java.lang.String referrer,
java.lang.String userAgent, java.lang.String userIP,
java.lang.String userURL) {
return _akismetDataLocalService.updateAkismetData(className, classPK,
type, permalink, referrer, userAgent, userIP, userURL);
}
@Override
public AkismetDataLocalService getWrappedService() {
return _akismetDataLocalService;
}
@Override
public void setWrappedService(
AkismetDataLocalService akismetDataLocalService) {
_akismetDataLocalService = akismetDataLocalService;
}
private AkismetDataLocalService _akismetDataLocalService;
}