001    /**
002     * Copyright (c) 2000-2013 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.dynamicdatamapping.model;
016    
017    import com.liferay.portal.model.ModelWrapper;
018    
019    import java.util.Date;
020    import java.util.HashMap;
021    import java.util.Map;
022    
023    /**
024     * <p>
025     * This class is a wrapper for {@link DDMStructure}.
026     * </p>
027     *
028     * @author    Brian Wing Shun Chan
029     * @see       DDMStructure
030     * @generated
031     */
032    public class DDMStructureWrapper implements DDMStructure,
033            ModelWrapper<DDMStructure> {
034            public DDMStructureWrapper(DDMStructure ddmStructure) {
035                    _ddmStructure = ddmStructure;
036            }
037    
038            public Class<?> getModelClass() {
039                    return DDMStructure.class;
040            }
041    
042            public String getModelClassName() {
043                    return DDMStructure.class.getName();
044            }
045    
046            public Map<String, Object> getModelAttributes() {
047                    Map<String, Object> attributes = new HashMap<String, Object>();
048    
049                    attributes.put("uuid", getUuid());
050                    attributes.put("structureId", getStructureId());
051                    attributes.put("groupId", getGroupId());
052                    attributes.put("companyId", getCompanyId());
053                    attributes.put("userId", getUserId());
054                    attributes.put("userName", getUserName());
055                    attributes.put("createDate", getCreateDate());
056                    attributes.put("modifiedDate", getModifiedDate());
057                    attributes.put("parentStructureId", getParentStructureId());
058                    attributes.put("classNameId", getClassNameId());
059                    attributes.put("structureKey", getStructureKey());
060                    attributes.put("name", getName());
061                    attributes.put("description", getDescription());
062                    attributes.put("xsd", getXsd());
063                    attributes.put("storageType", getStorageType());
064                    attributes.put("type", getType());
065    
066                    return attributes;
067            }
068    
069            public void setModelAttributes(Map<String, Object> attributes) {
070                    String uuid = (String)attributes.get("uuid");
071    
072                    if (uuid != null) {
073                            setUuid(uuid);
074                    }
075    
076                    Long structureId = (Long)attributes.get("structureId");
077    
078                    if (structureId != null) {
079                            setStructureId(structureId);
080                    }
081    
082                    Long groupId = (Long)attributes.get("groupId");
083    
084                    if (groupId != null) {
085                            setGroupId(groupId);
086                    }
087    
088                    Long companyId = (Long)attributes.get("companyId");
089    
090                    if (companyId != null) {
091                            setCompanyId(companyId);
092                    }
093    
094                    Long userId = (Long)attributes.get("userId");
095    
096                    if (userId != null) {
097                            setUserId(userId);
098                    }
099    
100                    String userName = (String)attributes.get("userName");
101    
102                    if (userName != null) {
103                            setUserName(userName);
104                    }
105    
106                    Date createDate = (Date)attributes.get("createDate");
107    
108                    if (createDate != null) {
109                            setCreateDate(createDate);
110                    }
111    
112                    Date modifiedDate = (Date)attributes.get("modifiedDate");
113    
114                    if (modifiedDate != null) {
115                            setModifiedDate(modifiedDate);
116                    }
117    
118                    Long parentStructureId = (Long)attributes.get("parentStructureId");
119    
120                    if (parentStructureId != null) {
121                            setParentStructureId(parentStructureId);
122                    }
123    
124                    Long classNameId = (Long)attributes.get("classNameId");
125    
126                    if (classNameId != null) {
127                            setClassNameId(classNameId);
128                    }
129    
130                    String structureKey = (String)attributes.get("structureKey");
131    
132                    if (structureKey != null) {
133                            setStructureKey(structureKey);
134                    }
135    
136                    String name = (String)attributes.get("name");
137    
138                    if (name != null) {
139                            setName(name);
140                    }
141    
142                    String description = (String)attributes.get("description");
143    
144                    if (description != null) {
145                            setDescription(description);
146                    }
147    
148                    String xsd = (String)attributes.get("xsd");
149    
150                    if (xsd != null) {
151                            setXsd(xsd);
152                    }
153    
154                    String storageType = (String)attributes.get("storageType");
155    
156                    if (storageType != null) {
157                            setStorageType(storageType);
158                    }
159    
160                    Integer type = (Integer)attributes.get("type");
161    
162                    if (type != null) {
163                            setType(type);
164                    }
165            }
166    
167            /**
168            * Returns the primary key of this d d m structure.
169            *
170            * @return the primary key of this d d m structure
171            */
172            public long getPrimaryKey() {
173                    return _ddmStructure.getPrimaryKey();
174            }
175    
176            /**
177            * Sets the primary key of this d d m structure.
178            *
179            * @param primaryKey the primary key of this d d m structure
180            */
181            public void setPrimaryKey(long primaryKey) {
182                    _ddmStructure.setPrimaryKey(primaryKey);
183            }
184    
185            /**
186            * Returns the uuid of this d d m structure.
187            *
188            * @return the uuid of this d d m structure
189            */
190            public java.lang.String getUuid() {
191                    return _ddmStructure.getUuid();
192            }
193    
194            /**
195            * Sets the uuid of this d d m structure.
196            *
197            * @param uuid the uuid of this d d m structure
198            */
199            public void setUuid(java.lang.String uuid) {
200                    _ddmStructure.setUuid(uuid);
201            }
202    
203            /**
204            * Returns the structure ID of this d d m structure.
205            *
206            * @return the structure ID of this d d m structure
207            */
208            public long getStructureId() {
209                    return _ddmStructure.getStructureId();
210            }
211    
212            /**
213            * Sets the structure ID of this d d m structure.
214            *
215            * @param structureId the structure ID of this d d m structure
216            */
217            public void setStructureId(long structureId) {
218                    _ddmStructure.setStructureId(structureId);
219            }
220    
221            /**
222            * Returns the group ID of this d d m structure.
223            *
224            * @return the group ID of this d d m structure
225            */
226            public long getGroupId() {
227                    return _ddmStructure.getGroupId();
228            }
229    
230            /**
231            * Sets the group ID of this d d m structure.
232            *
233            * @param groupId the group ID of this d d m structure
234            */
235            public void setGroupId(long groupId) {
236                    _ddmStructure.setGroupId(groupId);
237            }
238    
239            /**
240            * Returns the company ID of this d d m structure.
241            *
242            * @return the company ID of this d d m structure
243            */
244            public long getCompanyId() {
245                    return _ddmStructure.getCompanyId();
246            }
247    
248            /**
249            * Sets the company ID of this d d m structure.
250            *
251            * @param companyId the company ID of this d d m structure
252            */
253            public void setCompanyId(long companyId) {
254                    _ddmStructure.setCompanyId(companyId);
255            }
256    
257            /**
258            * Returns the user ID of this d d m structure.
259            *
260            * @return the user ID of this d d m structure
261            */
262            public long getUserId() {
263                    return _ddmStructure.getUserId();
264            }
265    
266            /**
267            * Sets the user ID of this d d m structure.
268            *
269            * @param userId the user ID of this d d m structure
270            */
271            public void setUserId(long userId) {
272                    _ddmStructure.setUserId(userId);
273            }
274    
275            /**
276            * Returns the user uuid of this d d m structure.
277            *
278            * @return the user uuid of this d d m structure
279            * @throws SystemException if a system exception occurred
280            */
281            public java.lang.String getUserUuid()
282                    throws com.liferay.portal.kernel.exception.SystemException {
283                    return _ddmStructure.getUserUuid();
284            }
285    
286            /**
287            * Sets the user uuid of this d d m structure.
288            *
289            * @param userUuid the user uuid of this d d m structure
290            */
291            public void setUserUuid(java.lang.String userUuid) {
292                    _ddmStructure.setUserUuid(userUuid);
293            }
294    
295            /**
296            * Returns the user name of this d d m structure.
297            *
298            * @return the user name of this d d m structure
299            */
300            public java.lang.String getUserName() {
301                    return _ddmStructure.getUserName();
302            }
303    
304            /**
305            * Sets the user name of this d d m structure.
306            *
307            * @param userName the user name of this d d m structure
308            */
309            public void setUserName(java.lang.String userName) {
310                    _ddmStructure.setUserName(userName);
311            }
312    
313            /**
314            * Returns the create date of this d d m structure.
315            *
316            * @return the create date of this d d m structure
317            */
318            public java.util.Date getCreateDate() {
319                    return _ddmStructure.getCreateDate();
320            }
321    
322            /**
323            * Sets the create date of this d d m structure.
324            *
325            * @param createDate the create date of this d d m structure
326            */
327            public void setCreateDate(java.util.Date createDate) {
328                    _ddmStructure.setCreateDate(createDate);
329            }
330    
331            /**
332            * Returns the modified date of this d d m structure.
333            *
334            * @return the modified date of this d d m structure
335            */
336            public java.util.Date getModifiedDate() {
337                    return _ddmStructure.getModifiedDate();
338            }
339    
340            /**
341            * Sets the modified date of this d d m structure.
342            *
343            * @param modifiedDate the modified date of this d d m structure
344            */
345            public void setModifiedDate(java.util.Date modifiedDate) {
346                    _ddmStructure.setModifiedDate(modifiedDate);
347            }
348    
349            /**
350            * Returns the parent structure ID of this d d m structure.
351            *
352            * @return the parent structure ID of this d d m structure
353            */
354            public long getParentStructureId() {
355                    return _ddmStructure.getParentStructureId();
356            }
357    
358            /**
359            * Sets the parent structure ID of this d d m structure.
360            *
361            * @param parentStructureId the parent structure ID of this d d m structure
362            */
363            public void setParentStructureId(long parentStructureId) {
364                    _ddmStructure.setParentStructureId(parentStructureId);
365            }
366    
367            /**
368            * Returns the fully qualified class name of this d d m structure.
369            *
370            * @return the fully qualified class name of this d d m structure
371            */
372            public java.lang.String getClassName() {
373                    return _ddmStructure.getClassName();
374            }
375    
376            public void setClassName(java.lang.String className) {
377                    _ddmStructure.setClassName(className);
378            }
379    
380            /**
381            * Returns the class name ID of this d d m structure.
382            *
383            * @return the class name ID of this d d m structure
384            */
385            public long getClassNameId() {
386                    return _ddmStructure.getClassNameId();
387            }
388    
389            /**
390            * Sets the class name ID of this d d m structure.
391            *
392            * @param classNameId the class name ID of this d d m structure
393            */
394            public void setClassNameId(long classNameId) {
395                    _ddmStructure.setClassNameId(classNameId);
396            }
397    
398            /**
399            * Returns the structure key of this d d m structure.
400            *
401            * @return the structure key of this d d m structure
402            */
403            public java.lang.String getStructureKey() {
404                    return _ddmStructure.getStructureKey();
405            }
406    
407            /**
408            * Sets the structure key of this d d m structure.
409            *
410            * @param structureKey the structure key of this d d m structure
411            */
412            public void setStructureKey(java.lang.String structureKey) {
413                    _ddmStructure.setStructureKey(structureKey);
414            }
415    
416            /**
417            * Returns the name of this d d m structure.
418            *
419            * @return the name of this d d m structure
420            */
421            public java.lang.String getName() {
422                    return _ddmStructure.getName();
423            }
424    
425            /**
426            * Returns the localized name of this d d m structure in the language. Uses the default language if no localization exists for the requested language.
427            *
428            * @param locale the locale of the language
429            * @return the localized name of this d d m structure
430            */
431            public java.lang.String getName(java.util.Locale locale) {
432                    return _ddmStructure.getName(locale);
433            }
434    
435            /**
436            * Returns the localized name of this d d m structure in the language, optionally using the default language if no localization exists for the requested language.
437            *
438            * @param locale the local of the language
439            * @param useDefault whether to use the default language if no localization exists for the requested language
440            * @return the localized name of this d d m structure. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
441            */
442            public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
443                    return _ddmStructure.getName(locale, useDefault);
444            }
445    
446            /**
447            * Returns the localized name of this d d m structure in the language. Uses the default language if no localization exists for the requested language.
448            *
449            * @param languageId the ID of the language
450            * @return the localized name of this d d m structure
451            */
452            public java.lang.String getName(java.lang.String languageId) {
453                    return _ddmStructure.getName(languageId);
454            }
455    
456            /**
457            * Returns the localized name of this d d m structure in the language, optionally using the default language if no localization exists for the requested language.
458            *
459            * @param languageId the ID of the language
460            * @param useDefault whether to use the default language if no localization exists for the requested language
461            * @return the localized name of this d d m structure
462            */
463            public java.lang.String getName(java.lang.String languageId,
464                    boolean useDefault) {
465                    return _ddmStructure.getName(languageId, useDefault);
466            }
467    
468            public java.lang.String getNameCurrentLanguageId() {
469                    return _ddmStructure.getNameCurrentLanguageId();
470            }
471    
472            public java.lang.String getNameCurrentValue() {
473                    return _ddmStructure.getNameCurrentValue();
474            }
475    
476            /**
477            * Returns a map of the locales and localized names of this d d m structure.
478            *
479            * @return the locales and localized names of this d d m structure
480            */
481            public java.util.Map<java.util.Locale, java.lang.String> getNameMap() {
482                    return _ddmStructure.getNameMap();
483            }
484    
485            /**
486            * Sets the name of this d d m structure.
487            *
488            * @param name the name of this d d m structure
489            */
490            public void setName(java.lang.String name) {
491                    _ddmStructure.setName(name);
492            }
493    
494            /**
495            * Sets the localized name of this d d m structure in the language.
496            *
497            * @param name the localized name of this d d m structure
498            * @param locale the locale of the language
499            */
500            public void setName(java.lang.String name, java.util.Locale locale) {
501                    _ddmStructure.setName(name, locale);
502            }
503    
504            /**
505            * Sets the localized name of this d d m structure in the language, and sets the default locale.
506            *
507            * @param name the localized name of this d d m structure
508            * @param locale the locale of the language
509            * @param defaultLocale the default locale
510            */
511            public void setName(java.lang.String name, java.util.Locale locale,
512                    java.util.Locale defaultLocale) {
513                    _ddmStructure.setName(name, locale, defaultLocale);
514            }
515    
516            public void setNameCurrentLanguageId(java.lang.String languageId) {
517                    _ddmStructure.setNameCurrentLanguageId(languageId);
518            }
519    
520            /**
521            * Sets the localized names of this d d m structure from the map of locales and localized names.
522            *
523            * @param nameMap the locales and localized names of this d d m structure
524            */
525            public void setNameMap(
526                    java.util.Map<java.util.Locale, java.lang.String> nameMap) {
527                    _ddmStructure.setNameMap(nameMap);
528            }
529    
530            /**
531            * Sets the localized names of this d d m structure from the map of locales and localized names, and sets the default locale.
532            *
533            * @param nameMap the locales and localized names of this d d m structure
534            * @param defaultLocale the default locale
535            */
536            public void setNameMap(
537                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
538                    java.util.Locale defaultLocale) {
539                    _ddmStructure.setNameMap(nameMap, defaultLocale);
540            }
541    
542            /**
543            * Returns the description of this d d m structure.
544            *
545            * @return the description of this d d m structure
546            */
547            public java.lang.String getDescription() {
548                    return _ddmStructure.getDescription();
549            }
550    
551            /**
552            * Returns the localized description of this d d m structure in the language. Uses the default language if no localization exists for the requested language.
553            *
554            * @param locale the locale of the language
555            * @return the localized description of this d d m structure
556            */
557            public java.lang.String getDescription(java.util.Locale locale) {
558                    return _ddmStructure.getDescription(locale);
559            }
560    
561            /**
562            * Returns the localized description of this d d m structure in the language, optionally using the default language if no localization exists for the requested language.
563            *
564            * @param locale the local of the language
565            * @param useDefault whether to use the default language if no localization exists for the requested language
566            * @return the localized description of this d d m structure. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
567            */
568            public java.lang.String getDescription(java.util.Locale locale,
569                    boolean useDefault) {
570                    return _ddmStructure.getDescription(locale, useDefault);
571            }
572    
573            /**
574            * Returns the localized description of this d d m structure in the language. Uses the default language if no localization exists for the requested language.
575            *
576            * @param languageId the ID of the language
577            * @return the localized description of this d d m structure
578            */
579            public java.lang.String getDescription(java.lang.String languageId) {
580                    return _ddmStructure.getDescription(languageId);
581            }
582    
583            /**
584            * Returns the localized description of this d d m structure in the language, optionally using the default language if no localization exists for the requested language.
585            *
586            * @param languageId the ID of the language
587            * @param useDefault whether to use the default language if no localization exists for the requested language
588            * @return the localized description of this d d m structure
589            */
590            public java.lang.String getDescription(java.lang.String languageId,
591                    boolean useDefault) {
592                    return _ddmStructure.getDescription(languageId, useDefault);
593            }
594    
595            public java.lang.String getDescriptionCurrentLanguageId() {
596                    return _ddmStructure.getDescriptionCurrentLanguageId();
597            }
598    
599            public java.lang.String getDescriptionCurrentValue() {
600                    return _ddmStructure.getDescriptionCurrentValue();
601            }
602    
603            /**
604            * Returns a map of the locales and localized descriptions of this d d m structure.
605            *
606            * @return the locales and localized descriptions of this d d m structure
607            */
608            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
609                    return _ddmStructure.getDescriptionMap();
610            }
611    
612            /**
613            * Sets the description of this d d m structure.
614            *
615            * @param description the description of this d d m structure
616            */
617            public void setDescription(java.lang.String description) {
618                    _ddmStructure.setDescription(description);
619            }
620    
621            /**
622            * Sets the localized description of this d d m structure in the language.
623            *
624            * @param description the localized description of this d d m structure
625            * @param locale the locale of the language
626            */
627            public void setDescription(java.lang.String description,
628                    java.util.Locale locale) {
629                    _ddmStructure.setDescription(description, locale);
630            }
631    
632            /**
633            * Sets the localized description of this d d m structure in the language, and sets the default locale.
634            *
635            * @param description the localized description of this d d m structure
636            * @param locale the locale of the language
637            * @param defaultLocale the default locale
638            */
639            public void setDescription(java.lang.String description,
640                    java.util.Locale locale, java.util.Locale defaultLocale) {
641                    _ddmStructure.setDescription(description, locale, defaultLocale);
642            }
643    
644            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
645                    _ddmStructure.setDescriptionCurrentLanguageId(languageId);
646            }
647    
648            /**
649            * Sets the localized descriptions of this d d m structure from the map of locales and localized descriptions.
650            *
651            * @param descriptionMap the locales and localized descriptions of this d d m structure
652            */
653            public void setDescriptionMap(
654                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
655                    _ddmStructure.setDescriptionMap(descriptionMap);
656            }
657    
658            /**
659            * Sets the localized descriptions of this d d m structure from the map of locales and localized descriptions, and sets the default locale.
660            *
661            * @param descriptionMap the locales and localized descriptions of this d d m structure
662            * @param defaultLocale the default locale
663            */
664            public void setDescriptionMap(
665                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
666                    java.util.Locale defaultLocale) {
667                    _ddmStructure.setDescriptionMap(descriptionMap, defaultLocale);
668            }
669    
670            /**
671            * Returns the xsd of this d d m structure.
672            *
673            * @return the xsd of this d d m structure
674            */
675            public java.lang.String getXsd() {
676                    return _ddmStructure.getXsd();
677            }
678    
679            /**
680            * Sets the xsd of this d d m structure.
681            *
682            * @param xsd the xsd of this d d m structure
683            */
684            public void setXsd(java.lang.String xsd) {
685                    _ddmStructure.setXsd(xsd);
686            }
687    
688            /**
689            * Returns the storage type of this d d m structure.
690            *
691            * @return the storage type of this d d m structure
692            */
693            public java.lang.String getStorageType() {
694                    return _ddmStructure.getStorageType();
695            }
696    
697            /**
698            * Sets the storage type of this d d m structure.
699            *
700            * @param storageType the storage type of this d d m structure
701            */
702            public void setStorageType(java.lang.String storageType) {
703                    _ddmStructure.setStorageType(storageType);
704            }
705    
706            /**
707            * Returns the type of this d d m structure.
708            *
709            * @return the type of this d d m structure
710            */
711            public int getType() {
712                    return _ddmStructure.getType();
713            }
714    
715            /**
716            * Sets the type of this d d m structure.
717            *
718            * @param type the type of this d d m structure
719            */
720            public void setType(int type) {
721                    _ddmStructure.setType(type);
722            }
723    
724            public boolean isNew() {
725                    return _ddmStructure.isNew();
726            }
727    
728            public void setNew(boolean n) {
729                    _ddmStructure.setNew(n);
730            }
731    
732            public boolean isCachedModel() {
733                    return _ddmStructure.isCachedModel();
734            }
735    
736            public void setCachedModel(boolean cachedModel) {
737                    _ddmStructure.setCachedModel(cachedModel);
738            }
739    
740            public boolean isEscapedModel() {
741                    return _ddmStructure.isEscapedModel();
742            }
743    
744            public java.io.Serializable getPrimaryKeyObj() {
745                    return _ddmStructure.getPrimaryKeyObj();
746            }
747    
748            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
749                    _ddmStructure.setPrimaryKeyObj(primaryKeyObj);
750            }
751    
752            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
753                    return _ddmStructure.getExpandoBridge();
754            }
755    
756            public void setExpandoBridgeAttributes(
757                    com.liferay.portal.model.BaseModel<?> baseModel) {
758                    _ddmStructure.setExpandoBridgeAttributes(baseModel);
759            }
760    
761            public void setExpandoBridgeAttributes(
762                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
763                    _ddmStructure.setExpandoBridgeAttributes(expandoBridge);
764            }
765    
766            public void setExpandoBridgeAttributes(
767                    com.liferay.portal.service.ServiceContext serviceContext) {
768                    _ddmStructure.setExpandoBridgeAttributes(serviceContext);
769            }
770    
771            public void prepareLocalizedFieldsForImport(
772                    java.util.Locale defaultImportLocale)
773                    throws com.liferay.portal.LocaleException {
774                    _ddmStructure.prepareLocalizedFieldsForImport(defaultImportLocale);
775            }
776    
777            @Override
778            public java.lang.Object clone() {
779                    return new DDMStructureWrapper((DDMStructure)_ddmStructure.clone());
780            }
781    
782            public int compareTo(
783                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure) {
784                    return _ddmStructure.compareTo(ddmStructure);
785            }
786    
787            @Override
788            public int hashCode() {
789                    return _ddmStructure.hashCode();
790            }
791    
792            public com.liferay.portal.model.CacheModel<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> toCacheModel() {
793                    return _ddmStructure.toCacheModel();
794            }
795    
796            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure toEscapedModel() {
797                    return new DDMStructureWrapper(_ddmStructure.toEscapedModel());
798            }
799    
800            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure toUnescapedModel() {
801                    return new DDMStructureWrapper(_ddmStructure.toUnescapedModel());
802            }
803    
804            @Override
805            public java.lang.String toString() {
806                    return _ddmStructure.toString();
807            }
808    
809            public java.lang.String toXmlString() {
810                    return _ddmStructure.toXmlString();
811            }
812    
813            public void persist()
814                    throws com.liferay.portal.kernel.exception.SystemException {
815                    _ddmStructure.persist();
816            }
817    
818            public java.util.List<java.lang.String> getAvailableLanguageIds() {
819                    return _ddmStructure.getAvailableLanguageIds();
820            }
821    
822            public java.util.List<java.lang.String> getChildrenFieldNames(
823                    java.lang.String fieldName)
824                    throws com.liferay.portal.kernel.exception.PortalException,
825                            com.liferay.portal.kernel.exception.SystemException {
826                    return _ddmStructure.getChildrenFieldNames(fieldName);
827            }
828    
829            public java.lang.String getCompleteXsd()
830                    throws com.liferay.portal.kernel.exception.PortalException,
831                            com.liferay.portal.kernel.exception.SystemException {
832                    return _ddmStructure.getCompleteXsd();
833            }
834    
835            public java.lang.String getDefaultLanguageId() {
836                    return _ddmStructure.getDefaultLanguageId();
837            }
838    
839            public com.liferay.portal.kernel.xml.Document getDocument() {
840                    return _ddmStructure.getDocument();
841            }
842    
843            public java.lang.String getFieldDataType(java.lang.String fieldName)
844                    throws com.liferay.portal.kernel.exception.PortalException,
845                            com.liferay.portal.kernel.exception.SystemException {
846                    return _ddmStructure.getFieldDataType(fieldName);
847            }
848    
849            public java.lang.String getFieldLabel(java.lang.String fieldName,
850                    java.util.Locale locale)
851                    throws com.liferay.portal.kernel.exception.PortalException,
852                            com.liferay.portal.kernel.exception.SystemException {
853                    return _ddmStructure.getFieldLabel(fieldName, locale);
854            }
855    
856            public java.lang.String getFieldLabel(java.lang.String fieldName,
857                    java.lang.String locale)
858                    throws com.liferay.portal.kernel.exception.PortalException,
859                            com.liferay.portal.kernel.exception.SystemException {
860                    return _ddmStructure.getFieldLabel(fieldName, locale);
861            }
862    
863            public java.util.Set<java.lang.String> getFieldNames()
864                    throws com.liferay.portal.kernel.exception.PortalException,
865                            com.liferay.portal.kernel.exception.SystemException {
866                    return _ddmStructure.getFieldNames();
867            }
868    
869            public java.lang.String getFieldProperty(java.lang.String fieldName,
870                    java.lang.String property)
871                    throws com.liferay.portal.kernel.exception.PortalException,
872                            com.liferay.portal.kernel.exception.SystemException {
873                    return _ddmStructure.getFieldProperty(fieldName, property);
874            }
875    
876            public java.lang.String getFieldProperty(java.lang.String fieldName,
877                    java.lang.String property, java.lang.String locale)
878                    throws com.liferay.portal.kernel.exception.PortalException,
879                            com.liferay.portal.kernel.exception.SystemException {
880                    return _ddmStructure.getFieldProperty(fieldName, property, locale);
881            }
882    
883            public boolean getFieldRepeatable(java.lang.String fieldName)
884                    throws com.liferay.portal.kernel.exception.PortalException,
885                            com.liferay.portal.kernel.exception.SystemException {
886                    return _ddmStructure.getFieldRepeatable(fieldName);
887            }
888    
889            public boolean getFieldRequired(java.lang.String fieldName)
890                    throws com.liferay.portal.kernel.exception.PortalException,
891                            com.liferay.portal.kernel.exception.SystemException {
892                    return _ddmStructure.getFieldRequired(fieldName);
893            }
894    
895            public java.util.Map<java.lang.String, java.lang.String> getFields(
896                    java.lang.String fieldName, java.lang.String attributeName,
897                    java.lang.String attributeValue) {
898                    return _ddmStructure.getFields(fieldName, attributeName, attributeValue);
899            }
900    
901            public java.util.Map<java.lang.String, java.lang.String> getFields(
902                    java.lang.String fieldName, java.lang.String attributeName,
903                    java.lang.String attributeValue, java.lang.String locale) {
904                    return _ddmStructure.getFields(fieldName, attributeName,
905                            attributeValue, locale);
906            }
907    
908            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap()
909                    throws com.liferay.portal.kernel.exception.PortalException,
910                            com.liferay.portal.kernel.exception.SystemException {
911                    return _ddmStructure.getFieldsMap();
912            }
913    
914            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap(
915                    java.lang.String locale)
916                    throws com.liferay.portal.kernel.exception.PortalException,
917                            com.liferay.portal.kernel.exception.SystemException {
918                    return _ddmStructure.getFieldsMap(locale);
919            }
920    
921            public java.lang.String getFieldTip(java.lang.String fieldName,
922                    java.util.Locale locale)
923                    throws com.liferay.portal.kernel.exception.PortalException,
924                            com.liferay.portal.kernel.exception.SystemException {
925                    return _ddmStructure.getFieldTip(fieldName, locale);
926            }
927    
928            public java.lang.String getFieldTip(java.lang.String fieldName,
929                    java.lang.String locale)
930                    throws com.liferay.portal.kernel.exception.PortalException,
931                            com.liferay.portal.kernel.exception.SystemException {
932                    return _ddmStructure.getFieldTip(fieldName, locale);
933            }
934    
935            public java.lang.String getFieldType(java.lang.String fieldName)
936                    throws com.liferay.portal.kernel.exception.PortalException,
937                            com.liferay.portal.kernel.exception.SystemException {
938                    return _ddmStructure.getFieldType(fieldName);
939            }
940    
941            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> getLocalizedFieldsMap() {
942                    return _ddmStructure.getLocalizedFieldsMap();
943            }
944    
945            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> getLocalizedTransientFieldsMap() {
946                    return _ddmStructure.getLocalizedTransientFieldsMap();
947            }
948    
949            public java.util.List<java.lang.String> getRootFieldNames()
950                    throws com.liferay.portal.kernel.exception.PortalException,
951                            com.liferay.portal.kernel.exception.SystemException {
952                    return _ddmStructure.getRootFieldNames();
953            }
954    
955            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getTemplates()
956                    throws com.liferay.portal.kernel.exception.SystemException {
957                    return _ddmStructure.getTemplates();
958            }
959    
960            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getTransientFieldsMap(
961                    java.lang.String locale)
962                    throws com.liferay.portal.kernel.exception.PortalException,
963                            com.liferay.portal.kernel.exception.SystemException {
964                    return _ddmStructure.getTransientFieldsMap(locale);
965            }
966    
967            /**
968            * Returns the WebDAV URL to access the structure.
969            *
970            * @param themeDisplay the theme display needed to build the URL. It can
971            set HTTPS access, the server name, the server port, the path
972            context, and the scope group.
973            * @param webDAVToken the WebDAV token for the URL
974            * @return the WebDAV URL
975            */
976            public java.lang.String getWebDavURL(
977                    com.liferay.portal.theme.ThemeDisplay themeDisplay,
978                    java.lang.String webDAVToken) {
979                    return _ddmStructure.getWebDavURL(themeDisplay, webDAVToken);
980            }
981    
982            public boolean hasField(java.lang.String fieldName)
983                    throws com.liferay.portal.kernel.exception.PortalException,
984                            com.liferay.portal.kernel.exception.SystemException {
985                    return _ddmStructure.hasField(fieldName);
986            }
987    
988            public boolean isFieldPrivate(java.lang.String fieldName)
989                    throws com.liferay.portal.kernel.exception.PortalException,
990                            com.liferay.portal.kernel.exception.SystemException {
991                    return _ddmStructure.isFieldPrivate(fieldName);
992            }
993    
994            public boolean isFieldRepeatable(java.lang.String fieldName)
995                    throws com.liferay.portal.kernel.exception.PortalException,
996                            com.liferay.portal.kernel.exception.SystemException {
997                    return _ddmStructure.isFieldRepeatable(fieldName);
998            }
999    
1000            public void setDocument(com.liferay.portal.kernel.xml.Document document) {
1001                    _ddmStructure.setDocument(document);
1002            }
1003    
1004            public void setLocalizedFieldsMap(
1005                    java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> localizedFieldsMap) {
1006                    _ddmStructure.setLocalizedFieldsMap(localizedFieldsMap);
1007            }
1008    
1009            public void setLocalizedTransientFieldsMap(
1010                    java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> localizedTransientFieldsMap) {
1011                    _ddmStructure.setLocalizedTransientFieldsMap(localizedTransientFieldsMap);
1012            }
1013    
1014            /**
1015             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
1016             */
1017            public DDMStructure getWrappedDDMStructure() {
1018                    return _ddmStructure;
1019            }
1020    
1021            public DDMStructure getWrappedModel() {
1022                    return _ddmStructure;
1023            }
1024    
1025            public void resetOriginalValues() {
1026                    _ddmStructure.resetOriginalValues();
1027            }
1028    
1029            private DDMStructure _ddmStructure;
1030    }