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 UserGroupRole}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       UserGroupRole
025     * @generated
026     */
027    public class UserGroupRoleWrapper implements UserGroupRole {
028            public UserGroupRoleWrapper(UserGroupRole userGroupRole) {
029                    _userGroupRole = userGroupRole;
030            }
031    
032            public com.liferay.portal.service.persistence.UserGroupRolePK getPrimaryKey() {
033                    return _userGroupRole.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(
037                    com.liferay.portal.service.persistence.UserGroupRolePK pk) {
038                    _userGroupRole.setPrimaryKey(pk);
039            }
040    
041            public long getUserId() {
042                    return _userGroupRole.getUserId();
043            }
044    
045            public void setUserId(long userId) {
046                    _userGroupRole.setUserId(userId);
047            }
048    
049            public java.lang.String getUserUuid()
050                    throws com.liferay.portal.kernel.exception.SystemException {
051                    return _userGroupRole.getUserUuid();
052            }
053    
054            public void setUserUuid(java.lang.String userUuid) {
055                    _userGroupRole.setUserUuid(userUuid);
056            }
057    
058            public long getGroupId() {
059                    return _userGroupRole.getGroupId();
060            }
061    
062            public void setGroupId(long groupId) {
063                    _userGroupRole.setGroupId(groupId);
064            }
065    
066            public long getRoleId() {
067                    return _userGroupRole.getRoleId();
068            }
069    
070            public void setRoleId(long roleId) {
071                    _userGroupRole.setRoleId(roleId);
072            }
073    
074            public com.liferay.portal.model.UserGroupRole toEscapedModel() {
075                    return _userGroupRole.toEscapedModel();
076            }
077    
078            public boolean isNew() {
079                    return _userGroupRole.isNew();
080            }
081    
082            public void setNew(boolean n) {
083                    _userGroupRole.setNew(n);
084            }
085    
086            public boolean isCachedModel() {
087                    return _userGroupRole.isCachedModel();
088            }
089    
090            public void setCachedModel(boolean cachedModel) {
091                    _userGroupRole.setCachedModel(cachedModel);
092            }
093    
094            public boolean isEscapedModel() {
095                    return _userGroupRole.isEscapedModel();
096            }
097    
098            public void setEscapedModel(boolean escapedModel) {
099                    _userGroupRole.setEscapedModel(escapedModel);
100            }
101    
102            public java.io.Serializable getPrimaryKeyObj() {
103                    return _userGroupRole.getPrimaryKeyObj();
104            }
105    
106            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
107                    return _userGroupRole.getExpandoBridge();
108            }
109    
110            public void setExpandoBridgeAttributes(
111                    com.liferay.portal.service.ServiceContext serviceContext) {
112                    _userGroupRole.setExpandoBridgeAttributes(serviceContext);
113            }
114    
115            public java.lang.Object clone() {
116                    return _userGroupRole.clone();
117            }
118    
119            public int compareTo(com.liferay.portal.model.UserGroupRole userGroupRole) {
120                    return _userGroupRole.compareTo(userGroupRole);
121            }
122    
123            public int hashCode() {
124                    return _userGroupRole.hashCode();
125            }
126    
127            public java.lang.String toString() {
128                    return _userGroupRole.toString();
129            }
130    
131            public java.lang.String toXmlString() {
132                    return _userGroupRole.toXmlString();
133            }
134    
135            public com.liferay.portal.model.Group getGroup()
136                    throws com.liferay.portal.kernel.exception.PortalException,
137                            com.liferay.portal.kernel.exception.SystemException {
138                    return _userGroupRole.getGroup();
139            }
140    
141            public com.liferay.portal.model.Role getRole()
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    return _userGroupRole.getRole();
145            }
146    
147            public com.liferay.portal.model.User getUser()
148                    throws com.liferay.portal.kernel.exception.PortalException,
149                            com.liferay.portal.kernel.exception.SystemException {
150                    return _userGroupRole.getUser();
151            }
152    
153            public UserGroupRole getWrappedUserGroupRole() {
154                    return _userGroupRole;
155            }
156    
157            private UserGroupRole _userGroupRole;
158    }