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