001    /**
002     * Copyright (c) 2000-2011 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 UserGroup}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserGroup
024     * @generated
025     */
026    public class UserGroupWrapper implements UserGroup {
027            public UserGroupWrapper(UserGroup userGroup) {
028                    _userGroup = userGroup;
029            }
030    
031            public long getPrimaryKey() {
032                    return _userGroup.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _userGroup.setPrimaryKey(pk);
037            }
038    
039            public long getUserGroupId() {
040                    return _userGroup.getUserGroupId();
041            }
042    
043            public void setUserGroupId(long userGroupId) {
044                    _userGroup.setUserGroupId(userGroupId);
045            }
046    
047            public long getCompanyId() {
048                    return _userGroup.getCompanyId();
049            }
050    
051            public void setCompanyId(long companyId) {
052                    _userGroup.setCompanyId(companyId);
053            }
054    
055            public long getParentUserGroupId() {
056                    return _userGroup.getParentUserGroupId();
057            }
058    
059            public void setParentUserGroupId(long parentUserGroupId) {
060                    _userGroup.setParentUserGroupId(parentUserGroupId);
061            }
062    
063            public java.lang.String getName() {
064                    return _userGroup.getName();
065            }
066    
067            public void setName(java.lang.String name) {
068                    _userGroup.setName(name);
069            }
070    
071            public java.lang.String getDescription() {
072                    return _userGroup.getDescription();
073            }
074    
075            public void setDescription(java.lang.String description) {
076                    _userGroup.setDescription(description);
077            }
078    
079            public com.liferay.portal.model.UserGroup toEscapedModel() {
080                    return _userGroup.toEscapedModel();
081            }
082    
083            public boolean isNew() {
084                    return _userGroup.isNew();
085            }
086    
087            public void setNew(boolean n) {
088                    _userGroup.setNew(n);
089            }
090    
091            public boolean isCachedModel() {
092                    return _userGroup.isCachedModel();
093            }
094    
095            public void setCachedModel(boolean cachedModel) {
096                    _userGroup.setCachedModel(cachedModel);
097            }
098    
099            public boolean isEscapedModel() {
100                    return _userGroup.isEscapedModel();
101            }
102    
103            public void setEscapedModel(boolean escapedModel) {
104                    _userGroup.setEscapedModel(escapedModel);
105            }
106    
107            public java.io.Serializable getPrimaryKeyObj() {
108                    return _userGroup.getPrimaryKeyObj();
109            }
110    
111            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
112                    return _userGroup.getExpandoBridge();
113            }
114    
115            public void setExpandoBridgeAttributes(
116                    com.liferay.portal.service.ServiceContext serviceContext) {
117                    _userGroup.setExpandoBridgeAttributes(serviceContext);
118            }
119    
120            public java.lang.Object clone() {
121                    return _userGroup.clone();
122            }
123    
124            public int compareTo(com.liferay.portal.model.UserGroup userGroup) {
125                    return _userGroup.compareTo(userGroup);
126            }
127    
128            public int hashCode() {
129                    return _userGroup.hashCode();
130            }
131    
132            public java.lang.String toString() {
133                    return _userGroup.toString();
134            }
135    
136            public java.lang.String toXmlString() {
137                    return _userGroup.toXmlString();
138            }
139    
140            public com.liferay.portal.model.Group getGroup()
141                    throws com.liferay.portal.kernel.exception.PortalException,
142                            com.liferay.portal.kernel.exception.SystemException {
143                    return _userGroup.getGroup();
144            }
145    
146            public int getPrivateLayoutsPageCount()
147                    throws com.liferay.portal.kernel.exception.PortalException,
148                            com.liferay.portal.kernel.exception.SystemException {
149                    return _userGroup.getPrivateLayoutsPageCount();
150            }
151    
152            public boolean hasPrivateLayouts()
153                    throws com.liferay.portal.kernel.exception.PortalException,
154                            com.liferay.portal.kernel.exception.SystemException {
155                    return _userGroup.hasPrivateLayouts();
156            }
157    
158            public int getPublicLayoutsPageCount()
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _userGroup.getPublicLayoutsPageCount();
162            }
163    
164            public boolean hasPublicLayouts()
165                    throws com.liferay.portal.kernel.exception.PortalException,
166                            com.liferay.portal.kernel.exception.SystemException {
167                    return _userGroup.hasPublicLayouts();
168            }
169    
170            public UserGroup getWrappedUserGroup() {
171                    return _userGroup;
172            }
173    
174            private UserGroup _userGroup;
175    }