1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  
26  /**
27   * <a href="UserGroupRoleSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link UserGroupRole}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       UserGroupRole
40   * @generated
41   */
42  public class UserGroupRoleWrapper implements UserGroupRole {
43      public UserGroupRoleWrapper(UserGroupRole userGroupRole) {
44          _userGroupRole = userGroupRole;
45      }
46  
47      public com.liferay.portal.service.persistence.UserGroupRolePK getPrimaryKey() {
48          return _userGroupRole.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(
52          com.liferay.portal.service.persistence.UserGroupRolePK pk) {
53          _userGroupRole.setPrimaryKey(pk);
54      }
55  
56      public long getUserId() {
57          return _userGroupRole.getUserId();
58      }
59  
60      public void setUserId(long userId) {
61          _userGroupRole.setUserId(userId);
62      }
63  
64      public java.lang.String getUserUuid()
65          throws com.liferay.portal.SystemException {
66          return _userGroupRole.getUserUuid();
67      }
68  
69      public void setUserUuid(java.lang.String userUuid) {
70          _userGroupRole.setUserUuid(userUuid);
71      }
72  
73      public long getGroupId() {
74          return _userGroupRole.getGroupId();
75      }
76  
77      public void setGroupId(long groupId) {
78          _userGroupRole.setGroupId(groupId);
79      }
80  
81      public long getRoleId() {
82          return _userGroupRole.getRoleId();
83      }
84  
85      public void setRoleId(long roleId) {
86          _userGroupRole.setRoleId(roleId);
87      }
88  
89      public com.liferay.portal.model.UserGroupRole toEscapedModel() {
90          return _userGroupRole.toEscapedModel();
91      }
92  
93      public boolean isNew() {
94          return _userGroupRole.isNew();
95      }
96  
97      public boolean setNew(boolean n) {
98          return _userGroupRole.setNew(n);
99      }
100 
101     public boolean isCachedModel() {
102         return _userGroupRole.isCachedModel();
103     }
104 
105     public void setCachedModel(boolean cachedModel) {
106         _userGroupRole.setCachedModel(cachedModel);
107     }
108 
109     public boolean isEscapedModel() {
110         return _userGroupRole.isEscapedModel();
111     }
112 
113     public void setEscapedModel(boolean escapedModel) {
114         _userGroupRole.setEscapedModel(escapedModel);
115     }
116 
117     public java.io.Serializable getPrimaryKeyObj() {
118         return _userGroupRole.getPrimaryKeyObj();
119     }
120 
121     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
122         return _userGroupRole.getExpandoBridge();
123     }
124 
125     public void setExpandoBridgeAttributes(
126         com.liferay.portal.service.ServiceContext serviceContext) {
127         _userGroupRole.setExpandoBridgeAttributes(serviceContext);
128     }
129 
130     public java.lang.Object clone() {
131         return _userGroupRole.clone();
132     }
133 
134     public int compareTo(com.liferay.portal.model.UserGroupRole userGroupRole) {
135         return _userGroupRole.compareTo(userGroupRole);
136     }
137 
138     public int hashCode() {
139         return _userGroupRole.hashCode();
140     }
141 
142     public java.lang.String toString() {
143         return _userGroupRole.toString();
144     }
145 
146     public java.lang.String toXmlString() {
147         return _userGroupRole.toXmlString();
148     }
149 
150     public com.liferay.portal.model.Group getGroup()
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         return _userGroupRole.getGroup();
154     }
155 
156     public com.liferay.portal.model.Role getRole()
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         return _userGroupRole.getRole();
160     }
161 
162     public com.liferay.portal.model.User getUser()
163         throws com.liferay.portal.PortalException,
164             com.liferay.portal.SystemException {
165         return _userGroupRole.getUser();
166     }
167 
168     public UserGroupRole getWrappedUserGroupRole() {
169         return _userGroupRole;
170     }
171 
172     private UserGroupRole _userGroupRole;
173 }