1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="UserGroupRoleSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link UserGroupRole}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       UserGroupRole
32   * @generated
33   */
34  public class UserGroupRoleWrapper implements UserGroupRole {
35      public UserGroupRoleWrapper(UserGroupRole userGroupRole) {
36          _userGroupRole = userGroupRole;
37      }
38  
39      public com.liferay.portal.service.persistence.UserGroupRolePK getPrimaryKey() {
40          return _userGroupRole.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(
44          com.liferay.portal.service.persistence.UserGroupRolePK pk) {
45          _userGroupRole.setPrimaryKey(pk);
46      }
47  
48      public long getUserId() {
49          return _userGroupRole.getUserId();
50      }
51  
52      public void setUserId(long userId) {
53          _userGroupRole.setUserId(userId);
54      }
55  
56      public java.lang.String getUserUuid()
57          throws com.liferay.portal.kernel.exception.SystemException {
58          return _userGroupRole.getUserUuid();
59      }
60  
61      public void setUserUuid(java.lang.String userUuid) {
62          _userGroupRole.setUserUuid(userUuid);
63      }
64  
65      public long getGroupId() {
66          return _userGroupRole.getGroupId();
67      }
68  
69      public void setGroupId(long groupId) {
70          _userGroupRole.setGroupId(groupId);
71      }
72  
73      public long getRoleId() {
74          return _userGroupRole.getRoleId();
75      }
76  
77      public void setRoleId(long roleId) {
78          _userGroupRole.setRoleId(roleId);
79      }
80  
81      public com.liferay.portal.model.UserGroupRole toEscapedModel() {
82          return _userGroupRole.toEscapedModel();
83      }
84  
85      public boolean isNew() {
86          return _userGroupRole.isNew();
87      }
88  
89      public boolean setNew(boolean n) {
90          return _userGroupRole.setNew(n);
91      }
92  
93      public boolean isCachedModel() {
94          return _userGroupRole.isCachedModel();
95      }
96  
97      public void setCachedModel(boolean cachedModel) {
98          _userGroupRole.setCachedModel(cachedModel);
99      }
100 
101     public boolean isEscapedModel() {
102         return _userGroupRole.isEscapedModel();
103     }
104 
105     public void setEscapedModel(boolean escapedModel) {
106         _userGroupRole.setEscapedModel(escapedModel);
107     }
108 
109     public java.io.Serializable getPrimaryKeyObj() {
110         return _userGroupRole.getPrimaryKeyObj();
111     }
112 
113     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
114         return _userGroupRole.getExpandoBridge();
115     }
116 
117     public void setExpandoBridgeAttributes(
118         com.liferay.portal.service.ServiceContext serviceContext) {
119         _userGroupRole.setExpandoBridgeAttributes(serviceContext);
120     }
121 
122     public java.lang.Object clone() {
123         return _userGroupRole.clone();
124     }
125 
126     public int compareTo(com.liferay.portal.model.UserGroupRole userGroupRole) {
127         return _userGroupRole.compareTo(userGroupRole);
128     }
129 
130     public int hashCode() {
131         return _userGroupRole.hashCode();
132     }
133 
134     public java.lang.String toString() {
135         return _userGroupRole.toString();
136     }
137 
138     public java.lang.String toXmlString() {
139         return _userGroupRole.toXmlString();
140     }
141 
142     public com.liferay.portal.model.Group getGroup()
143         throws com.liferay.portal.kernel.exception.PortalException,
144             com.liferay.portal.kernel.exception.SystemException {
145         return _userGroupRole.getGroup();
146     }
147 
148     public com.liferay.portal.model.Role getRole()
149         throws com.liferay.portal.kernel.exception.PortalException,
150             com.liferay.portal.kernel.exception.SystemException {
151         return _userGroupRole.getRole();
152     }
153 
154     public com.liferay.portal.model.User getUser()
155         throws com.liferay.portal.kernel.exception.PortalException,
156             com.liferay.portal.kernel.exception.SystemException {
157         return _userGroupRole.getUser();
158     }
159 
160     public UserGroupRole getWrappedUserGroupRole() {
161         return _userGroupRole;
162     }
163 
164     private UserGroupRole _userGroupRole;
165 }