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 UserGroupRole}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserGroupRole
024     * @generated
025     */
026    public class UserGroupRoleWrapper implements UserGroupRole {
027            public UserGroupRoleWrapper(UserGroupRole userGroupRole) {
028                    _userGroupRole = userGroupRole;
029            }
030    
031            /**
032            * Gets the primary key of this user group role.
033            *
034            * @return the primary key of this user group role
035            */
036            public com.liferay.portal.service.persistence.UserGroupRolePK getPrimaryKey() {
037                    return _userGroupRole.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this user group role
042            *
043            * @param pk the primary key of this user group role
044            */
045            public void setPrimaryKey(
046                    com.liferay.portal.service.persistence.UserGroupRolePK pk) {
047                    _userGroupRole.setPrimaryKey(pk);
048            }
049    
050            /**
051            * Gets the user id of this user group role.
052            *
053            * @return the user id of this user group role
054            */
055            public long getUserId() {
056                    return _userGroupRole.getUserId();
057            }
058    
059            /**
060            * Sets the user id of this user group role.
061            *
062            * @param userId the user id of this user group role
063            */
064            public void setUserId(long userId) {
065                    _userGroupRole.setUserId(userId);
066            }
067    
068            /**
069            * Gets the user uuid of this user group role.
070            *
071            * @return the user uuid of this user group role
072            * @throws SystemException if a system exception occurred
073            */
074            public java.lang.String getUserUuid()
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _userGroupRole.getUserUuid();
077            }
078    
079            /**
080            * Sets the user uuid of this user group role.
081            *
082            * @param userUuid the user uuid of this user group role
083            */
084            public void setUserUuid(java.lang.String userUuid) {
085                    _userGroupRole.setUserUuid(userUuid);
086            }
087    
088            /**
089            * Gets the group id of this user group role.
090            *
091            * @return the group id of this user group role
092            */
093            public long getGroupId() {
094                    return _userGroupRole.getGroupId();
095            }
096    
097            /**
098            * Sets the group id of this user group role.
099            *
100            * @param groupId the group id of this user group role
101            */
102            public void setGroupId(long groupId) {
103                    _userGroupRole.setGroupId(groupId);
104            }
105    
106            /**
107            * Gets the role id of this user group role.
108            *
109            * @return the role id of this user group role
110            */
111            public long getRoleId() {
112                    return _userGroupRole.getRoleId();
113            }
114    
115            /**
116            * Sets the role id of this user group role.
117            *
118            * @param roleId the role id of this user group role
119            */
120            public void setRoleId(long roleId) {
121                    _userGroupRole.setRoleId(roleId);
122            }
123    
124            public boolean isNew() {
125                    return _userGroupRole.isNew();
126            }
127    
128            public void setNew(boolean n) {
129                    _userGroupRole.setNew(n);
130            }
131    
132            public boolean isCachedModel() {
133                    return _userGroupRole.isCachedModel();
134            }
135    
136            public void setCachedModel(boolean cachedModel) {
137                    _userGroupRole.setCachedModel(cachedModel);
138            }
139    
140            public boolean isEscapedModel() {
141                    return _userGroupRole.isEscapedModel();
142            }
143    
144            public void setEscapedModel(boolean escapedModel) {
145                    _userGroupRole.setEscapedModel(escapedModel);
146            }
147    
148            public java.io.Serializable getPrimaryKeyObj() {
149                    return _userGroupRole.getPrimaryKeyObj();
150            }
151    
152            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
153                    return _userGroupRole.getExpandoBridge();
154            }
155    
156            public void setExpandoBridgeAttributes(
157                    com.liferay.portal.service.ServiceContext serviceContext) {
158                    _userGroupRole.setExpandoBridgeAttributes(serviceContext);
159            }
160    
161            public java.lang.Object clone() {
162                    return _userGroupRole.clone();
163            }
164    
165            public int compareTo(com.liferay.portal.model.UserGroupRole userGroupRole) {
166                    return _userGroupRole.compareTo(userGroupRole);
167            }
168    
169            public int hashCode() {
170                    return _userGroupRole.hashCode();
171            }
172    
173            public com.liferay.portal.model.UserGroupRole toEscapedModel() {
174                    return _userGroupRole.toEscapedModel();
175            }
176    
177            public java.lang.String toString() {
178                    return _userGroupRole.toString();
179            }
180    
181            public java.lang.String toXmlString() {
182                    return _userGroupRole.toXmlString();
183            }
184    
185            public com.liferay.portal.model.Group getGroup()
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException {
188                    return _userGroupRole.getGroup();
189            }
190    
191            public com.liferay.portal.model.Role getRole()
192                    throws com.liferay.portal.kernel.exception.PortalException,
193                            com.liferay.portal.kernel.exception.SystemException {
194                    return _userGroupRole.getRole();
195            }
196    
197            public com.liferay.portal.model.User getUser()
198                    throws com.liferay.portal.kernel.exception.PortalException,
199                            com.liferay.portal.kernel.exception.SystemException {
200                    return _userGroupRole.getUser();
201            }
202    
203            public UserGroupRole getWrappedUserGroupRole() {
204                    return _userGroupRole;
205            }
206    
207            private UserGroupRole _userGroupRole;
208    }