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 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            /**
032            * Gets the primary key of this user group.
033            *
034            * @return the primary key of this user group
035            */
036            public long getPrimaryKey() {
037                    return _userGroup.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this user group
042            *
043            * @param pk the primary key of this user group
044            */
045            public void setPrimaryKey(long pk) {
046                    _userGroup.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the user group id of this user group.
051            *
052            * @return the user group id of this user group
053            */
054            public long getUserGroupId() {
055                    return _userGroup.getUserGroupId();
056            }
057    
058            /**
059            * Sets the user group id of this user group.
060            *
061            * @param userGroupId the user group id of this user group
062            */
063            public void setUserGroupId(long userGroupId) {
064                    _userGroup.setUserGroupId(userGroupId);
065            }
066    
067            /**
068            * Gets the company id of this user group.
069            *
070            * @return the company id of this user group
071            */
072            public long getCompanyId() {
073                    return _userGroup.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this user group.
078            *
079            * @param companyId the company id of this user group
080            */
081            public void setCompanyId(long companyId) {
082                    _userGroup.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the parent user group id of this user group.
087            *
088            * @return the parent user group id of this user group
089            */
090            public long getParentUserGroupId() {
091                    return _userGroup.getParentUserGroupId();
092            }
093    
094            /**
095            * Sets the parent user group id of this user group.
096            *
097            * @param parentUserGroupId the parent user group id of this user group
098            */
099            public void setParentUserGroupId(long parentUserGroupId) {
100                    _userGroup.setParentUserGroupId(parentUserGroupId);
101            }
102    
103            /**
104            * Gets the name of this user group.
105            *
106            * @return the name of this user group
107            */
108            public java.lang.String getName() {
109                    return _userGroup.getName();
110            }
111    
112            /**
113            * Sets the name of this user group.
114            *
115            * @param name the name of this user group
116            */
117            public void setName(java.lang.String name) {
118                    _userGroup.setName(name);
119            }
120    
121            /**
122            * Gets the description of this user group.
123            *
124            * @return the description of this user group
125            */
126            public java.lang.String getDescription() {
127                    return _userGroup.getDescription();
128            }
129    
130            /**
131            * Sets the description of this user group.
132            *
133            * @param description the description of this user group
134            */
135            public void setDescription(java.lang.String description) {
136                    _userGroup.setDescription(description);
137            }
138    
139            public boolean isNew() {
140                    return _userGroup.isNew();
141            }
142    
143            public void setNew(boolean n) {
144                    _userGroup.setNew(n);
145            }
146    
147            public boolean isCachedModel() {
148                    return _userGroup.isCachedModel();
149            }
150    
151            public void setCachedModel(boolean cachedModel) {
152                    _userGroup.setCachedModel(cachedModel);
153            }
154    
155            public boolean isEscapedModel() {
156                    return _userGroup.isEscapedModel();
157            }
158    
159            public void setEscapedModel(boolean escapedModel) {
160                    _userGroup.setEscapedModel(escapedModel);
161            }
162    
163            public java.io.Serializable getPrimaryKeyObj() {
164                    return _userGroup.getPrimaryKeyObj();
165            }
166    
167            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
168                    return _userGroup.getExpandoBridge();
169            }
170    
171            public void setExpandoBridgeAttributes(
172                    com.liferay.portal.service.ServiceContext serviceContext) {
173                    _userGroup.setExpandoBridgeAttributes(serviceContext);
174            }
175    
176            public java.lang.Object clone() {
177                    return _userGroup.clone();
178            }
179    
180            public int compareTo(com.liferay.portal.model.UserGroup userGroup) {
181                    return _userGroup.compareTo(userGroup);
182            }
183    
184            public int hashCode() {
185                    return _userGroup.hashCode();
186            }
187    
188            public com.liferay.portal.model.UserGroup toEscapedModel() {
189                    return _userGroup.toEscapedModel();
190            }
191    
192            public java.lang.String toString() {
193                    return _userGroup.toString();
194            }
195    
196            public java.lang.String toXmlString() {
197                    return _userGroup.toXmlString();
198            }
199    
200            public com.liferay.portal.model.Group getGroup()
201                    throws com.liferay.portal.kernel.exception.PortalException,
202                            com.liferay.portal.kernel.exception.SystemException {
203                    return _userGroup.getGroup();
204            }
205    
206            public int getPrivateLayoutsPageCount()
207                    throws com.liferay.portal.kernel.exception.PortalException,
208                            com.liferay.portal.kernel.exception.SystemException {
209                    return _userGroup.getPrivateLayoutsPageCount();
210            }
211    
212            public boolean hasPrivateLayouts()
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException {
215                    return _userGroup.hasPrivateLayouts();
216            }
217    
218            public int getPublicLayoutsPageCount()
219                    throws com.liferay.portal.kernel.exception.PortalException,
220                            com.liferay.portal.kernel.exception.SystemException {
221                    return _userGroup.getPublicLayoutsPageCount();
222            }
223    
224            public boolean hasPublicLayouts()
225                    throws com.liferay.portal.kernel.exception.PortalException,
226                            com.liferay.portal.kernel.exception.SystemException {
227                    return _userGroup.hasPublicLayouts();
228            }
229    
230            public UserGroup getWrappedUserGroup() {
231                    return _userGroup;
232            }
233    
234            private UserGroup _userGroup;
235    }