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