PageRenderTime 35ms CodeModel.GetById 24ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/webs/kaleo-web/docroot/WEB-INF/service/com/liferay/portal/workflow/kaleo/model/KaleoDefinitionWrapper.java

https://github.com/l15k4/liferay-plugins
Java | 550 lines | 231 code | 73 blank | 246 comment | 0 complexity | 9a2d7af01901a72119b01e13ee7532de MD5 | raw file
  1/**
  2 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
  3 *
  4 * This library is free software; you can redistribute it and/or modify it under
  5 * the terms of the GNU Lesser General Public License as published by the Free
  6 * Software Foundation; either version 2.1 of the License, or (at your option)
  7 * any later version.
  8 *
  9 * This library is distributed in the hope that it will be useful, but WITHOUT
 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 12 * details.
 13 */
 14
 15package com.liferay.portal.workflow.kaleo.model;
 16
 17import com.liferay.portal.model.ModelWrapper;
 18
 19/**
 20 * <p>
 21 * This class is a wrapper for {@link KaleoDefinition}.
 22 * </p>
 23 *
 24 * @author    Brian Wing Shun Chan
 25 * @see       KaleoDefinition
 26 * @generated
 27 */
 28public class KaleoDefinitionWrapper implements KaleoDefinition,
 29	ModelWrapper<KaleoDefinition> {
 30	public KaleoDefinitionWrapper(KaleoDefinition kaleoDefinition) {
 31		_kaleoDefinition = kaleoDefinition;
 32	}
 33
 34	public Class<?> getModelClass() {
 35		return KaleoDefinition.class;
 36	}
 37
 38	public String getModelClassName() {
 39		return KaleoDefinition.class.getName();
 40	}
 41
 42	/**
 43	* Returns the primary key of this kaleo definition.
 44	*
 45	* @return the primary key of this kaleo definition
 46	*/
 47	public long getPrimaryKey() {
 48		return _kaleoDefinition.getPrimaryKey();
 49	}
 50
 51	/**
 52	* Sets the primary key of this kaleo definition.
 53	*
 54	* @param primaryKey the primary key of this kaleo definition
 55	*/
 56	public void setPrimaryKey(long primaryKey) {
 57		_kaleoDefinition.setPrimaryKey(primaryKey);
 58	}
 59
 60	/**
 61	* Returns the kaleo definition ID of this kaleo definition.
 62	*
 63	* @return the kaleo definition ID of this kaleo definition
 64	*/
 65	public long getKaleoDefinitionId() {
 66		return _kaleoDefinition.getKaleoDefinitionId();
 67	}
 68
 69	/**
 70	* Sets the kaleo definition ID of this kaleo definition.
 71	*
 72	* @param kaleoDefinitionId the kaleo definition ID of this kaleo definition
 73	*/
 74	public void setKaleoDefinitionId(long kaleoDefinitionId) {
 75		_kaleoDefinition.setKaleoDefinitionId(kaleoDefinitionId);
 76	}
 77
 78	/**
 79	* Returns the group ID of this kaleo definition.
 80	*
 81	* @return the group ID of this kaleo definition
 82	*/
 83	public long getGroupId() {
 84		return _kaleoDefinition.getGroupId();
 85	}
 86
 87	/**
 88	* Sets the group ID of this kaleo definition.
 89	*
 90	* @param groupId the group ID of this kaleo definition
 91	*/
 92	public void setGroupId(long groupId) {
 93		_kaleoDefinition.setGroupId(groupId);
 94	}
 95
 96	/**
 97	* Returns the company ID of this kaleo definition.
 98	*
 99	* @return the company ID of this kaleo definition
100	*/
101	public long getCompanyId() {
102		return _kaleoDefinition.getCompanyId();
103	}
104
105	/**
106	* Sets the company ID of this kaleo definition.
107	*
108	* @param companyId the company ID of this kaleo definition
109	*/
110	public void setCompanyId(long companyId) {
111		_kaleoDefinition.setCompanyId(companyId);
112	}
113
114	/**
115	* Returns the user ID of this kaleo definition.
116	*
117	* @return the user ID of this kaleo definition
118	*/
119	public long getUserId() {
120		return _kaleoDefinition.getUserId();
121	}
122
123	/**
124	* Sets the user ID of this kaleo definition.
125	*
126	* @param userId the user ID of this kaleo definition
127	*/
128	public void setUserId(long userId) {
129		_kaleoDefinition.setUserId(userId);
130	}
131
132	/**
133	* Returns the user uuid of this kaleo definition.
134	*
135	* @return the user uuid of this kaleo definition
136	* @throws SystemException if a system exception occurred
137	*/
138	public java.lang.String getUserUuid()
139		throws com.liferay.portal.kernel.exception.SystemException {
140		return _kaleoDefinition.getUserUuid();
141	}
142
143	/**
144	* Sets the user uuid of this kaleo definition.
145	*
146	* @param userUuid the user uuid of this kaleo definition
147	*/
148	public void setUserUuid(java.lang.String userUuid) {
149		_kaleoDefinition.setUserUuid(userUuid);
150	}
151
152	/**
153	* Returns the user name of this kaleo definition.
154	*
155	* @return the user name of this kaleo definition
156	*/
157	public java.lang.String getUserName() {
158		return _kaleoDefinition.getUserName();
159	}
160
161	/**
162	* Sets the user name of this kaleo definition.
163	*
164	* @param userName the user name of this kaleo definition
165	*/
166	public void setUserName(java.lang.String userName) {
167		_kaleoDefinition.setUserName(userName);
168	}
169
170	/**
171	* Returns the create date of this kaleo definition.
172	*
173	* @return the create date of this kaleo definition
174	*/
175	public java.util.Date getCreateDate() {
176		return _kaleoDefinition.getCreateDate();
177	}
178
179	/**
180	* Sets the create date of this kaleo definition.
181	*
182	* @param createDate the create date of this kaleo definition
183	*/
184	public void setCreateDate(java.util.Date createDate) {
185		_kaleoDefinition.setCreateDate(createDate);
186	}
187
188	/**
189	* Returns the modified date of this kaleo definition.
190	*
191	* @return the modified date of this kaleo definition
192	*/
193	public java.util.Date getModifiedDate() {
194		return _kaleoDefinition.getModifiedDate();
195	}
196
197	/**
198	* Sets the modified date of this kaleo definition.
199	*
200	* @param modifiedDate the modified date of this kaleo definition
201	*/
202	public void setModifiedDate(java.util.Date modifiedDate) {
203		_kaleoDefinition.setModifiedDate(modifiedDate);
204	}
205
206	/**
207	* Returns the name of this kaleo definition.
208	*
209	* @return the name of this kaleo definition
210	*/
211	public java.lang.String getName() {
212		return _kaleoDefinition.getName();
213	}
214
215	/**
216	* Sets the name of this kaleo definition.
217	*
218	* @param name the name of this kaleo definition
219	*/
220	public void setName(java.lang.String name) {
221		_kaleoDefinition.setName(name);
222	}
223
224	/**
225	* Returns the title of this kaleo definition.
226	*
227	* @return the title of this kaleo definition
228	*/
229	public java.lang.String getTitle() {
230		return _kaleoDefinition.getTitle();
231	}
232
233	/**
234	* Returns the localized title of this kaleo definition in the language. Uses the default language if no localization exists for the requested language.
235	*
236	* @param locale the locale of the language
237	* @return the localized title of this kaleo definition
238	*/
239	public java.lang.String getTitle(java.util.Locale locale) {
240		return _kaleoDefinition.getTitle(locale);
241	}
242
243	/**
244	* Returns the localized title of this kaleo definition in the language, optionally using the default language if no localization exists for the requested language.
245	*
246	* @param locale the local of the language
247	* @param useDefault whether to use the default language if no localization exists for the requested language
248	* @return the localized title of this kaleo definition. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
249	*/
250	public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
251		return _kaleoDefinition.getTitle(locale, useDefault);
252	}
253
254	/**
255	* Returns the localized title of this kaleo definition in the language. Uses the default language if no localization exists for the requested language.
256	*
257	* @param languageId the ID of the language
258	* @return the localized title of this kaleo definition
259	*/
260	public java.lang.String getTitle(java.lang.String languageId) {
261		return _kaleoDefinition.getTitle(languageId);
262	}
263
264	/**
265	* Returns the localized title of this kaleo definition in the language, optionally using the default language if no localization exists for the requested language.
266	*
267	* @param languageId the ID of the language
268	* @param useDefault whether to use the default language if no localization exists for the requested language
269	* @return the localized title of this kaleo definition
270	*/
271	public java.lang.String getTitle(java.lang.String languageId,
272		boolean useDefault) {
273		return _kaleoDefinition.getTitle(languageId, useDefault);
274	}
275
276	public java.lang.String getTitleCurrentLanguageId() {
277		return _kaleoDefinition.getTitleCurrentLanguageId();
278	}
279
280	public java.lang.String getTitleCurrentValue() {
281		return _kaleoDefinition.getTitleCurrentValue();
282	}
283
284	/**
285	* Returns a map of the locales and localized titles of this kaleo definition.
286	*
287	* @return the locales and localized titles of this kaleo definition
288	*/
289	public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
290		return _kaleoDefinition.getTitleMap();
291	}
292
293	/**
294	* Sets the title of this kaleo definition.
295	*
296	* @param title the title of this kaleo definition
297	*/
298	public void setTitle(java.lang.String title) {
299		_kaleoDefinition.setTitle(title);
300	}
301
302	/**
303	* Sets the localized title of this kaleo definition in the language.
304	*
305	* @param title the localized title of this kaleo definition
306	* @param locale the locale of the language
307	*/
308	public void setTitle(java.lang.String title, java.util.Locale locale) {
309		_kaleoDefinition.setTitle(title, locale);
310	}
311
312	/**
313	* Sets the localized title of this kaleo definition in the language, and sets the default locale.
314	*
315	* @param title the localized title of this kaleo definition
316	* @param locale the locale of the language
317	* @param defaultLocale the default locale
318	*/
319	public void setTitle(java.lang.String title, java.util.Locale locale,
320		java.util.Locale defaultLocale) {
321		_kaleoDefinition.setTitle(title, locale, defaultLocale);
322	}
323
324	public void setTitleCurrentLanguageId(java.lang.String languageId) {
325		_kaleoDefinition.setTitleCurrentLanguageId(languageId);
326	}
327
328	/**
329	* Sets the localized titles of this kaleo definition from the map of locales and localized titles.
330	*
331	* @param titleMap the locales and localized titles of this kaleo definition
332	*/
333	public void setTitleMap(
334		java.util.Map<java.util.Locale, java.lang.String> titleMap) {
335		_kaleoDefinition.setTitleMap(titleMap);
336	}
337
338	/**
339	* Sets the localized titles of this kaleo definition from the map of locales and localized titles, and sets the default locale.
340	*
341	* @param titleMap the locales and localized titles of this kaleo definition
342	* @param defaultLocale the default locale
343	*/
344	public void setTitleMap(
345		java.util.Map<java.util.Locale, java.lang.String> titleMap,
346		java.util.Locale defaultLocale) {
347		_kaleoDefinition.setTitleMap(titleMap, defaultLocale);
348	}
349
350	/**
351	* Returns the description of this kaleo definition.
352	*
353	* @return the description of this kaleo definition
354	*/
355	public java.lang.String getDescription() {
356		return _kaleoDefinition.getDescription();
357	}
358
359	/**
360	* Sets the description of this kaleo definition.
361	*
362	* @param description the description of this kaleo definition
363	*/
364	public void setDescription(java.lang.String description) {
365		_kaleoDefinition.setDescription(description);
366	}
367
368	/**
369	* Returns the content of this kaleo definition.
370	*
371	* @return the content of this kaleo definition
372	*/
373	public java.lang.String getContent() {
374		return _kaleoDefinition.getContent();
375	}
376
377	/**
378	* Sets the content of this kaleo definition.
379	*
380	* @param content the content of this kaleo definition
381	*/
382	public void setContent(java.lang.String content) {
383		_kaleoDefinition.setContent(content);
384	}
385
386	/**
387	* Returns the version of this kaleo definition.
388	*
389	* @return the version of this kaleo definition
390	*/
391	public int getVersion() {
392		return _kaleoDefinition.getVersion();
393	}
394
395	/**
396	* Sets the version of this kaleo definition.
397	*
398	* @param version the version of this kaleo definition
399	*/
400	public void setVersion(int version) {
401		_kaleoDefinition.setVersion(version);
402	}
403
404	/**
405	* Returns the active of this kaleo definition.
406	*
407	* @return the active of this kaleo definition
408	*/
409	public boolean getActive() {
410		return _kaleoDefinition.getActive();
411	}
412
413	/**
414	* Returns <code>true</code> if this kaleo definition is active.
415	*
416	* @return <code>true</code> if this kaleo definition is active; <code>false</code> otherwise
417	*/
418	public boolean isActive() {
419		return _kaleoDefinition.isActive();
420	}
421
422	/**
423	* Sets whether this kaleo definition is active.
424	*
425	* @param active the active of this kaleo definition
426	*/
427	public void setActive(boolean active) {
428		_kaleoDefinition.setActive(active);
429	}
430
431	/**
432	* Returns the start kaleo node ID of this kaleo definition.
433	*
434	* @return the start kaleo node ID of this kaleo definition
435	*/
436	public long getStartKaleoNodeId() {
437		return _kaleoDefinition.getStartKaleoNodeId();
438	}
439
440	/**
441	* Sets the start kaleo node ID of this kaleo definition.
442	*
443	* @param startKaleoNodeId the start kaleo node ID of this kaleo definition
444	*/
445	public void setStartKaleoNodeId(long startKaleoNodeId) {
446		_kaleoDefinition.setStartKaleoNodeId(startKaleoNodeId);
447	}
448
449	public boolean isNew() {
450		return _kaleoDefinition.isNew();
451	}
452
453	public void setNew(boolean n) {
454		_kaleoDefinition.setNew(n);
455	}
456
457	public boolean isCachedModel() {
458		return _kaleoDefinition.isCachedModel();
459	}
460
461	public void setCachedModel(boolean cachedModel) {
462		_kaleoDefinition.setCachedModel(cachedModel);
463	}
464
465	public boolean isEscapedModel() {
466		return _kaleoDefinition.isEscapedModel();
467	}
468
469	public java.io.Serializable getPrimaryKeyObj() {
470		return _kaleoDefinition.getPrimaryKeyObj();
471	}
472
473	public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
474		_kaleoDefinition.setPrimaryKeyObj(primaryKeyObj);
475	}
476
477	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
478		return _kaleoDefinition.getExpandoBridge();
479	}
480
481	public void setExpandoBridgeAttributes(
482		com.liferay.portal.service.ServiceContext serviceContext) {
483		_kaleoDefinition.setExpandoBridgeAttributes(serviceContext);
484	}
485
486	@Override
487	public java.lang.Object clone() {
488		return new KaleoDefinitionWrapper((KaleoDefinition)_kaleoDefinition.clone());
489	}
490
491	public int compareTo(
492		com.liferay.portal.workflow.kaleo.model.KaleoDefinition kaleoDefinition) {
493		return _kaleoDefinition.compareTo(kaleoDefinition);
494	}
495
496	@Override
497	public int hashCode() {
498		return _kaleoDefinition.hashCode();
499	}
500
501	public com.liferay.portal.model.CacheModel<com.liferay.portal.workflow.kaleo.model.KaleoDefinition> toCacheModel() {
502		return _kaleoDefinition.toCacheModel();
503	}
504
505	public com.liferay.portal.workflow.kaleo.model.KaleoDefinition toEscapedModel() {
506		return new KaleoDefinitionWrapper(_kaleoDefinition.toEscapedModel());
507	}
508
509	@Override
510	public java.lang.String toString() {
511		return _kaleoDefinition.toString();
512	}
513
514	public java.lang.String toXmlString() {
515		return _kaleoDefinition.toXmlString();
516	}
517
518	public void persist()
519		throws com.liferay.portal.kernel.exception.SystemException {
520		_kaleoDefinition.persist();
521	}
522
523	public com.liferay.portal.workflow.kaleo.model.KaleoNode getKaleoStartNode()
524		throws com.liferay.portal.kernel.exception.PortalException,
525			com.liferay.portal.kernel.exception.SystemException {
526		return _kaleoDefinition.getKaleoStartNode();
527	}
528
529	public boolean hasIncompleteKaleoInstances()
530		throws com.liferay.portal.kernel.exception.SystemException {
531		return _kaleoDefinition.hasIncompleteKaleoInstances();
532	}
533
534	/**
535	 * @deprecated Renamed to {@link #getWrappedModel}
536	 */
537	public KaleoDefinition getWrappedKaleoDefinition() {
538		return _kaleoDefinition;
539	}
540
541	public KaleoDefinition getWrappedModel() {
542		return _kaleoDefinition;
543	}
544
545	public void resetOriginalValues() {
546		_kaleoDefinition.resetOriginalValues();
547	}
548
549	private KaleoDefinition _kaleoDefinition;
550}