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 java.lang.String getType() {
96          return _organization.getType();
97      }
98  
99      public void setType(java.lang.String type) {
100         _organization.setType(type);
101     }
102 
103     public boolean getRecursable() {
104         return _organization.getRecursable();
105     }
106 
107     public boolean isRecursable() {
108         return _organization.isRecursable();
109     }
110 
111     public void setRecursable(boolean recursable) {
112         _organization.setRecursable(recursable);
113     }
114 
115     public long getRegionId() {
116         return _organization.getRegionId();
117     }
118 
119     public void setRegionId(long regionId) {
120         _organization.setRegionId(regionId);
121     }
122 
123     public long getCountryId() {
124         return _organization.getCountryId();
125     }
126 
127     public void setCountryId(long countryId) {
128         _organization.setCountryId(countryId);
129     }
130 
131     public int getStatusId() {
132         return _organization.getStatusId();
133     }
134 
135     public void setStatusId(int statusId) {
136         _organization.setStatusId(statusId);
137     }
138 
139     public java.lang.String getComments() {
140         return _organization.getComments();
141     }
142 
143     public void setComments(java.lang.String comments) {
144         _organization.setComments(comments);
145     }
146 
147     public com.liferay.portal.model.Organization toEscapedModel() {
148         return _organization.toEscapedModel();
149     }
150 
151     public boolean isNew() {
152         return _organization.isNew();
153     }
154 
155     public boolean setNew(boolean n) {
156         return _organization.setNew(n);
157     }
158 
159     public boolean isCachedModel() {
160         return _organization.isCachedModel();
161     }
162 
163     public void setCachedModel(boolean cachedModel) {
164         _organization.setCachedModel(cachedModel);
165     }
166 
167     public boolean isEscapedModel() {
168         return _organization.isEscapedModel();
169     }
170 
171     public void setEscapedModel(boolean escapedModel) {
172         _organization.setEscapedModel(escapedModel);
173     }
174 
175     public java.io.Serializable getPrimaryKeyObj() {
176         return _organization.getPrimaryKeyObj();
177     }
178 
179     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
180         return _organization.getExpandoBridge();
181     }
182 
183     public void setExpandoBridgeAttributes(
184         com.liferay.portal.service.ServiceContext serviceContext) {
185         _organization.setExpandoBridgeAttributes(serviceContext);
186     }
187 
188     public java.lang.Object clone() {
189         return _organization.clone();
190     }
191 
192     public int compareTo(com.liferay.portal.model.Organization organization) {
193         return _organization.compareTo(organization);
194     }
195 
196     public int hashCode() {
197         return _organization.hashCode();
198     }
199 
200     public java.lang.String toString() {
201         return _organization.toString();
202     }
203 
204     public java.lang.String toXmlString() {
205         return _organization.toXmlString();
206     }
207 
208     public java.util.List<com.liferay.portal.model.Organization> getAncestors()
209         throws com.liferay.portal.kernel.exception.PortalException,
210             com.liferay.portal.kernel.exception.SystemException {
211         return _organization.getAncestors();
212     }
213 
214     public com.liferay.portal.model.Organization getParentOrganization()
215         throws com.liferay.portal.kernel.exception.PortalException,
216             com.liferay.portal.kernel.exception.SystemException {
217         return _organization.getParentOrganization();
218     }
219 
220     public com.liferay.portal.model.Address getAddress() {
221         return _organization.getAddress();
222     }
223 
224     public java.util.List<com.liferay.portal.model.Address> getAddresses()
225         throws com.liferay.portal.kernel.exception.SystemException {
226         return _organization.getAddresses();
227     }
228 
229     public java.lang.String[] getChildrenTypes() {
230         return _organization.getChildrenTypes();
231     }
232 
233     public java.util.List<com.liferay.portal.model.Organization> getDescendants()
234         throws com.liferay.portal.kernel.exception.SystemException {
235         return _organization.getDescendants();
236     }
237 
238     public com.liferay.portal.model.Group getGroup() {
239         return _organization.getGroup();
240     }
241 
242     public long getLogoId() {
243         return _organization.getLogoId();
244     }
245 
246     public javax.portlet.PortletPreferences getPreferences()
247         throws com.liferay.portal.kernel.exception.SystemException {
248         return _organization.getPreferences();
249     }
250 
251     public int getPrivateLayoutsPageCount() {
252         return _organization.getPrivateLayoutsPageCount();
253     }
254 
255     public int getPublicLayoutsPageCount() {
256         return _organization.getPublicLayoutsPageCount();
257     }
258 
259     public java.util.Set<String> getReminderQueryQuestions(
260         java.util.Locale locale)
261         throws com.liferay.portal.kernel.exception.SystemException {
262         return _organization.getReminderQueryQuestions(locale);
263     }
264 
265     public java.util.Set<String> getReminderQueryQuestions(
266         java.lang.String languageId)
267         throws com.liferay.portal.kernel.exception.SystemException {
268         return _organization.getReminderQueryQuestions(languageId);
269     }
270 
271     public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
272         throws com.liferay.portal.kernel.exception.SystemException {
273         return _organization.getSuborganizations();
274     }
275 
276     public int getSuborganizationsSize()
277         throws com.liferay.portal.kernel.exception.SystemException {
278         return _organization.getSuborganizationsSize();
279     }
280 
281     public int getTypeOrder() {
282         return _organization.getTypeOrder();
283     }
284 
285     public boolean hasPrivateLayouts() {
286         return _organization.hasPrivateLayouts();
287     }
288 
289     public boolean hasPublicLayouts() {
290         return _organization.hasPublicLayouts();
291     }
292 
293     public boolean hasSuborganizations()
294         throws com.liferay.portal.kernel.exception.SystemException {
295         return _organization.hasSuborganizations();
296     }
297 
298     public boolean isParentable() {
299         return _organization.isParentable();
300     }
301 
302     public boolean isRoot() {
303         return _organization.isRoot();
304     }
305 
306     public Organization getWrappedOrganization() {
307         return _organization;
308     }
309 
310     private Organization _organization;
311 }