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="OrganizationSoap.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 Organization}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       Organization
31   * @generated
32   */
33  public class OrganizationWrapper implements Organization {
34      public OrganizationWrapper(Organization organization) {
35          _organization = organization;
36      }
37  
38      public long getPrimaryKey() {
39          return _organization.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _organization.setPrimaryKey(pk);
44      }
45  
46      public long getOrganizationId() {
47          return _organization.getOrganizationId();
48      }
49  
50      public void setOrganizationId(long organizationId) {
51          _organization.setOrganizationId(organizationId);
52      }
53  
54      public long getCompanyId() {
55          return _organization.getCompanyId();
56      }
57  
58      public void setCompanyId(long companyId) {
59          _organization.setCompanyId(companyId);
60      }
61  
62      public long getParentOrganizationId() {
63          return _organization.getParentOrganizationId();
64      }
65  
66      public void setParentOrganizationId(long parentOrganizationId) {
67          _organization.setParentOrganizationId(parentOrganizationId);
68      }
69  
70      public long getLeftOrganizationId() {
71          return _organization.getLeftOrganizationId();
72      }
73  
74      public void setLeftOrganizationId(long leftOrganizationId) {
75          _organization.setLeftOrganizationId(leftOrganizationId);
76      }
77  
78      public long getRightOrganizationId() {
79          return _organization.getRightOrganizationId();
80      }
81  
82      public void setRightOrganizationId(long rightOrganizationId) {
83          _organization.setRightOrganizationId(rightOrganizationId);
84      }
85  
86      public java.lang.String getName() {
87          return _organization.getName();
88      }
89  
90      public void setName(java.lang.String name) {
91          _organization.setName(name);
92      }
93  
94      public java.lang.String getType() {
95          return _organization.getType();
96      }
97  
98      public void setType(java.lang.String type) {
99          _organization.setType(type);
100     }
101 
102     public boolean getRecursable() {
103         return _organization.getRecursable();
104     }
105 
106     public boolean isRecursable() {
107         return _organization.isRecursable();
108     }
109 
110     public void setRecursable(boolean recursable) {
111         _organization.setRecursable(recursable);
112     }
113 
114     public long getRegionId() {
115         return _organization.getRegionId();
116     }
117 
118     public void setRegionId(long regionId) {
119         _organization.setRegionId(regionId);
120     }
121 
122     public long getCountryId() {
123         return _organization.getCountryId();
124     }
125 
126     public void setCountryId(long countryId) {
127         _organization.setCountryId(countryId);
128     }
129 
130     public int getStatusId() {
131         return _organization.getStatusId();
132     }
133 
134     public void setStatusId(int statusId) {
135         _organization.setStatusId(statusId);
136     }
137 
138     public java.lang.String getComments() {
139         return _organization.getComments();
140     }
141 
142     public void setComments(java.lang.String comments) {
143         _organization.setComments(comments);
144     }
145 
146     public boolean isNew() {
147         return _organization.isNew();
148     }
149 
150     public boolean setNew(boolean n) {
151         return _organization.setNew(n);
152     }
153 
154     public boolean isCachedModel() {
155         return _organization.isCachedModel();
156     }
157 
158     public void setCachedModel(boolean cachedModel) {
159         _organization.setCachedModel(cachedModel);
160     }
161 
162     public boolean isEscapedModel() {
163         return _organization.isEscapedModel();
164     }
165 
166     public void setEscapedModel(boolean escapedModel) {
167         _organization.setEscapedModel(escapedModel);
168     }
169 
170     public java.io.Serializable getPrimaryKeyObj() {
171         return _organization.getPrimaryKeyObj();
172     }
173 
174     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
175         return _organization.getExpandoBridge();
176     }
177 
178     public void setExpandoBridgeAttributes(
179         com.liferay.portal.service.ServiceContext serviceContext) {
180         _organization.setExpandoBridgeAttributes(serviceContext);
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 com.liferay.portal.model.Organization toEscapedModel() {
196         return _organization.toEscapedModel();
197     }
198 
199     public java.lang.String toString() {
200         return _organization.toString();
201     }
202 
203     public java.lang.String toXmlString() {
204         return _organization.toXmlString();
205     }
206 
207     public java.util.List<com.liferay.portal.model.Organization> getAncestors()
208         throws com.liferay.portal.PortalException,
209             com.liferay.portal.SystemException {
210         return _organization.getAncestors();
211     }
212 
213     public com.liferay.portal.model.Organization getParentOrganization()
214         throws com.liferay.portal.PortalException,
215             com.liferay.portal.SystemException {
216         return _organization.getParentOrganization();
217     }
218 
219     public com.liferay.portal.model.Address getAddress() {
220         return _organization.getAddress();
221     }
222 
223     public java.util.List<com.liferay.portal.model.Address> getAddresses()
224         throws com.liferay.portal.SystemException {
225         return _organization.getAddresses();
226     }
227 
228     public java.lang.String[] getChildrenTypes() {
229         return _organization.getChildrenTypes();
230     }
231 
232     public java.util.List<com.liferay.portal.model.Organization> getDescendants()
233         throws com.liferay.portal.SystemException {
234         return _organization.getDescendants();
235     }
236 
237     public com.liferay.portal.model.Group getGroup() {
238         return _organization.getGroup();
239     }
240 
241     public long getLogoId() {
242         return _organization.getLogoId();
243     }
244 
245     public javax.portlet.PortletPreferences getPreferences()
246         throws com.liferay.portal.SystemException {
247         return _organization.getPreferences();
248     }
249 
250     public int getPrivateLayoutsPageCount() {
251         return _organization.getPrivateLayoutsPageCount();
252     }
253 
254     public int getPublicLayoutsPageCount() {
255         return _organization.getPublicLayoutsPageCount();
256     }
257 
258     public java.util.Set<java.lang.String> getReminderQueryQuestions(
259         java.util.Locale locale) throws com.liferay.portal.SystemException {
260         return _organization.getReminderQueryQuestions(locale);
261     }
262 
263     public java.util.Set<java.lang.String> getReminderQueryQuestions(
264         java.lang.String languageId) throws com.liferay.portal.SystemException {
265         return _organization.getReminderQueryQuestions(languageId);
266     }
267 
268     public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
269         throws com.liferay.portal.SystemException {
270         return _organization.getSuborganizations();
271     }
272 
273     public int getSuborganizationsSize()
274         throws com.liferay.portal.SystemException {
275         return _organization.getSuborganizationsSize();
276     }
277 
278     public int getTypeOrder() {
279         return _organization.getTypeOrder();
280     }
281 
282     public boolean hasPrivateLayouts() {
283         return _organization.hasPrivateLayouts();
284     }
285 
286     public boolean hasPublicLayouts() {
287         return _organization.hasPublicLayouts();
288     }
289 
290     public boolean hasSuborganizations()
291         throws com.liferay.portal.SystemException {
292         return _organization.hasSuborganizations();
293     }
294 
295     public boolean isParentable() {
296         return _organization.isParentable();
297     }
298 
299     public boolean isRoot() {
300         return _organization.isRoot();
301     }
302 
303     public Organization getWrappedOrganization() {
304         return _organization;
305     }
306 
307     private Organization _organization;
308 }