1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  /**
18   * <a href="OrgGroupRoleSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link OrgGroupRole}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       OrgGroupRole
31   * @generated
32   */
33  public class OrgGroupRoleWrapper implements OrgGroupRole {
34      public OrgGroupRoleWrapper(OrgGroupRole orgGroupRole) {
35          _orgGroupRole = orgGroupRole;
36      }
37  
38      public com.liferay.portal.service.persistence.OrgGroupRolePK getPrimaryKey() {
39          return _orgGroupRole.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(
43          com.liferay.portal.service.persistence.OrgGroupRolePK pk) {
44          _orgGroupRole.setPrimaryKey(pk);
45      }
46  
47      public long getOrganizationId() {
48          return _orgGroupRole.getOrganizationId();
49      }
50  
51      public void setOrganizationId(long organizationId) {
52          _orgGroupRole.setOrganizationId(organizationId);
53      }
54  
55      public long getGroupId() {
56          return _orgGroupRole.getGroupId();
57      }
58  
59      public void setGroupId(long groupId) {
60          _orgGroupRole.setGroupId(groupId);
61      }
62  
63      public long getRoleId() {
64          return _orgGroupRole.getRoleId();
65      }
66  
67      public void setRoleId(long roleId) {
68          _orgGroupRole.setRoleId(roleId);
69      }
70  
71      public boolean isNew() {
72          return _orgGroupRole.isNew();
73      }
74  
75      public boolean setNew(boolean n) {
76          return _orgGroupRole.setNew(n);
77      }
78  
79      public boolean isCachedModel() {
80          return _orgGroupRole.isCachedModel();
81      }
82  
83      public void setCachedModel(boolean cachedModel) {
84          _orgGroupRole.setCachedModel(cachedModel);
85      }
86  
87      public boolean isEscapedModel() {
88          return _orgGroupRole.isEscapedModel();
89      }
90  
91      public void setEscapedModel(boolean escapedModel) {
92          _orgGroupRole.setEscapedModel(escapedModel);
93      }
94  
95      public java.io.Serializable getPrimaryKeyObj() {
96          return _orgGroupRole.getPrimaryKeyObj();
97      }
98  
99      public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
100         return _orgGroupRole.getExpandoBridge();
101     }
102 
103     public void setExpandoBridgeAttributes(
104         com.liferay.portal.service.ServiceContext serviceContext) {
105         _orgGroupRole.setExpandoBridgeAttributes(serviceContext);
106     }
107 
108     public java.lang.Object clone() {
109         return _orgGroupRole.clone();
110     }
111 
112     public int compareTo(com.liferay.portal.model.OrgGroupRole orgGroupRole) {
113         return _orgGroupRole.compareTo(orgGroupRole);
114     }
115 
116     public int hashCode() {
117         return _orgGroupRole.hashCode();
118     }
119 
120     public com.liferay.portal.model.OrgGroupRole toEscapedModel() {
121         return _orgGroupRole.toEscapedModel();
122     }
123 
124     public java.lang.String toString() {
125         return _orgGroupRole.toString();
126     }
127 
128     public java.lang.String toXmlString() {
129         return _orgGroupRole.toXmlString();
130     }
131 
132     public boolean containsOrganization(
133         java.util.List<com.liferay.portal.model.Organization> organizations) {
134         return _orgGroupRole.containsOrganization(organizations);
135     }
136 
137     public boolean containsGroup(
138         java.util.List<com.liferay.portal.model.Group> groups) {
139         return _orgGroupRole.containsGroup(groups);
140     }
141 
142     public OrgGroupRole getWrappedOrgGroupRole() {
143         return _orgGroupRole;
144     }
145 
146     private OrgGroupRole _orgGroupRole;
147 }