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.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.util.Validator;
020    
021    import java.util.HashMap;
022    import java.util.Map;
023    
024    /**
025     * <p>
026     * This class is a wrapper for {@link Group}.
027     * </p>
028     *
029     * @author Brian Wing Shun Chan
030     * @see Group
031     * @generated
032     */
033    @ProviderType
034    public class GroupWrapper implements Group, ModelWrapper<Group> {
035            public GroupWrapper(Group group) {
036                    _group = group;
037            }
038    
039            @Override
040            public Class<?> getModelClass() {
041                    return Group.class;
042            }
043    
044            @Override
045            public String getModelClassName() {
046                    return Group.class.getName();
047            }
048    
049            @Override
050            public Map<String, Object> getModelAttributes() {
051                    Map<String, Object> attributes = new HashMap<String, Object>();
052    
053                    attributes.put("mvccVersion", getMvccVersion());
054                    attributes.put("uuid", getUuid());
055                    attributes.put("groupId", getGroupId());
056                    attributes.put("companyId", getCompanyId());
057                    attributes.put("creatorUserId", getCreatorUserId());
058                    attributes.put("classNameId", getClassNameId());
059                    attributes.put("classPK", getClassPK());
060                    attributes.put("parentGroupId", getParentGroupId());
061                    attributes.put("liveGroupId", getLiveGroupId());
062                    attributes.put("treePath", getTreePath());
063                    attributes.put("name", getName());
064                    attributes.put("description", getDescription());
065                    attributes.put("type", getType());
066                    attributes.put("typeSettings", getTypeSettings());
067                    attributes.put("manualMembership", getManualMembership());
068                    attributes.put("membershipRestriction", getMembershipRestriction());
069                    attributes.put("friendlyURL", getFriendlyURL());
070                    attributes.put("site", getSite());
071                    attributes.put("remoteStagingGroupCount", getRemoteStagingGroupCount());
072                    attributes.put("inheritContent", getInheritContent());
073                    attributes.put("active", getActive());
074    
075                    return attributes;
076            }
077    
078            @Override
079            public void setModelAttributes(Map<String, Object> attributes) {
080                    Long mvccVersion = (Long)attributes.get("mvccVersion");
081    
082                    if (mvccVersion != null) {
083                            setMvccVersion(mvccVersion);
084                    }
085    
086                    String uuid = (String)attributes.get("uuid");
087    
088                    if (uuid != null) {
089                            setUuid(uuid);
090                    }
091    
092                    Long groupId = (Long)attributes.get("groupId");
093    
094                    if (groupId != null) {
095                            setGroupId(groupId);
096                    }
097    
098                    Long companyId = (Long)attributes.get("companyId");
099    
100                    if (companyId != null) {
101                            setCompanyId(companyId);
102                    }
103    
104                    Long creatorUserId = (Long)attributes.get("creatorUserId");
105    
106                    if (creatorUserId != null) {
107                            setCreatorUserId(creatorUserId);
108                    }
109    
110                    Long classNameId = (Long)attributes.get("classNameId");
111    
112                    if (classNameId != null) {
113                            setClassNameId(classNameId);
114                    }
115    
116                    Long classPK = (Long)attributes.get("classPK");
117    
118                    if (classPK != null) {
119                            setClassPK(classPK);
120                    }
121    
122                    Long parentGroupId = (Long)attributes.get("parentGroupId");
123    
124                    if (parentGroupId != null) {
125                            setParentGroupId(parentGroupId);
126                    }
127    
128                    Long liveGroupId = (Long)attributes.get("liveGroupId");
129    
130                    if (liveGroupId != null) {
131                            setLiveGroupId(liveGroupId);
132                    }
133    
134                    String treePath = (String)attributes.get("treePath");
135    
136                    if (treePath != null) {
137                            setTreePath(treePath);
138                    }
139    
140                    String name = (String)attributes.get("name");
141    
142                    if (name != null) {
143                            setName(name);
144                    }
145    
146                    String description = (String)attributes.get("description");
147    
148                    if (description != null) {
149                            setDescription(description);
150                    }
151    
152                    Integer type = (Integer)attributes.get("type");
153    
154                    if (type != null) {
155                            setType(type);
156                    }
157    
158                    String typeSettings = (String)attributes.get("typeSettings");
159    
160                    if (typeSettings != null) {
161                            setTypeSettings(typeSettings);
162                    }
163    
164                    Boolean manualMembership = (Boolean)attributes.get("manualMembership");
165    
166                    if (manualMembership != null) {
167                            setManualMembership(manualMembership);
168                    }
169    
170                    Integer membershipRestriction = (Integer)attributes.get(
171                                    "membershipRestriction");
172    
173                    if (membershipRestriction != null) {
174                            setMembershipRestriction(membershipRestriction);
175                    }
176    
177                    String friendlyURL = (String)attributes.get("friendlyURL");
178    
179                    if (friendlyURL != null) {
180                            setFriendlyURL(friendlyURL);
181                    }
182    
183                    Boolean site = (Boolean)attributes.get("site");
184    
185                    if (site != null) {
186                            setSite(site);
187                    }
188    
189                    Integer remoteStagingGroupCount = (Integer)attributes.get(
190                                    "remoteStagingGroupCount");
191    
192                    if (remoteStagingGroupCount != null) {
193                            setRemoteStagingGroupCount(remoteStagingGroupCount);
194                    }
195    
196                    Boolean inheritContent = (Boolean)attributes.get("inheritContent");
197    
198                    if (inheritContent != null) {
199                            setInheritContent(inheritContent);
200                    }
201    
202                    Boolean active = (Boolean)attributes.get("active");
203    
204                    if (active != null) {
205                            setActive(active);
206                    }
207            }
208    
209            @Override
210            public java.lang.String buildTreePath()
211                    throws com.liferay.portal.kernel.exception.PortalException {
212                    return _group.buildTreePath();
213            }
214    
215            @Override
216            public void clearStagingGroup() {
217                    _group.clearStagingGroup();
218            }
219    
220            @Override
221            public java.lang.Object clone() {
222                    return new GroupWrapper((Group)_group.clone());
223            }
224    
225            @Override
226            public int compareTo(com.liferay.portal.model.Group group) {
227                    return _group.compareTo(group);
228            }
229    
230            /**
231            * Returns the active of this group.
232            *
233            * @return the active of this group
234            */
235            @Override
236            public boolean getActive() {
237                    return _group.getActive();
238            }
239    
240            @Override
241            public java.util.List<com.liferay.portal.model.Group> getAncestors()
242                    throws com.liferay.portal.kernel.exception.PortalException {
243                    return _group.getAncestors();
244            }
245    
246            @Override
247            public java.util.List<com.liferay.portal.model.Group> getChildren(
248                    boolean site) {
249                    return _group.getChildren(site);
250            }
251    
252            /**
253            * @deprecated As of 7.0.0, replaced by {@link
254            #getChildrenWithLayouts(boolean, int, int, OrderByComparator}
255            */
256            @Deprecated
257            @Override
258            public java.util.List<com.liferay.portal.model.Group> getChildrenWithLayouts(
259                    boolean site, int start, int end) {
260                    return _group.getChildrenWithLayouts(site, start, end);
261            }
262    
263            @Override
264            public java.util.List<com.liferay.portal.model.Group> getChildrenWithLayouts(
265                    boolean site, int start, int end,
266                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Group> obc) {
267                    return _group.getChildrenWithLayouts(site, start, end, obc);
268            }
269    
270            @Override
271            public int getChildrenWithLayoutsCount(boolean site) {
272                    return _group.getChildrenWithLayoutsCount(site);
273            }
274    
275            /**
276            * Returns the fully qualified class name of this group.
277            *
278            * @return the fully qualified class name of this group
279            */
280            @Override
281            public java.lang.String getClassName() {
282                    return _group.getClassName();
283            }
284    
285            /**
286            * Returns the class name ID of this group.
287            *
288            * @return the class name ID of this group
289            */
290            @Override
291            public long getClassNameId() {
292                    return _group.getClassNameId();
293            }
294    
295            /**
296            * Returns the class p k of this group.
297            *
298            * @return the class p k of this group
299            */
300            @Override
301            public long getClassPK() {
302                    return _group.getClassPK();
303            }
304    
305            /**
306            * Returns the company ID of this group.
307            *
308            * @return the company ID of this group
309            */
310            @Override
311            public long getCompanyId() {
312                    return _group.getCompanyId();
313            }
314    
315            /**
316            * Returns the creator user ID of this group.
317            *
318            * @return the creator user ID of this group
319            */
320            @Override
321            public long getCreatorUserId() {
322                    return _group.getCreatorUserId();
323            }
324    
325            /**
326            * Returns the creator user uuid of this group.
327            *
328            * @return the creator user uuid of this group
329            */
330            @Override
331            public java.lang.String getCreatorUserUuid() {
332                    return _group.getCreatorUserUuid();
333            }
334    
335            @Override
336            public long getDefaultPrivatePlid() {
337                    return _group.getDefaultPrivatePlid();
338            }
339    
340            @Override
341            public long getDefaultPublicPlid() {
342                    return _group.getDefaultPublicPlid();
343            }
344    
345            @Override
346            public java.util.List<com.liferay.portal.model.Group> getDescendants(
347                    boolean site) {
348                    return _group.getDescendants(site);
349            }
350    
351            /**
352            * Returns the description of this group.
353            *
354            * @return the description of this group
355            */
356            @Override
357            public java.lang.String getDescription() {
358                    return _group.getDescription();
359            }
360    
361            @Override
362            public java.lang.String getDescriptiveName()
363                    throws com.liferay.portal.kernel.exception.PortalException {
364                    return _group.getDescriptiveName();
365            }
366    
367            @Override
368            public java.lang.String getDescriptiveName(java.util.Locale locale)
369                    throws com.liferay.portal.kernel.exception.PortalException {
370                    return _group.getDescriptiveName(locale);
371            }
372    
373            @Override
374            public java.lang.String getDisplayURL(
375                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
376                    return _group.getDisplayURL(themeDisplay);
377            }
378    
379            @Override
380            public java.lang.String getDisplayURL(
381                    com.liferay.portal.theme.ThemeDisplay themeDisplay,
382                    boolean privateLayout) {
383                    return _group.getDisplayURL(themeDisplay, privateLayout);
384            }
385    
386            @Override
387            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
388                    return _group.getExpandoBridge();
389            }
390    
391            /**
392            * Returns the friendly u r l of this group.
393            *
394            * @return the friendly u r l of this group
395            */
396            @Override
397            public java.lang.String getFriendlyURL() {
398                    return _group.getFriendlyURL();
399            }
400    
401            /**
402            * Returns the group ID of this group.
403            *
404            * @return the group ID of this group
405            */
406            @Override
407            public long getGroupId() {
408                    return _group.getGroupId();
409            }
410    
411            @Override
412            public java.lang.String getIconCssClass() {
413                    return _group.getIconCssClass();
414            }
415    
416            @Override
417            public java.lang.String getIconURL(
418                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
419                    return _group.getIconURL(themeDisplay);
420            }
421    
422            /**
423            * Returns the inherit content of this group.
424            *
425            * @return the inherit content of this group
426            */
427            @Override
428            public boolean getInheritContent() {
429                    return _group.getInheritContent();
430            }
431    
432            @Override
433            public java.lang.String getLayoutRootNodeName(boolean privateLayout,
434                    java.util.Locale locale) {
435                    return _group.getLayoutRootNodeName(privateLayout, locale);
436            }
437    
438            @Override
439            public com.liferay.portal.model.Group getLiveGroup() {
440                    return _group.getLiveGroup();
441            }
442    
443            /**
444            * Returns the live group ID of this group.
445            *
446            * @return the live group ID of this group
447            */
448            @Override
449            public long getLiveGroupId() {
450                    return _group.getLiveGroupId();
451            }
452    
453            @Override
454            public java.lang.String getLiveParentTypeSettingsProperty(
455                    java.lang.String key) {
456                    return _group.getLiveParentTypeSettingsProperty(key);
457            }
458    
459            /**
460            * Returns the manual membership of this group.
461            *
462            * @return the manual membership of this group
463            */
464            @Override
465            public boolean getManualMembership() {
466                    return _group.getManualMembership();
467            }
468    
469            /**
470            * Returns the membership restriction of this group.
471            *
472            * @return the membership restriction of this group
473            */
474            @Override
475            public int getMembershipRestriction() {
476                    return _group.getMembershipRestriction();
477            }
478    
479            /**
480            * Returns the mvcc version of this group.
481            *
482            * @return the mvcc version of this group
483            */
484            @Override
485            public long getMvccVersion() {
486                    return _group.getMvccVersion();
487            }
488    
489            /**
490            * Returns the name of this group.
491            *
492            * @return the name of this group
493            */
494            @Override
495            public java.lang.String getName() {
496                    return _group.getName();
497            }
498    
499            @Override
500            public long getOrganizationId() {
501                    return _group.getOrganizationId();
502            }
503    
504            @Override
505            public com.liferay.portal.model.Group getParentGroup()
506                    throws com.liferay.portal.kernel.exception.PortalException {
507                    return _group.getParentGroup();
508            }
509    
510            /**
511            * Returns the parent group ID of this group.
512            *
513            * @return the parent group ID of this group
514            */
515            @Override
516            public long getParentGroupId() {
517                    return _group.getParentGroupId();
518            }
519    
520            @Override
521            public com.liferay.portal.kernel.util.UnicodeProperties getParentLiveGroupTypeSettingsProperties() {
522                    return _group.getParentLiveGroupTypeSettingsProperties();
523            }
524    
525            @Override
526            public java.lang.String getPathFriendlyURL(boolean privateLayout,
527                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
528                    return _group.getPathFriendlyURL(privateLayout, themeDisplay);
529            }
530    
531            /**
532            * Returns the primary key of this group.
533            *
534            * @return the primary key of this group
535            */
536            @Override
537            public long getPrimaryKey() {
538                    return _group.getPrimaryKey();
539            }
540    
541            @Override
542            public java.io.Serializable getPrimaryKeyObj() {
543                    return _group.getPrimaryKeyObj();
544            }
545    
546            @Override
547            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet() {
548                    return _group.getPrivateLayoutSet();
549            }
550    
551            @Override
552            public int getPrivateLayoutsPageCount() {
553                    return _group.getPrivateLayoutsPageCount();
554            }
555    
556            @Override
557            public com.liferay.portal.model.LayoutSet getPublicLayoutSet() {
558                    return _group.getPublicLayoutSet();
559            }
560    
561            @Override
562            public int getPublicLayoutsPageCount() {
563                    return _group.getPublicLayoutsPageCount();
564            }
565    
566            @Override
567            public long getRemoteLiveGroupId() {
568                    return _group.getRemoteLiveGroupId();
569            }
570    
571            /**
572            * Returns the remote staging group count of this group.
573            *
574            * @return the remote staging group count of this group
575            */
576            @Override
577            public int getRemoteStagingGroupCount() {
578                    return _group.getRemoteStagingGroupCount();
579            }
580    
581            @Override
582            public java.lang.String getScopeDescriptiveName(
583                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
584                    throws com.liferay.portal.kernel.exception.PortalException {
585                    return _group.getScopeDescriptiveName(themeDisplay);
586            }
587    
588            @Override
589            public java.lang.String getScopeLabel(
590                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
591                    return _group.getScopeLabel(themeDisplay);
592            }
593    
594            /**
595            * Returns the site of this group.
596            *
597            * @return the site of this group
598            */
599            @Override
600            public boolean getSite() {
601                    return _group.getSite();
602            }
603    
604            @Override
605            public com.liferay.portal.model.Group getStagingGroup() {
606                    return _group.getStagingGroup();
607            }
608    
609            /**
610            * Returns the tree path of this group.
611            *
612            * @return the tree path of this group
613            */
614            @Override
615            public java.lang.String getTreePath() {
616                    return _group.getTreePath();
617            }
618    
619            /**
620            * Returns the type of this group.
621            *
622            * @return the type of this group
623            */
624            @Override
625            public int getType() {
626                    return _group.getType();
627            }
628    
629            @Override
630            public java.lang.String getTypeLabel() {
631                    return _group.getTypeLabel();
632            }
633    
634            /**
635            * Returns the type settings of this group.
636            *
637            * @return the type settings of this group
638            */
639            @Override
640            public java.lang.String getTypeSettings() {
641                    return _group.getTypeSettings();
642            }
643    
644            @Override
645            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
646                    return _group.getTypeSettingsProperties();
647            }
648    
649            @Override
650            public java.lang.String getTypeSettingsProperty(java.lang.String key) {
651                    return _group.getTypeSettingsProperty(key);
652            }
653    
654            @Override
655            public java.lang.String getUnambiguousName(java.lang.String name,
656                    java.util.Locale locale) {
657                    return _group.getUnambiguousName(name, locale);
658            }
659    
660            /**
661            * Returns the uuid of this group.
662            *
663            * @return the uuid of this group
664            */
665            @Override
666            public java.lang.String getUuid() {
667                    return _group.getUuid();
668            }
669    
670            @Override
671            public boolean hasAncestor(long groupId) {
672                    return _group.hasAncestor(groupId);
673            }
674    
675            @Override
676            public boolean hasLocalOrRemoteStagingGroup() {
677                    return _group.hasLocalOrRemoteStagingGroup();
678            }
679    
680            @Override
681            public boolean hasPrivateLayouts() {
682                    return _group.hasPrivateLayouts();
683            }
684    
685            @Override
686            public boolean hasPublicLayouts() {
687                    return _group.hasPublicLayouts();
688            }
689    
690            @Override
691            public boolean hasRemoteStagingGroup() {
692                    return _group.hasRemoteStagingGroup();
693            }
694    
695            @Override
696            public boolean hasStagingGroup() {
697                    return _group.hasStagingGroup();
698            }
699    
700            @Override
701            public int hashCode() {
702                    return _group.hashCode();
703            }
704    
705            /**
706            * Returns <code>true</code> if this group is active.
707            *
708            * @return <code>true</code> if this group is active; <code>false</code> otherwise
709            */
710            @Override
711            public boolean isActive() {
712                    return _group.isActive();
713            }
714    
715            @Override
716            public boolean isCachedModel() {
717                    return _group.isCachedModel();
718            }
719    
720            /**
721            * @deprecated As of 7.0.0, replaced by {@link #hasAncestor}
722            */
723            @Deprecated
724            @Override
725            public boolean isChild(long groupId) {
726                    return _group.isChild(groupId);
727            }
728    
729            /**
730            * @deprecated As of 6.1.0, renamed to {@link #isRegularSite}
731            */
732            @Deprecated
733            @Override
734            public boolean isCommunity() {
735                    return _group.isCommunity();
736            }
737    
738            @Override
739            public boolean isCompany() {
740                    return _group.isCompany();
741            }
742    
743            @Override
744            public boolean isCompanyStagingGroup() {
745                    return _group.isCompanyStagingGroup();
746            }
747    
748            @Override
749            public boolean isControlPanel() {
750                    return _group.isControlPanel();
751            }
752    
753            @Override
754            public boolean isEscapedModel() {
755                    return _group.isEscapedModel();
756            }
757    
758            @Override
759            public boolean isGuest() {
760                    return _group.isGuest();
761            }
762    
763            @Override
764            public boolean isInStagingPortlet(java.lang.String portletId) {
765                    return _group.isInStagingPortlet(portletId);
766            }
767    
768            /**
769            * Returns <code>true</code> if this group is inherit content.
770            *
771            * @return <code>true</code> if this group is inherit content; <code>false</code> otherwise
772            */
773            @Override
774            public boolean isInheritContent() {
775                    return _group.isInheritContent();
776            }
777    
778            @Override
779            public boolean isLayout() {
780                    return _group.isLayout();
781            }
782    
783            @Override
784            public boolean isLayoutPrototype() {
785                    return _group.isLayoutPrototype();
786            }
787    
788            @Override
789            public boolean isLayoutSetPrototype() {
790                    return _group.isLayoutSetPrototype();
791            }
792    
793            @Override
794            public boolean isLimitedToParentSiteMembers() {
795                    return _group.isLimitedToParentSiteMembers();
796            }
797    
798            /**
799            * Returns <code>true</code> if this group is manual membership.
800            *
801            * @return <code>true</code> if this group is manual membership; <code>false</code> otherwise
802            */
803            @Override
804            public boolean isManualMembership() {
805                    return _group.isManualMembership();
806            }
807    
808            @Override
809            public boolean isNew() {
810                    return _group.isNew();
811            }
812    
813            @Override
814            public boolean isOrganization() {
815                    return _group.isOrganization();
816            }
817    
818            @Override
819            public boolean isRegularSite() {
820                    return _group.isRegularSite();
821            }
822    
823            @Override
824            public boolean isRoot() {
825                    return _group.isRoot();
826            }
827    
828            @Override
829            public boolean isShowSite(
830                    com.liferay.portal.security.permission.PermissionChecker permissionChecker,
831                    boolean privateSite)
832                    throws com.liferay.portal.kernel.exception.PortalException {
833                    return _group.isShowSite(permissionChecker, privateSite);
834            }
835    
836            /**
837            * Returns <code>true</code> if this group is site.
838            *
839            * @return <code>true</code> if this group is site; <code>false</code> otherwise
840            */
841            @Override
842            public boolean isSite() {
843                    return _group.isSite();
844            }
845    
846            @Override
847            public boolean isStaged() {
848                    return _group.isStaged();
849            }
850    
851            @Override
852            public boolean isStagedPortlet(java.lang.String portletId) {
853                    return _group.isStagedPortlet(portletId);
854            }
855    
856            @Override
857            public boolean isStagedRemotely() {
858                    return _group.isStagedRemotely();
859            }
860    
861            @Override
862            public boolean isStagingGroup() {
863                    return _group.isStagingGroup();
864            }
865    
866            @Override
867            public boolean isUser() {
868                    return _group.isUser();
869            }
870    
871            @Override
872            public boolean isUserGroup() {
873                    return _group.isUserGroup();
874            }
875    
876            @Override
877            public boolean isUserPersonalSite() {
878                    return _group.isUserPersonalSite();
879            }
880    
881            @Override
882            public void persist() {
883                    _group.persist();
884            }
885    
886            /**
887            * Sets whether this group is active.
888            *
889            * @param active the active of this group
890            */
891            @Override
892            public void setActive(boolean active) {
893                    _group.setActive(active);
894            }
895    
896            @Override
897            public void setCachedModel(boolean cachedModel) {
898                    _group.setCachedModel(cachedModel);
899            }
900    
901            @Override
902            public void setClassName(java.lang.String className) {
903                    _group.setClassName(className);
904            }
905    
906            /**
907            * Sets the class name ID of this group.
908            *
909            * @param classNameId the class name ID of this group
910            */
911            @Override
912            public void setClassNameId(long classNameId) {
913                    _group.setClassNameId(classNameId);
914            }
915    
916            /**
917            * Sets the class p k of this group.
918            *
919            * @param classPK the class p k of this group
920            */
921            @Override
922            public void setClassPK(long classPK) {
923                    _group.setClassPK(classPK);
924            }
925    
926            /**
927            * Sets the company ID of this group.
928            *
929            * @param companyId the company ID of this group
930            */
931            @Override
932            public void setCompanyId(long companyId) {
933                    _group.setCompanyId(companyId);
934            }
935    
936            /**
937            * Sets the creator user ID of this group.
938            *
939            * @param creatorUserId the creator user ID of this group
940            */
941            @Override
942            public void setCreatorUserId(long creatorUserId) {
943                    _group.setCreatorUserId(creatorUserId);
944            }
945    
946            /**
947            * Sets the creator user uuid of this group.
948            *
949            * @param creatorUserUuid the creator user uuid of this group
950            */
951            @Override
952            public void setCreatorUserUuid(java.lang.String creatorUserUuid) {
953                    _group.setCreatorUserUuid(creatorUserUuid);
954            }
955    
956            /**
957            * Sets the description of this group.
958            *
959            * @param description the description of this group
960            */
961            @Override
962            public void setDescription(java.lang.String description) {
963                    _group.setDescription(description);
964            }
965    
966            @Override
967            public void setExpandoBridgeAttributes(
968                    com.liferay.portal.model.BaseModel<?> baseModel) {
969                    _group.setExpandoBridgeAttributes(baseModel);
970            }
971    
972            @Override
973            public void setExpandoBridgeAttributes(
974                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
975                    _group.setExpandoBridgeAttributes(expandoBridge);
976            }
977    
978            @Override
979            public void setExpandoBridgeAttributes(
980                    com.liferay.portal.service.ServiceContext serviceContext) {
981                    _group.setExpandoBridgeAttributes(serviceContext);
982            }
983    
984            /**
985            * Sets the friendly u r l of this group.
986            *
987            * @param friendlyURL the friendly u r l of this group
988            */
989            @Override
990            public void setFriendlyURL(java.lang.String friendlyURL) {
991                    _group.setFriendlyURL(friendlyURL);
992            }
993    
994            /**
995            * Sets the group ID of this group.
996            *
997            * @param groupId the group ID of this group
998            */
999            @Override
1000            public void setGroupId(long groupId) {
1001                    _group.setGroupId(groupId);
1002            }
1003    
1004            /**
1005            * Sets whether this group is inherit content.
1006            *
1007            * @param inheritContent the inherit content of this group
1008            */
1009            @Override
1010            public void setInheritContent(boolean inheritContent) {
1011                    _group.setInheritContent(inheritContent);
1012            }
1013    
1014            /**
1015            * Sets the live group ID of this group.
1016            *
1017            * @param liveGroupId the live group ID of this group
1018            */
1019            @Override
1020            public void setLiveGroupId(long liveGroupId) {
1021                    _group.setLiveGroupId(liveGroupId);
1022            }
1023    
1024            /**
1025            * Sets whether this group is manual membership.
1026            *
1027            * @param manualMembership the manual membership of this group
1028            */
1029            @Override
1030            public void setManualMembership(boolean manualMembership) {
1031                    _group.setManualMembership(manualMembership);
1032            }
1033    
1034            /**
1035            * Sets the membership restriction of this group.
1036            *
1037            * @param membershipRestriction the membership restriction of this group
1038            */
1039            @Override
1040            public void setMembershipRestriction(int membershipRestriction) {
1041                    _group.setMembershipRestriction(membershipRestriction);
1042            }
1043    
1044            /**
1045            * Sets the mvcc version of this group.
1046            *
1047            * @param mvccVersion the mvcc version of this group
1048            */
1049            @Override
1050            public void setMvccVersion(long mvccVersion) {
1051                    _group.setMvccVersion(mvccVersion);
1052            }
1053    
1054            /**
1055            * Sets the name of this group.
1056            *
1057            * @param name the name of this group
1058            */
1059            @Override
1060            public void setName(java.lang.String name) {
1061                    _group.setName(name);
1062            }
1063    
1064            @Override
1065            public void setNew(boolean n) {
1066                    _group.setNew(n);
1067            }
1068    
1069            /**
1070            * Sets the parent group ID of this group.
1071            *
1072            * @param parentGroupId the parent group ID of this group
1073            */
1074            @Override
1075            public void setParentGroupId(long parentGroupId) {
1076                    _group.setParentGroupId(parentGroupId);
1077            }
1078    
1079            /**
1080            * Sets the primary key of this group.
1081            *
1082            * @param primaryKey the primary key of this group
1083            */
1084            @Override
1085            public void setPrimaryKey(long primaryKey) {
1086                    _group.setPrimaryKey(primaryKey);
1087            }
1088    
1089            @Override
1090            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1091                    _group.setPrimaryKeyObj(primaryKeyObj);
1092            }
1093    
1094            /**
1095            * Sets the remote staging group count of this group.
1096            *
1097            * @param remoteStagingGroupCount the remote staging group count of this group
1098            */
1099            @Override
1100            public void setRemoteStagingGroupCount(int remoteStagingGroupCount) {
1101                    _group.setRemoteStagingGroupCount(remoteStagingGroupCount);
1102            }
1103    
1104            /**
1105            * Sets whether this group is site.
1106            *
1107            * @param site the site of this group
1108            */
1109            @Override
1110            public void setSite(boolean site) {
1111                    _group.setSite(site);
1112            }
1113    
1114            /**
1115            * Sets the tree path of this group.
1116            *
1117            * @param treePath the tree path of this group
1118            */
1119            @Override
1120            public void setTreePath(java.lang.String treePath) {
1121                    _group.setTreePath(treePath);
1122            }
1123    
1124            /**
1125            * Sets the type of this group.
1126            *
1127            * @param type the type of this group
1128            */
1129            @Override
1130            public void setType(int type) {
1131                    _group.setType(type);
1132            }
1133    
1134            /**
1135            * Sets the type settings of this group.
1136            *
1137            * @param typeSettings the type settings of this group
1138            */
1139            @Override
1140            public void setTypeSettings(java.lang.String typeSettings) {
1141                    _group.setTypeSettings(typeSettings);
1142            }
1143    
1144            @Override
1145            public void setTypeSettingsProperties(
1146                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
1147                    _group.setTypeSettingsProperties(typeSettingsProperties);
1148            }
1149    
1150            /**
1151            * Sets the uuid of this group.
1152            *
1153            * @param uuid the uuid of this group
1154            */
1155            @Override
1156            public void setUuid(java.lang.String uuid) {
1157                    _group.setUuid(uuid);
1158            }
1159    
1160            @Override
1161            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Group> toCacheModel() {
1162                    return _group.toCacheModel();
1163            }
1164    
1165            @Override
1166            public com.liferay.portal.model.Group toEscapedModel() {
1167                    return new GroupWrapper(_group.toEscapedModel());
1168            }
1169    
1170            @Override
1171            public java.lang.String toString() {
1172                    return _group.toString();
1173            }
1174    
1175            @Override
1176            public com.liferay.portal.model.Group toUnescapedModel() {
1177                    return new GroupWrapper(_group.toUnescapedModel());
1178            }
1179    
1180            @Override
1181            public java.lang.String toXmlString() {
1182                    return _group.toXmlString();
1183            }
1184    
1185            @Override
1186            public void updateTreePath(java.lang.String treePath) {
1187                    _group.updateTreePath(treePath);
1188            }
1189    
1190            @Override
1191            public boolean equals(Object obj) {
1192                    if (this == obj) {
1193                            return true;
1194                    }
1195    
1196                    if (!(obj instanceof GroupWrapper)) {
1197                            return false;
1198                    }
1199    
1200                    GroupWrapper groupWrapper = (GroupWrapper)obj;
1201    
1202                    if (Validator.equals(_group, groupWrapper._group)) {
1203                            return true;
1204                    }
1205    
1206                    return false;
1207            }
1208    
1209            /**
1210             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
1211             */
1212            @Deprecated
1213            public Group getWrappedGroup() {
1214                    return _group;
1215            }
1216    
1217            @Override
1218            public Group getWrappedModel() {
1219                    return _group;
1220            }
1221    
1222            @Override
1223            public boolean isEntityCacheEnabled() {
1224                    return _group.isEntityCacheEnabled();
1225            }
1226    
1227            @Override
1228            public boolean isFinderCacheEnabled() {
1229                    return _group.isFinderCacheEnabled();
1230            }
1231    
1232            @Override
1233            public void resetOriginalValues() {
1234                    _group.resetOriginalValues();
1235            }
1236    
1237            private final Group _group;
1238    }