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="OrgGroupRoleSoap.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 OrgGroupRole}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       OrgGroupRole
32   * @generated
33   */
34  public class OrgGroupRoleWrapper implements OrgGroupRole {
35      public OrgGroupRoleWrapper(OrgGroupRole orgGroupRole) {
36          _orgGroupRole = orgGroupRole;
37      }
38  
39      public com.liferay.portal.service.persistence.OrgGroupRolePK getPrimaryKey() {
40          return _orgGroupRole.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(
44          com.liferay.portal.service.persistence.OrgGroupRolePK pk) {
45          _orgGroupRole.setPrimaryKey(pk);
46      }
47  
48      public long getOrganizationId() {
49          return _orgGroupRole.getOrganizationId();
50      }
51  
52      public void setOrganizationId(long organizationId) {
53          _orgGroupRole.setOrganizationId(organizationId);
54      }
55  
56      public long getGroupId() {
57          return _orgGroupRole.getGroupId();
58      }
59  
60      public void setGroupId(long groupId) {
61          _orgGroupRole.setGroupId(groupId);
62      }
63  
64      public long getRoleId() {
65          return _orgGroupRole.getRoleId();
66      }
67  
68      public void setRoleId(long roleId) {
69          _orgGroupRole.setRoleId(roleId);
70      }
71  
72      public com.liferay.portal.model.OrgGroupRole toEscapedModel() {
73          return _orgGroupRole.toEscapedModel();
74      }
75  
76      public boolean isNew() {
77          return _orgGroupRole.isNew();
78      }
79  
80      public boolean setNew(boolean n) {
81          return _orgGroupRole.setNew(n);
82      }
83  
84      public boolean isCachedModel() {
85          return _orgGroupRole.isCachedModel();
86      }
87  
88      public void setCachedModel(boolean cachedModel) {
89          _orgGroupRole.setCachedModel(cachedModel);
90      }
91  
92      public boolean isEscapedModel() {
93          return _orgGroupRole.isEscapedModel();
94      }
95  
96      public void setEscapedModel(boolean escapedModel) {
97          _orgGroupRole.setEscapedModel(escapedModel);
98      }
99  
100     public java.io.Serializable getPrimaryKeyObj() {
101         return _orgGroupRole.getPrimaryKeyObj();
102     }
103 
104     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
105         return _orgGroupRole.getExpandoBridge();
106     }
107 
108     public void setExpandoBridgeAttributes(
109         com.liferay.portal.service.ServiceContext serviceContext) {
110         _orgGroupRole.setExpandoBridgeAttributes(serviceContext);
111     }
112 
113     public java.lang.Object clone() {
114         return _orgGroupRole.clone();
115     }
116 
117     public int compareTo(com.liferay.portal.model.OrgGroupRole orgGroupRole) {
118         return _orgGroupRole.compareTo(orgGroupRole);
119     }
120 
121     public int hashCode() {
122         return _orgGroupRole.hashCode();
123     }
124 
125     public java.lang.String toString() {
126         return _orgGroupRole.toString();
127     }
128 
129     public java.lang.String toXmlString() {
130         return _orgGroupRole.toXmlString();
131     }
132 
133     public boolean containsOrganization(
134         java.util.List<com.liferay.portal.model.Organization> organizations) {
135         return _orgGroupRole.containsOrganization(organizations);
136     }
137 
138     public boolean containsGroup(
139         java.util.List<com.liferay.portal.model.Group> groups) {
140         return _orgGroupRole.containsGroup(groups);
141     }
142 
143     public OrgGroupRole getWrappedOrgGroupRole() {
144         return _orgGroupRole;
145     }
146 
147     private OrgGroupRole _orgGroupRole;
148 }