001    /**
002     * Copyright (c) 2000-2012 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    /**
018     * <p>
019     * This class is a wrapper for {@link Group}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Group
024     * @generated
025     */
026    public class GroupWrapper implements Group, ModelWrapper<Group> {
027            public GroupWrapper(Group group) {
028                    _group = group;
029            }
030    
031            public Class<?> getModelClass() {
032                    return Group.class;
033            }
034    
035            public String getModelClassName() {
036                    return Group.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this group.
041            *
042            * @return the primary key of this group
043            */
044            public long getPrimaryKey() {
045                    return _group.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this group.
050            *
051            * @param primaryKey the primary key of this group
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _group.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the group ID of this group.
059            *
060            * @return the group ID of this group
061            */
062            public long getGroupId() {
063                    return _group.getGroupId();
064            }
065    
066            /**
067            * Sets the group ID of this group.
068            *
069            * @param groupId the group ID of this group
070            */
071            public void setGroupId(long groupId) {
072                    _group.setGroupId(groupId);
073            }
074    
075            /**
076            * Returns the company ID of this group.
077            *
078            * @return the company ID of this group
079            */
080            public long getCompanyId() {
081                    return _group.getCompanyId();
082            }
083    
084            /**
085            * Sets the company ID of this group.
086            *
087            * @param companyId the company ID of this group
088            */
089            public void setCompanyId(long companyId) {
090                    _group.setCompanyId(companyId);
091            }
092    
093            /**
094            * Returns the creator user ID of this group.
095            *
096            * @return the creator user ID of this group
097            */
098            public long getCreatorUserId() {
099                    return _group.getCreatorUserId();
100            }
101    
102            /**
103            * Sets the creator user ID of this group.
104            *
105            * @param creatorUserId the creator user ID of this group
106            */
107            public void setCreatorUserId(long creatorUserId) {
108                    _group.setCreatorUserId(creatorUserId);
109            }
110    
111            /**
112            * Returns the creator user uuid of this group.
113            *
114            * @return the creator user uuid of this group
115            * @throws SystemException if a system exception occurred
116            */
117            public java.lang.String getCreatorUserUuid()
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _group.getCreatorUserUuid();
120            }
121    
122            /**
123            * Sets the creator user uuid of this group.
124            *
125            * @param creatorUserUuid the creator user uuid of this group
126            */
127            public void setCreatorUserUuid(java.lang.String creatorUserUuid) {
128                    _group.setCreatorUserUuid(creatorUserUuid);
129            }
130    
131            /**
132            * Returns the fully qualified class name of this group.
133            *
134            * @return the fully qualified class name of this group
135            */
136            public java.lang.String getClassName() {
137                    return _group.getClassName();
138            }
139    
140            /**
141            * Returns the class name ID of this group.
142            *
143            * @return the class name ID of this group
144            */
145            public long getClassNameId() {
146                    return _group.getClassNameId();
147            }
148    
149            /**
150            * Sets the class name ID of this group.
151            *
152            * @param classNameId the class name ID of this group
153            */
154            public void setClassNameId(long classNameId) {
155                    _group.setClassNameId(classNameId);
156            }
157    
158            /**
159            * Returns the class p k of this group.
160            *
161            * @return the class p k of this group
162            */
163            public long getClassPK() {
164                    return _group.getClassPK();
165            }
166    
167            /**
168            * Sets the class p k of this group.
169            *
170            * @param classPK the class p k of this group
171            */
172            public void setClassPK(long classPK) {
173                    _group.setClassPK(classPK);
174            }
175    
176            /**
177            * Returns the parent group ID of this group.
178            *
179            * @return the parent group ID of this group
180            */
181            public long getParentGroupId() {
182                    return _group.getParentGroupId();
183            }
184    
185            /**
186            * Sets the parent group ID of this group.
187            *
188            * @param parentGroupId the parent group ID of this group
189            */
190            public void setParentGroupId(long parentGroupId) {
191                    _group.setParentGroupId(parentGroupId);
192            }
193    
194            /**
195            * Returns the live group ID of this group.
196            *
197            * @return the live group ID of this group
198            */
199            public long getLiveGroupId() {
200                    return _group.getLiveGroupId();
201            }
202    
203            /**
204            * Sets the live group ID of this group.
205            *
206            * @param liveGroupId the live group ID of this group
207            */
208            public void setLiveGroupId(long liveGroupId) {
209                    _group.setLiveGroupId(liveGroupId);
210            }
211    
212            /**
213            * Returns the name of this group.
214            *
215            * @return the name of this group
216            */
217            public java.lang.String getName() {
218                    return _group.getName();
219            }
220    
221            /**
222            * Sets the name of this group.
223            *
224            * @param name the name of this group
225            */
226            public void setName(java.lang.String name) {
227                    _group.setName(name);
228            }
229    
230            /**
231            * Returns the description of this group.
232            *
233            * @return the description of this group
234            */
235            public java.lang.String getDescription() {
236                    return _group.getDescription();
237            }
238    
239            /**
240            * Sets the description of this group.
241            *
242            * @param description the description of this group
243            */
244            public void setDescription(java.lang.String description) {
245                    _group.setDescription(description);
246            }
247    
248            /**
249            * Returns the type of this group.
250            *
251            * @return the type of this group
252            */
253            public int getType() {
254                    return _group.getType();
255            }
256    
257            /**
258            * Sets the type of this group.
259            *
260            * @param type the type of this group
261            */
262            public void setType(int type) {
263                    _group.setType(type);
264            }
265    
266            /**
267            * Returns the type settings of this group.
268            *
269            * @return the type settings of this group
270            */
271            public java.lang.String getTypeSettings() {
272                    return _group.getTypeSettings();
273            }
274    
275            /**
276            * Sets the type settings of this group.
277            *
278            * @param typeSettings the type settings of this group
279            */
280            public void setTypeSettings(java.lang.String typeSettings) {
281                    _group.setTypeSettings(typeSettings);
282            }
283    
284            /**
285            * Returns the friendly u r l of this group.
286            *
287            * @return the friendly u r l of this group
288            */
289            public java.lang.String getFriendlyURL() {
290                    return _group.getFriendlyURL();
291            }
292    
293            /**
294            * Sets the friendly u r l of this group.
295            *
296            * @param friendlyURL the friendly u r l of this group
297            */
298            public void setFriendlyURL(java.lang.String friendlyURL) {
299                    _group.setFriendlyURL(friendlyURL);
300            }
301    
302            /**
303            * Returns the site of this group.
304            *
305            * @return the site of this group
306            */
307            public boolean getSite() {
308                    return _group.getSite();
309            }
310    
311            /**
312            * Returns <code>true</code> if this group is site.
313            *
314            * @return <code>true</code> if this group is site; <code>false</code> otherwise
315            */
316            public boolean isSite() {
317                    return _group.isSite();
318            }
319    
320            /**
321            * Sets whether this group is site.
322            *
323            * @param site the site of this group
324            */
325            public void setSite(boolean site) {
326                    _group.setSite(site);
327            }
328    
329            /**
330            * Returns the active of this group.
331            *
332            * @return the active of this group
333            */
334            public boolean getActive() {
335                    return _group.getActive();
336            }
337    
338            /**
339            * Returns <code>true</code> if this group is active.
340            *
341            * @return <code>true</code> if this group is active; <code>false</code> otherwise
342            */
343            public boolean isActive() {
344                    return _group.isActive();
345            }
346    
347            /**
348            * Sets whether this group is active.
349            *
350            * @param active the active of this group
351            */
352            public void setActive(boolean active) {
353                    _group.setActive(active);
354            }
355    
356            public boolean isNew() {
357                    return _group.isNew();
358            }
359    
360            public void setNew(boolean n) {
361                    _group.setNew(n);
362            }
363    
364            public boolean isCachedModel() {
365                    return _group.isCachedModel();
366            }
367    
368            public void setCachedModel(boolean cachedModel) {
369                    _group.setCachedModel(cachedModel);
370            }
371    
372            public boolean isEscapedModel() {
373                    return _group.isEscapedModel();
374            }
375    
376            public java.io.Serializable getPrimaryKeyObj() {
377                    return _group.getPrimaryKeyObj();
378            }
379    
380            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
381                    _group.setPrimaryKeyObj(primaryKeyObj);
382            }
383    
384            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
385                    return _group.getExpandoBridge();
386            }
387    
388            public void setExpandoBridgeAttributes(
389                    com.liferay.portal.service.ServiceContext serviceContext) {
390                    _group.setExpandoBridgeAttributes(serviceContext);
391            }
392    
393            @Override
394            public java.lang.Object clone() {
395                    return new GroupWrapper((Group)_group.clone());
396            }
397    
398            public int compareTo(com.liferay.portal.model.Group group) {
399                    return _group.compareTo(group);
400            }
401    
402            @Override
403            public int hashCode() {
404                    return _group.hashCode();
405            }
406    
407            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Group> toCacheModel() {
408                    return _group.toCacheModel();
409            }
410    
411            public com.liferay.portal.model.Group toEscapedModel() {
412                    return new GroupWrapper(_group.toEscapedModel());
413            }
414    
415            @Override
416            public java.lang.String toString() {
417                    return _group.toString();
418            }
419    
420            public java.lang.String toXmlString() {
421                    return _group.toXmlString();
422            }
423    
424            public void persist()
425                    throws com.liferay.portal.kernel.exception.SystemException {
426                    _group.persist();
427            }
428    
429            public long getDefaultPrivatePlid() {
430                    return _group.getDefaultPrivatePlid();
431            }
432    
433            public long getDefaultPublicPlid() {
434                    return _group.getDefaultPublicPlid();
435            }
436    
437            public java.lang.String getDescriptiveName()
438                    throws com.liferay.portal.kernel.exception.PortalException,
439                            com.liferay.portal.kernel.exception.SystemException {
440                    return _group.getDescriptiveName();
441            }
442    
443            public java.lang.String getDescriptiveName(java.util.Locale locale)
444                    throws com.liferay.portal.kernel.exception.PortalException,
445                            com.liferay.portal.kernel.exception.SystemException {
446                    return _group.getDescriptiveName(locale);
447            }
448    
449            public com.liferay.portal.model.Group getLiveGroup() {
450                    return _group.getLiveGroup();
451            }
452    
453            public long getOrganizationId() {
454                    return _group.getOrganizationId();
455            }
456    
457            public com.liferay.portal.model.Group getParentGroup()
458                    throws com.liferay.portal.kernel.exception.PortalException,
459                            com.liferay.portal.kernel.exception.SystemException {
460                    return _group.getParentGroup();
461            }
462    
463            public java.lang.String getPathFriendlyURL(boolean privateLayout,
464                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
465                    return _group.getPathFriendlyURL(privateLayout, themeDisplay);
466            }
467    
468            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet() {
469                    return _group.getPrivateLayoutSet();
470            }
471    
472            public int getPrivateLayoutsPageCount() {
473                    return _group.getPrivateLayoutsPageCount();
474            }
475    
476            public com.liferay.portal.model.LayoutSet getPublicLayoutSet() {
477                    return _group.getPublicLayoutSet();
478            }
479    
480            public int getPublicLayoutsPageCount() {
481                    return _group.getPublicLayoutsPageCount();
482            }
483    
484            public com.liferay.portal.model.Group getStagingGroup() {
485                    return _group.getStagingGroup();
486            }
487    
488            public java.lang.String getTypeLabel() {
489                    return _group.getTypeLabel();
490            }
491    
492            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
493                    return _group.getTypeSettingsProperties();
494            }
495    
496            public java.lang.String getTypeSettingsProperty(java.lang.String key) {
497                    return _group.getTypeSettingsProperty(key);
498            }
499    
500            public boolean hasPrivateLayouts() {
501                    return _group.hasPrivateLayouts();
502            }
503    
504            public boolean hasPublicLayouts() {
505                    return _group.hasPublicLayouts();
506            }
507    
508            public boolean hasStagingGroup() {
509                    return _group.hasStagingGroup();
510            }
511    
512            /**
513            * @deprecated As of 6.1, renamed to {@link #isRegularSite}
514            */
515            public boolean isCommunity() {
516                    return _group.isCommunity();
517            }
518    
519            public boolean isCompany() {
520                    return _group.isCompany();
521            }
522    
523            public boolean isControlPanel() {
524                    return _group.isControlPanel();
525            }
526    
527            public boolean isGuest() {
528                    return _group.isGuest();
529            }
530    
531            public boolean isLayout() {
532                    return _group.isLayout();
533            }
534    
535            public boolean isLayoutPrototype() {
536                    return _group.isLayoutPrototype();
537            }
538    
539            public boolean isLayoutSetPrototype() {
540                    return _group.isLayoutSetPrototype();
541            }
542    
543            public boolean isOrganization() {
544                    return _group.isOrganization();
545            }
546    
547            public boolean isRegularSite() {
548                    return _group.isRegularSite();
549            }
550    
551            public boolean isStaged() {
552                    return _group.isStaged();
553            }
554    
555            public boolean isStagedPortlet(java.lang.String portletId) {
556                    return _group.isStagedPortlet(portletId);
557            }
558    
559            public boolean isStagedRemotely() {
560                    return _group.isStagedRemotely();
561            }
562    
563            public boolean isStagingGroup() {
564                    return _group.isStagingGroup();
565            }
566    
567            public boolean isUser() {
568                    return _group.isUser();
569            }
570    
571            public boolean isUserGroup() {
572                    return _group.isUserGroup();
573            }
574    
575            public boolean isUserPersonalSite() {
576                    return _group.isUserPersonalSite();
577            }
578    
579            public void setTypeSettingsProperties(
580                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
581                    _group.setTypeSettingsProperties(typeSettingsProperties);
582            }
583    
584            /**
585             * @deprecated Renamed to {@link #getWrappedModel}
586             */
587            public Group getWrappedGroup() {
588                    return _group;
589            }
590    
591            public Group getWrappedModel() {
592                    return _group;
593            }
594    
595            public void resetOriginalValues() {
596                    _group.resetOriginalValues();
597            }
598    
599            private Group _group;
600    }