001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 {
027            public GroupWrapper(Group group) {
028                    _group = group;
029            }
030    
031            /**
032            * Gets the primary key of this group.
033            *
034            * @return the primary key of this group
035            */
036            public long getPrimaryKey() {
037                    return _group.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this group
042            *
043            * @param pk the primary key of this group
044            */
045            public void setPrimaryKey(long pk) {
046                    _group.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the group id of this group.
051            *
052            * @return the group id of this group
053            */
054            public long getGroupId() {
055                    return _group.getGroupId();
056            }
057    
058            /**
059            * Sets the group id of this group.
060            *
061            * @param groupId the group id of this group
062            */
063            public void setGroupId(long groupId) {
064                    _group.setGroupId(groupId);
065            }
066    
067            /**
068            * Gets the company id of this group.
069            *
070            * @return the company id of this group
071            */
072            public long getCompanyId() {
073                    return _group.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this group.
078            *
079            * @param companyId the company id of this group
080            */
081            public void setCompanyId(long companyId) {
082                    _group.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the creator user id of this group.
087            *
088            * @return the creator user id of this group
089            */
090            public long getCreatorUserId() {
091                    return _group.getCreatorUserId();
092            }
093    
094            /**
095            * Sets the creator user id of this group.
096            *
097            * @param creatorUserId the creator user id of this group
098            */
099            public void setCreatorUserId(long creatorUserId) {
100                    _group.setCreatorUserId(creatorUserId);
101            }
102    
103            /**
104            * Gets the creator user uuid of this group.
105            *
106            * @return the creator user uuid of this group
107            * @throws SystemException if a system exception occurred
108            */
109            public java.lang.String getCreatorUserUuid()
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _group.getCreatorUserUuid();
112            }
113    
114            /**
115            * Sets the creator user uuid of this group.
116            *
117            * @param creatorUserUuid the creator user uuid of this group
118            */
119            public void setCreatorUserUuid(java.lang.String creatorUserUuid) {
120                    _group.setCreatorUserUuid(creatorUserUuid);
121            }
122    
123            /**
124            * Gets the class name of the model instance this group is polymorphically associated with.
125            *
126            * @return the class name of the model instance this group is polymorphically associated with
127            */
128            public java.lang.String getClassName() {
129                    return _group.getClassName();
130            }
131    
132            /**
133            * Gets the class name id of this group.
134            *
135            * @return the class name id of this group
136            */
137            public long getClassNameId() {
138                    return _group.getClassNameId();
139            }
140    
141            /**
142            * Sets the class name id of this group.
143            *
144            * @param classNameId the class name id of this group
145            */
146            public void setClassNameId(long classNameId) {
147                    _group.setClassNameId(classNameId);
148            }
149    
150            /**
151            * Gets the class p k of this group.
152            *
153            * @return the class p k of this group
154            */
155            public long getClassPK() {
156                    return _group.getClassPK();
157            }
158    
159            /**
160            * Sets the class p k of this group.
161            *
162            * @param classPK the class p k of this group
163            */
164            public void setClassPK(long classPK) {
165                    _group.setClassPK(classPK);
166            }
167    
168            /**
169            * Gets the parent group id of this group.
170            *
171            * @return the parent group id of this group
172            */
173            public long getParentGroupId() {
174                    return _group.getParentGroupId();
175            }
176    
177            /**
178            * Sets the parent group id of this group.
179            *
180            * @param parentGroupId the parent group id of this group
181            */
182            public void setParentGroupId(long parentGroupId) {
183                    _group.setParentGroupId(parentGroupId);
184            }
185    
186            /**
187            * Gets the live group id of this group.
188            *
189            * @return the live group id of this group
190            */
191            public long getLiveGroupId() {
192                    return _group.getLiveGroupId();
193            }
194    
195            /**
196            * Sets the live group id of this group.
197            *
198            * @param liveGroupId the live group id of this group
199            */
200            public void setLiveGroupId(long liveGroupId) {
201                    _group.setLiveGroupId(liveGroupId);
202            }
203    
204            /**
205            * Gets the name of this group.
206            *
207            * @return the name of this group
208            */
209            public java.lang.String getName() {
210                    return _group.getName();
211            }
212    
213            /**
214            * Sets the name of this group.
215            *
216            * @param name the name of this group
217            */
218            public void setName(java.lang.String name) {
219                    _group.setName(name);
220            }
221    
222            /**
223            * Gets the description of this group.
224            *
225            * @return the description of this group
226            */
227            public java.lang.String getDescription() {
228                    return _group.getDescription();
229            }
230    
231            /**
232            * Sets the description of this group.
233            *
234            * @param description the description of this group
235            */
236            public void setDescription(java.lang.String description) {
237                    _group.setDescription(description);
238            }
239    
240            /**
241            * Gets the type of this group.
242            *
243            * @return the type of this group
244            */
245            public int getType() {
246                    return _group.getType();
247            }
248    
249            /**
250            * Sets the type of this group.
251            *
252            * @param type the type of this group
253            */
254            public void setType(int type) {
255                    _group.setType(type);
256            }
257    
258            /**
259            * Gets the type settings of this group.
260            *
261            * @return the type settings of this group
262            */
263            public java.lang.String getTypeSettings() {
264                    return _group.getTypeSettings();
265            }
266    
267            /**
268            * Sets the type settings of this group.
269            *
270            * @param typeSettings the type settings of this group
271            */
272            public void setTypeSettings(java.lang.String typeSettings) {
273                    _group.setTypeSettings(typeSettings);
274            }
275    
276            /**
277            * Gets the friendly u r l of this group.
278            *
279            * @return the friendly u r l of this group
280            */
281            public java.lang.String getFriendlyURL() {
282                    return _group.getFriendlyURL();
283            }
284    
285            /**
286            * Sets the friendly u r l of this group.
287            *
288            * @param friendlyURL the friendly u r l of this group
289            */
290            public void setFriendlyURL(java.lang.String friendlyURL) {
291                    _group.setFriendlyURL(friendlyURL);
292            }
293    
294            /**
295            * Gets the active of this group.
296            *
297            * @return the active of this group
298            */
299            public boolean getActive() {
300                    return _group.getActive();
301            }
302    
303            /**
304            * Determines whether this group is active.
305            *
306            * @return whether this group is active
307            */
308            public boolean isActive() {
309                    return _group.isActive();
310            }
311    
312            /**
313            * Sets whether this {$entity.humanName} is active.
314            *
315            * @param active the active of this group
316            */
317            public void setActive(boolean active) {
318                    _group.setActive(active);
319            }
320    
321            public boolean isNew() {
322                    return _group.isNew();
323            }
324    
325            public void setNew(boolean n) {
326                    _group.setNew(n);
327            }
328    
329            public boolean isCachedModel() {
330                    return _group.isCachedModel();
331            }
332    
333            public void setCachedModel(boolean cachedModel) {
334                    _group.setCachedModel(cachedModel);
335            }
336    
337            public boolean isEscapedModel() {
338                    return _group.isEscapedModel();
339            }
340    
341            public void setEscapedModel(boolean escapedModel) {
342                    _group.setEscapedModel(escapedModel);
343            }
344    
345            public java.io.Serializable getPrimaryKeyObj() {
346                    return _group.getPrimaryKeyObj();
347            }
348    
349            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
350                    return _group.getExpandoBridge();
351            }
352    
353            public void setExpandoBridgeAttributes(
354                    com.liferay.portal.service.ServiceContext serviceContext) {
355                    _group.setExpandoBridgeAttributes(serviceContext);
356            }
357    
358            public java.lang.Object clone() {
359                    return _group.clone();
360            }
361    
362            public int compareTo(com.liferay.portal.model.Group group) {
363                    return _group.compareTo(group);
364            }
365    
366            public int hashCode() {
367                    return _group.hashCode();
368            }
369    
370            public com.liferay.portal.model.Group toEscapedModel() {
371                    return _group.toEscapedModel();
372            }
373    
374            public java.lang.String toString() {
375                    return _group.toString();
376            }
377    
378            public java.lang.String toXmlString() {
379                    return _group.toXmlString();
380            }
381    
382            public long getDefaultPrivatePlid() {
383                    return _group.getDefaultPrivatePlid();
384            }
385    
386            public long getDefaultPublicPlid() {
387                    return _group.getDefaultPublicPlid();
388            }
389    
390            public java.lang.String getDescriptiveName()
391                    throws com.liferay.portal.kernel.exception.PortalException,
392                            com.liferay.portal.kernel.exception.SystemException {
393                    return _group.getDescriptiveName();
394            }
395    
396            public com.liferay.portal.model.Group getLiveGroup() {
397                    return _group.getLiveGroup();
398            }
399    
400            public long getOrganizationId() {
401                    return _group.getOrganizationId();
402            }
403    
404            public java.lang.String getPathFriendlyURL(boolean privateLayout,
405                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
406                    return _group.getPathFriendlyURL(privateLayout, themeDisplay);
407            }
408    
409            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet() {
410                    return _group.getPrivateLayoutSet();
411            }
412    
413            public int getPrivateLayoutsPageCount() {
414                    return _group.getPrivateLayoutsPageCount();
415            }
416    
417            public com.liferay.portal.model.LayoutSet getPublicLayoutSet() {
418                    return _group.getPublicLayoutSet();
419            }
420    
421            public int getPublicLayoutsPageCount() {
422                    return _group.getPublicLayoutsPageCount();
423            }
424    
425            public com.liferay.portal.model.Group getStagingGroup() {
426                    return _group.getStagingGroup();
427            }
428    
429            public java.lang.String getTypeLabel() {
430                    return _group.getTypeLabel();
431            }
432    
433            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
434                    return _group.getTypeSettingsProperties();
435            }
436    
437            public java.lang.String getTypeSettingsProperty(java.lang.String key) {
438                    return _group.getTypeSettingsProperty(key);
439            }
440    
441            public java.lang.String getWorkflowRoleNames() {
442                    return _group.getWorkflowRoleNames();
443            }
444    
445            public int getWorkflowStages() {
446                    return _group.getWorkflowStages();
447            }
448    
449            public boolean hasPrivateLayouts() {
450                    return _group.hasPrivateLayouts();
451            }
452    
453            public boolean hasPublicLayouts() {
454                    return _group.hasPublicLayouts();
455            }
456    
457            public boolean hasStagingGroup() {
458                    return _group.hasStagingGroup();
459            }
460    
461            public boolean isCommunity() {
462                    return _group.isCommunity();
463            }
464    
465            public boolean isCompany() {
466                    return _group.isCompany();
467            }
468    
469            public boolean isControlPanel() {
470                    return _group.isControlPanel();
471            }
472    
473            public boolean isLayout() {
474                    return _group.isLayout();
475            }
476    
477            public boolean isLayoutPrototype() {
478                    return _group.isLayoutPrototype();
479            }
480    
481            public boolean isLayoutSetPrototype() {
482                    return _group.isLayoutSetPrototype();
483            }
484    
485            public boolean isOrganization() {
486                    return _group.isOrganization();
487            }
488    
489            public boolean isStaged() {
490                    return _group.isStaged();
491            }
492    
493            public boolean isStagedPortlet(java.lang.String portletId) {
494                    return _group.isStagedPortlet(portletId);
495            }
496    
497            public boolean isStagedRemotely() {
498                    return _group.isStagedRemotely();
499            }
500    
501            public boolean isStagingGroup() {
502                    return _group.isStagingGroup();
503            }
504    
505            public boolean isUser() {
506                    return _group.isUser();
507            }
508    
509            public boolean isUserGroup() {
510                    return _group.isUserGroup();
511            }
512    
513            public boolean isWorkflowEnabled() {
514                    return _group.isWorkflowEnabled();
515            }
516    
517            public void setTypeSettingsProperties(
518                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
519                    _group.setTypeSettingsProperties(typeSettingsProperties);
520            }
521    
522            public Group getWrappedGroup() {
523                    return _group;
524            }
525    
526            private Group _group;
527    }