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="OrganizationSoap.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 Organization}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       Organization
32   * @generated
33   */
34  public class OrganizationWrapper implements Organization {
35      public OrganizationWrapper(Organization organization) {
36          _organization = organization;
37      }
38  
39      public long getPrimaryKey() {
40          return _organization.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _organization.setPrimaryKey(pk);
45      }
46  
47      public long getOrganizationId() {
48          return _organization.getOrganizationId();
49      }
50  
51      public void setOrganizationId(long organizationId) {
52          _organization.setOrganizationId(organizationId);
53      }
54  
55      public long getCompanyId() {
56          return _organization.getCompanyId();
57      }
58  
59      public void setCompanyId(long companyId) {
60          _organization.setCompanyId(companyId);
61      }
62  
63      public long getParentOrganizationId() {
64          return _organization.getParentOrganizationId();
65      }
66  
67      public void setParentOrganizationId(long parentOrganizationId) {
68          _organization.setParentOrganizationId(parentOrganizationId);
69      }
70  
71      public long getLeftOrganizationId() {
72          return _organization.getLeftOrganizationId();
73      }
74  
75      public void setLeftOrganizationId(long leftOrganizationId) {
76          _organization.setLeftOrganizationId(leftOrganizationId);
77      }
78  
79      public long getRightOrganizationId() {
80          return _organization.getRightOrganizationId();
81      }
82  
83      public void setRightOrganizationId(long rightOrganizationId) {
84          _organization.setRightOrganizationId(rightOrganizationId);
85      }
86  
87      public java.lang.String getName() {
88          return _organization.getName();
89      }
90  
91      public void setName(java.lang.String name) {
92          _organization.setName(name);
93      }
94  
95      public boolean getLocation() {
96          return _organization.getLocation();
97      }
98  
99      public boolean isLocation() {
100         return _organization.isLocation();
101     }
102 
103     public void setLocation(boolean location) {
104         _organization.setLocation(location);
105     }
106 
107     public boolean getRecursable() {
108         return _organization.getRecursable();
109     }
110 
111     public boolean isRecursable() {
112         return _organization.isRecursable();
113     }
114 
115     public void setRecursable(boolean recursable) {
116         _organization.setRecursable(recursable);
117     }
118 
119     public long getRegionId() {
120         return _organization.getRegionId();
121     }
122 
123     public void setRegionId(long regionId) {
124         _organization.setRegionId(regionId);
125     }
126 
127     public long getCountryId() {
128         return _organization.getCountryId();
129     }
130 
131     public void setCountryId(long countryId) {
132         _organization.setCountryId(countryId);
133     }
134 
135     public int getStatusId() {
136         return _organization.getStatusId();
137     }
138 
139     public void setStatusId(int statusId) {
140         _organization.setStatusId(statusId);
141     }
142 
143     public java.lang.String getComments() {
144         return _organization.getComments();
145     }
146 
147     public void setComments(java.lang.String comments) {
148         _organization.setComments(comments);
149     }
150 
151     public com.liferay.portal.model.Organization toEscapedModel() {
152         return _organization.toEscapedModel();
153     }
154 
155     public boolean isNew() {
156         return _organization.isNew();
157     }
158 
159     public boolean setNew(boolean n) {
160         return _organization.setNew(n);
161     }
162 
163     public boolean isCachedModel() {
164         return _organization.isCachedModel();
165     }
166 
167     public void setCachedModel(boolean cachedModel) {
168         _organization.setCachedModel(cachedModel);
169     }
170 
171     public boolean isEscapedModel() {
172         return _organization.isEscapedModel();
173     }
174 
175     public void setEscapedModel(boolean escapedModel) {
176         _organization.setEscapedModel(escapedModel);
177     }
178 
179     public java.io.Serializable getPrimaryKeyObj() {
180         return _organization.getPrimaryKeyObj();
181     }
182 
183     public java.lang.Object clone() {
184         return _organization.clone();
185     }
186 
187     public int compareTo(com.liferay.portal.model.Organization organization) {
188         return _organization.compareTo(organization);
189     }
190 
191     public int hashCode() {
192         return _organization.hashCode();
193     }
194 
195     public java.lang.String toString() {
196         return _organization.toString();
197     }
198 
199     public java.lang.String toXmlString() {
200         return _organization.toXmlString();
201     }
202 
203     public com.liferay.portal.model.Address getAddress() {
204         return _organization.getAddress();
205     }
206 
207     public java.util.List<com.liferay.portal.model.Address> getAddresses()
208         throws com.liferay.portal.SystemException {
209         return _organization.getAddresses();
210     }
211 
212     public com.liferay.portal.model.Group getGroup() {
213         return _organization.getGroup();
214     }
215 
216     public com.liferay.portal.model.Organization getParentOrganization()
217         throws com.liferay.portal.PortalException,
218             com.liferay.portal.SystemException {
219         return _organization.getParentOrganization();
220     }
221 
222     public int getPrivateLayoutsPageCount() {
223         return _organization.getPrivateLayoutsPageCount();
224     }
225 
226     public int getPublicLayoutsPageCount() {
227         return _organization.getPublicLayoutsPageCount();
228     }
229 
230     public int getType() {
231         return _organization.getType();
232     }
233 
234     public int getType(boolean location) {
235         return _organization.getType(location);
236     }
237 
238     public java.lang.String getTypeLabel() {
239         return _organization.getTypeLabel();
240     }
241 
242     public java.lang.String getTypeLabel(int type) {
243         return _organization.getTypeLabel(type);
244     }
245 
246     public boolean hasPrivateLayouts() {
247         return _organization.hasPrivateLayouts();
248     }
249 
250     public boolean hasPublicLayouts() {
251         return _organization.hasPublicLayouts();
252     }
253 
254     public boolean isRegular() {
255         return _organization.isRegular();
256     }
257 
258     public boolean isRoot() {
259         return _organization.isRoot();
260     }
261 
262     public Organization getWrappedOrganization() {
263         return _organization;
264     }
265 
266     private Organization _organization;
267 }