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