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