1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  
26  /**
27   * <a href="OrganizationSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link Organization}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       Organization
40   * @generated
41   */
42  public class OrganizationWrapper implements Organization {
43      public OrganizationWrapper(Organization organization) {
44          _organization = organization;
45      }
46  
47      public long getPrimaryKey() {
48          return _organization.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _organization.setPrimaryKey(pk);
53      }
54  
55      public long getOrganizationId() {
56          return _organization.getOrganizationId();
57      }
58  
59      public void setOrganizationId(long organizationId) {
60          _organization.setOrganizationId(organizationId);
61      }
62  
63      public long getCompanyId() {
64          return _organization.getCompanyId();
65      }
66  
67      public void setCompanyId(long companyId) {
68          _organization.setCompanyId(companyId);
69      }
70  
71      public long getParentOrganizationId() {
72          return _organization.getParentOrganizationId();
73      }
74  
75      public void setParentOrganizationId(long parentOrganizationId) {
76          _organization.setParentOrganizationId(parentOrganizationId);
77      }
78  
79      public long getLeftOrganizationId() {
80          return _organization.getLeftOrganizationId();
81      }
82  
83      public void setLeftOrganizationId(long leftOrganizationId) {
84          _organization.setLeftOrganizationId(leftOrganizationId);
85      }
86  
87      public long getRightOrganizationId() {
88          return _organization.getRightOrganizationId();
89      }
90  
91      public void setRightOrganizationId(long rightOrganizationId) {
92          _organization.setRightOrganizationId(rightOrganizationId);
93      }
94  
95      public java.lang.String getName() {
96          return _organization.getName();
97      }
98  
99      public void setName(java.lang.String name) {
100         _organization.setName(name);
101     }
102 
103     public java.lang.String getType() {
104         return _organization.getType();
105     }
106 
107     public void setType(java.lang.String type) {
108         _organization.setType(type);
109     }
110 
111     public boolean getRecursable() {
112         return _organization.getRecursable();
113     }
114 
115     public boolean isRecursable() {
116         return _organization.isRecursable();
117     }
118 
119     public void setRecursable(boolean recursable) {
120         _organization.setRecursable(recursable);
121     }
122 
123     public long getRegionId() {
124         return _organization.getRegionId();
125     }
126 
127     public void setRegionId(long regionId) {
128         _organization.setRegionId(regionId);
129     }
130 
131     public long getCountryId() {
132         return _organization.getCountryId();
133     }
134 
135     public void setCountryId(long countryId) {
136         _organization.setCountryId(countryId);
137     }
138 
139     public int getStatusId() {
140         return _organization.getStatusId();
141     }
142 
143     public void setStatusId(int statusId) {
144         _organization.setStatusId(statusId);
145     }
146 
147     public java.lang.String getComments() {
148         return _organization.getComments();
149     }
150 
151     public void setComments(java.lang.String comments) {
152         _organization.setComments(comments);
153     }
154 
155     public com.liferay.portal.model.Organization toEscapedModel() {
156         return _organization.toEscapedModel();
157     }
158 
159     public boolean isNew() {
160         return _organization.isNew();
161     }
162 
163     public boolean setNew(boolean n) {
164         return _organization.setNew(n);
165     }
166 
167     public boolean isCachedModel() {
168         return _organization.isCachedModel();
169     }
170 
171     public void setCachedModel(boolean cachedModel) {
172         _organization.setCachedModel(cachedModel);
173     }
174 
175     public boolean isEscapedModel() {
176         return _organization.isEscapedModel();
177     }
178 
179     public void setEscapedModel(boolean escapedModel) {
180         _organization.setEscapedModel(escapedModel);
181     }
182 
183     public java.io.Serializable getPrimaryKeyObj() {
184         return _organization.getPrimaryKeyObj();
185     }
186 
187     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
188         return _organization.getExpandoBridge();
189     }
190 
191     public void setExpandoBridgeAttributes(
192         com.liferay.portal.service.ServiceContext serviceContext) {
193         _organization.setExpandoBridgeAttributes(serviceContext);
194     }
195 
196     public java.lang.Object clone() {
197         return _organization.clone();
198     }
199 
200     public int compareTo(com.liferay.portal.model.Organization organization) {
201         return _organization.compareTo(organization);
202     }
203 
204     public int hashCode() {
205         return _organization.hashCode();
206     }
207 
208     public java.lang.String toString() {
209         return _organization.toString();
210     }
211 
212     public java.lang.String toXmlString() {
213         return _organization.toXmlString();
214     }
215 
216     public java.util.List<com.liferay.portal.model.Organization> getAncestors()
217         throws com.liferay.portal.PortalException,
218             com.liferay.portal.SystemException {
219         return _organization.getAncestors();
220     }
221 
222     public com.liferay.portal.model.Organization getParentOrganization()
223         throws com.liferay.portal.PortalException,
224             com.liferay.portal.SystemException {
225         return _organization.getParentOrganization();
226     }
227 
228     public com.liferay.portal.model.Address getAddress() {
229         return _organization.getAddress();
230     }
231 
232     public java.util.List<com.liferay.portal.model.Address> getAddresses()
233         throws com.liferay.portal.SystemException {
234         return _organization.getAddresses();
235     }
236 
237     public java.lang.String[] getChildrenTypes() {
238         return _organization.getChildrenTypes();
239     }
240 
241     public java.util.List<com.liferay.portal.model.Organization> getDescendants()
242         throws com.liferay.portal.SystemException {
243         return _organization.getDescendants();
244     }
245 
246     public com.liferay.portal.model.Group getGroup() {
247         return _organization.getGroup();
248     }
249 
250     public long getLogoId() {
251         return _organization.getLogoId();
252     }
253 
254     public javax.portlet.PortletPreferences getPreferences()
255         throws com.liferay.portal.SystemException {
256         return _organization.getPreferences();
257     }
258 
259     public int getPrivateLayoutsPageCount() {
260         return _organization.getPrivateLayoutsPageCount();
261     }
262 
263     public int getPublicLayoutsPageCount() {
264         return _organization.getPublicLayoutsPageCount();
265     }
266 
267     public java.util.Set<String> getReminderQueryQuestions(
268         java.util.Locale locale) throws com.liferay.portal.SystemException {
269         return _organization.getReminderQueryQuestions(locale);
270     }
271 
272     public java.util.Set<String> getReminderQueryQuestions(
273         java.lang.String languageId) throws com.liferay.portal.SystemException {
274         return _organization.getReminderQueryQuestions(languageId);
275     }
276 
277     public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
278         throws com.liferay.portal.SystemException {
279         return _organization.getSuborganizations();
280     }
281 
282     public int getSuborganizationsSize()
283         throws com.liferay.portal.SystemException {
284         return _organization.getSuborganizationsSize();
285     }
286 
287     public int getTypeOrder() {
288         return _organization.getTypeOrder();
289     }
290 
291     public boolean hasPrivateLayouts() {
292         return _organization.hasPrivateLayouts();
293     }
294 
295     public boolean hasPublicLayouts() {
296         return _organization.hasPublicLayouts();
297     }
298 
299     public boolean hasSuborganizations()
300         throws com.liferay.portal.SystemException {
301         return _organization.hasSuborganizations();
302     }
303 
304     public boolean isParentable() {
305         return _organization.isParentable();
306     }
307 
308     public boolean isRoot() {
309         return _organization.isRoot();
310     }
311 
312     public Organization getWrappedOrganization() {
313         return _organization;
314     }
315 
316     private Organization _organization;
317 }