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="UserGroupSoap.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 UserGroup}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       UserGroup
31   * @generated
32   */
33  public class UserGroupWrapper implements UserGroup {
34      public UserGroupWrapper(UserGroup userGroup) {
35          _userGroup = userGroup;
36      }
37  
38      public long getPrimaryKey() {
39          return _userGroup.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _userGroup.setPrimaryKey(pk);
44      }
45  
46      public long getUserGroupId() {
47          return _userGroup.getUserGroupId();
48      }
49  
50      public void setUserGroupId(long userGroupId) {
51          _userGroup.setUserGroupId(userGroupId);
52      }
53  
54      public long getCompanyId() {
55          return _userGroup.getCompanyId();
56      }
57  
58      public void setCompanyId(long companyId) {
59          _userGroup.setCompanyId(companyId);
60      }
61  
62      public long getParentUserGroupId() {
63          return _userGroup.getParentUserGroupId();
64      }
65  
66      public void setParentUserGroupId(long parentUserGroupId) {
67          _userGroup.setParentUserGroupId(parentUserGroupId);
68      }
69  
70      public java.lang.String getName() {
71          return _userGroup.getName();
72      }
73  
74      public void setName(java.lang.String name) {
75          _userGroup.setName(name);
76      }
77  
78      public java.lang.String getDescription() {
79          return _userGroup.getDescription();
80      }
81  
82      public void setDescription(java.lang.String description) {
83          _userGroup.setDescription(description);
84      }
85  
86      public boolean isNew() {
87          return _userGroup.isNew();
88      }
89  
90      public boolean setNew(boolean n) {
91          return _userGroup.setNew(n);
92      }
93  
94      public boolean isCachedModel() {
95          return _userGroup.isCachedModel();
96      }
97  
98      public void setCachedModel(boolean cachedModel) {
99          _userGroup.setCachedModel(cachedModel);
100     }
101 
102     public boolean isEscapedModel() {
103         return _userGroup.isEscapedModel();
104     }
105 
106     public void setEscapedModel(boolean escapedModel) {
107         _userGroup.setEscapedModel(escapedModel);
108     }
109 
110     public java.io.Serializable getPrimaryKeyObj() {
111         return _userGroup.getPrimaryKeyObj();
112     }
113 
114     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
115         return _userGroup.getExpandoBridge();
116     }
117 
118     public void setExpandoBridgeAttributes(
119         com.liferay.portal.service.ServiceContext serviceContext) {
120         _userGroup.setExpandoBridgeAttributes(serviceContext);
121     }
122 
123     public java.lang.Object clone() {
124         return _userGroup.clone();
125     }
126 
127     public int compareTo(com.liferay.portal.model.UserGroup userGroup) {
128         return _userGroup.compareTo(userGroup);
129     }
130 
131     public int hashCode() {
132         return _userGroup.hashCode();
133     }
134 
135     public com.liferay.portal.model.UserGroup toEscapedModel() {
136         return _userGroup.toEscapedModel();
137     }
138 
139     public java.lang.String toString() {
140         return _userGroup.toString();
141     }
142 
143     public java.lang.String toXmlString() {
144         return _userGroup.toXmlString();
145     }
146 
147     public com.liferay.portal.model.Group getGroup() {
148         return _userGroup.getGroup();
149     }
150 
151     public int getPrivateLayoutsPageCount() {
152         return _userGroup.getPrivateLayoutsPageCount();
153     }
154 
155     public boolean hasPrivateLayouts() {
156         return _userGroup.hasPrivateLayouts();
157     }
158 
159     public int getPublicLayoutsPageCount() {
160         return _userGroup.getPublicLayoutsPageCount();
161     }
162 
163     public boolean hasPublicLayouts() {
164         return _userGroup.hasPublicLayouts();
165     }
166 
167     public UserGroup getWrappedUserGroup() {
168         return _userGroup;
169     }
170 
171     private UserGroup _userGroup;
172 }