001    /**
002     * Copyright (c) 2000-2011 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            public Class<?> getModelClass() {
032                    return Group.class;
033            }
034    
035            public String getModelClassName() {
036                    return Group.class.getName();
037            }
038    
039            /**
040            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the class name of the model instance this group is polymorphically associated with.
133            *
134            * @return the class name of the model instance this group is polymorphically associated with
135            */
136            public java.lang.String getClassName() {
137                    return _group.getClassName();
138            }
139    
140            /**
141            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the active of this group.
304            *
305            * @return the active of this group
306            */
307            public boolean getActive() {
308                    return _group.getActive();
309            }
310    
311            /**
312            * Determines if this group is active.
313            *
314            * @return <code>true</code> if this group is active; <code>false</code> otherwise
315            */
316            public boolean isActive() {
317                    return _group.isActive();
318            }
319    
320            /**
321            * Sets whether this group is active.
322            *
323            * @param active the active of this group
324            */
325            public void setActive(boolean active) {
326                    _group.setActive(active);
327            }
328    
329            public boolean isNew() {
330                    return _group.isNew();
331            }
332    
333            public void setNew(boolean n) {
334                    _group.setNew(n);
335            }
336    
337            public boolean isCachedModel() {
338                    return _group.isCachedModel();
339            }
340    
341            public void setCachedModel(boolean cachedModel) {
342                    _group.setCachedModel(cachedModel);
343            }
344    
345            public boolean isEscapedModel() {
346                    return _group.isEscapedModel();
347            }
348    
349            public void setEscapedModel(boolean escapedModel) {
350                    _group.setEscapedModel(escapedModel);
351            }
352    
353            public java.io.Serializable getPrimaryKeyObj() {
354                    return _group.getPrimaryKeyObj();
355            }
356    
357            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
358                    _group.setPrimaryKeyObj(primaryKeyObj);
359            }
360    
361            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
362                    return _group.getExpandoBridge();
363            }
364    
365            public void setExpandoBridgeAttributes(
366                    com.liferay.portal.service.ServiceContext serviceContext) {
367                    _group.setExpandoBridgeAttributes(serviceContext);
368            }
369    
370            @Override
371            public java.lang.Object clone() {
372                    return new GroupWrapper((Group)_group.clone());
373            }
374    
375            public int compareTo(com.liferay.portal.model.Group group) {
376                    return _group.compareTo(group);
377            }
378    
379            @Override
380            public int hashCode() {
381                    return _group.hashCode();
382            }
383    
384            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Group> toCacheModel() {
385                    return _group.toCacheModel();
386            }
387    
388            public com.liferay.portal.model.Group toEscapedModel() {
389                    return new GroupWrapper(_group.toEscapedModel());
390            }
391    
392            @Override
393            public java.lang.String toString() {
394                    return _group.toString();
395            }
396    
397            public java.lang.String toXmlString() {
398                    return _group.toXmlString();
399            }
400    
401            public void persist()
402                    throws com.liferay.portal.kernel.exception.SystemException {
403                    _group.persist();
404            }
405    
406            public long getDefaultPrivatePlid() {
407                    return _group.getDefaultPrivatePlid();
408            }
409    
410            public long getDefaultPublicPlid() {
411                    return _group.getDefaultPublicPlid();
412            }
413    
414            public java.lang.String getDescriptiveName()
415                    throws com.liferay.portal.kernel.exception.PortalException,
416                            com.liferay.portal.kernel.exception.SystemException {
417                    return _group.getDescriptiveName();
418            }
419    
420            public com.liferay.portal.model.Group getLiveGroup() {
421                    return _group.getLiveGroup();
422            }
423    
424            public long getOrganizationId() {
425                    return _group.getOrganizationId();
426            }
427    
428            public java.lang.String getPathFriendlyURL(boolean privateLayout,
429                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
430                    return _group.getPathFriendlyURL(privateLayout, themeDisplay);
431            }
432    
433            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet() {
434                    return _group.getPrivateLayoutSet();
435            }
436    
437            public int getPrivateLayoutsPageCount() {
438                    return _group.getPrivateLayoutsPageCount();
439            }
440    
441            public com.liferay.portal.model.LayoutSet getPublicLayoutSet() {
442                    return _group.getPublicLayoutSet();
443            }
444    
445            public int getPublicLayoutsPageCount() {
446                    return _group.getPublicLayoutsPageCount();
447            }
448    
449            public com.liferay.portal.model.Group getStagingGroup() {
450                    return _group.getStagingGroup();
451            }
452    
453            public java.lang.String getTypeLabel() {
454                    return _group.getTypeLabel();
455            }
456    
457            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
458                    return _group.getTypeSettingsProperties();
459            }
460    
461            public java.lang.String getTypeSettingsProperty(java.lang.String key) {
462                    return _group.getTypeSettingsProperty(key);
463            }
464    
465            public java.lang.String getWorkflowRoleNames() {
466                    return _group.getWorkflowRoleNames();
467            }
468    
469            public int getWorkflowStages() {
470                    return _group.getWorkflowStages();
471            }
472    
473            public boolean hasPrivateLayouts() {
474                    return _group.hasPrivateLayouts();
475            }
476    
477            public boolean hasPublicLayouts() {
478                    return _group.hasPublicLayouts();
479            }
480    
481            public boolean hasStagingGroup() {
482                    return _group.hasStagingGroup();
483            }
484    
485            public boolean isCommunity() {
486                    return _group.isCommunity();
487            }
488    
489            public boolean isCompany() {
490                    return _group.isCompany();
491            }
492    
493            public boolean isControlPanel() {
494                    return _group.isControlPanel();
495            }
496    
497            public boolean isGuest() {
498                    return _group.isGuest();
499            }
500    
501            public boolean isLayout() {
502                    return _group.isLayout();
503            }
504    
505            public boolean isLayoutPrototype() {
506                    return _group.isLayoutPrototype();
507            }
508    
509            public boolean isLayoutSetPrototype() {
510                    return _group.isLayoutSetPrototype();
511            }
512    
513            public boolean isOrganization() {
514                    return _group.isOrganization();
515            }
516    
517            public boolean isStaged() {
518                    return _group.isStaged();
519            }
520    
521            public boolean isStagedPortlet(java.lang.String portletId) {
522                    return _group.isStagedPortlet(portletId);
523            }
524    
525            public boolean isStagedRemotely() {
526                    return _group.isStagedRemotely();
527            }
528    
529            public boolean isStagingGroup() {
530                    return _group.isStagingGroup();
531            }
532    
533            public boolean isUser() {
534                    return _group.isUser();
535            }
536    
537            public boolean isUserGroup() {
538                    return _group.isUserGroup();
539            }
540    
541            public boolean isWorkflowEnabled() {
542                    return _group.isWorkflowEnabled();
543            }
544    
545            public void setTypeSettingsProperties(
546                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
547                    _group.setTypeSettingsProperties(typeSettingsProperties);
548            }
549    
550            public Group getWrappedGroup() {
551                    return _group;
552            }
553    
554            public void resetOriginalValues() {
555                    _group.resetOriginalValues();
556            }
557    
558            private Group _group;
559    }