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