001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Organization}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Organization
024     * @generated
025     */
026    public class OrganizationWrapper implements Organization {
027            public OrganizationWrapper(Organization organization) {
028                    _organization = organization;
029            }
030    
031            /**
032            * Gets the primary key of this organization.
033            *
034            * @return the primary key of this organization
035            */
036            public long getPrimaryKey() {
037                    return _organization.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this organization
042            *
043            * @param pk the primary key of this organization
044            */
045            public void setPrimaryKey(long pk) {
046                    _organization.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the organization id of this organization.
051            *
052            * @return the organization id of this organization
053            */
054            public long getOrganizationId() {
055                    return _organization.getOrganizationId();
056            }
057    
058            /**
059            * Sets the organization id of this organization.
060            *
061            * @param organizationId the organization id of this organization
062            */
063            public void setOrganizationId(long organizationId) {
064                    _organization.setOrganizationId(organizationId);
065            }
066    
067            /**
068            * Gets the company id of this organization.
069            *
070            * @return the company id of this organization
071            */
072            public long getCompanyId() {
073                    return _organization.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this organization.
078            *
079            * @param companyId the company id of this organization
080            */
081            public void setCompanyId(long companyId) {
082                    _organization.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the parent organization id of this organization.
087            *
088            * @return the parent organization id of this organization
089            */
090            public long getParentOrganizationId() {
091                    return _organization.getParentOrganizationId();
092            }
093    
094            /**
095            * Sets the parent organization id of this organization.
096            *
097            * @param parentOrganizationId the parent organization id of this organization
098            */
099            public void setParentOrganizationId(long parentOrganizationId) {
100                    _organization.setParentOrganizationId(parentOrganizationId);
101            }
102    
103            /**
104            * Gets the left organization id of this organization.
105            *
106            * @return the left organization id of this organization
107            */
108            public long getLeftOrganizationId() {
109                    return _organization.getLeftOrganizationId();
110            }
111    
112            /**
113            * Sets the left organization id of this organization.
114            *
115            * @param leftOrganizationId the left organization id of this organization
116            */
117            public void setLeftOrganizationId(long leftOrganizationId) {
118                    _organization.setLeftOrganizationId(leftOrganizationId);
119            }
120    
121            /**
122            * Gets the right organization id of this organization.
123            *
124            * @return the right organization id of this organization
125            */
126            public long getRightOrganizationId() {
127                    return _organization.getRightOrganizationId();
128            }
129    
130            /**
131            * Sets the right organization id of this organization.
132            *
133            * @param rightOrganizationId the right organization id of this organization
134            */
135            public void setRightOrganizationId(long rightOrganizationId) {
136                    _organization.setRightOrganizationId(rightOrganizationId);
137            }
138    
139            /**
140            * Gets the name of this organization.
141            *
142            * @return the name of this organization
143            */
144            public java.lang.String getName() {
145                    return _organization.getName();
146            }
147    
148            /**
149            * Sets the name of this organization.
150            *
151            * @param name the name of this organization
152            */
153            public void setName(java.lang.String name) {
154                    _organization.setName(name);
155            }
156    
157            /**
158            * Gets the type of this organization.
159            *
160            * @return the type of this organization
161            */
162            public java.lang.String getType() {
163                    return _organization.getType();
164            }
165    
166            /**
167            * Sets the type of this organization.
168            *
169            * @param type the type of this organization
170            */
171            public void setType(java.lang.String type) {
172                    _organization.setType(type);
173            }
174    
175            /**
176            * Gets the recursable of this organization.
177            *
178            * @return the recursable of this organization
179            */
180            public boolean getRecursable() {
181                    return _organization.getRecursable();
182            }
183    
184            /**
185            * Determines whether this organization is recursable.
186            *
187            * @return whether this organization is recursable
188            */
189            public boolean isRecursable() {
190                    return _organization.isRecursable();
191            }
192    
193            /**
194            * Sets whether this {$entity.humanName} is recursable.
195            *
196            * @param recursable the recursable of this organization
197            */
198            public void setRecursable(boolean recursable) {
199                    _organization.setRecursable(recursable);
200            }
201    
202            /**
203            * Gets the region id of this organization.
204            *
205            * @return the region id of this organization
206            */
207            public long getRegionId() {
208                    return _organization.getRegionId();
209            }
210    
211            /**
212            * Sets the region id of this organization.
213            *
214            * @param regionId the region id of this organization
215            */
216            public void setRegionId(long regionId) {
217                    _organization.setRegionId(regionId);
218            }
219    
220            /**
221            * Gets the country id of this organization.
222            *
223            * @return the country id of this organization
224            */
225            public long getCountryId() {
226                    return _organization.getCountryId();
227            }
228    
229            /**
230            * Sets the country id of this organization.
231            *
232            * @param countryId the country id of this organization
233            */
234            public void setCountryId(long countryId) {
235                    _organization.setCountryId(countryId);
236            }
237    
238            /**
239            * Gets the status id of this organization.
240            *
241            * @return the status id of this organization
242            */
243            public int getStatusId() {
244                    return _organization.getStatusId();
245            }
246    
247            /**
248            * Sets the status id of this organization.
249            *
250            * @param statusId the status id of this organization
251            */
252            public void setStatusId(int statusId) {
253                    _organization.setStatusId(statusId);
254            }
255    
256            /**
257            * Gets the comments of this organization.
258            *
259            * @return the comments of this organization
260            */
261            public java.lang.String getComments() {
262                    return _organization.getComments();
263            }
264    
265            /**
266            * Sets the comments of this organization.
267            *
268            * @param comments the comments of this organization
269            */
270            public void setComments(java.lang.String comments) {
271                    _organization.setComments(comments);
272            }
273    
274            public boolean isNew() {
275                    return _organization.isNew();
276            }
277    
278            public void setNew(boolean n) {
279                    _organization.setNew(n);
280            }
281    
282            public boolean isCachedModel() {
283                    return _organization.isCachedModel();
284            }
285    
286            public void setCachedModel(boolean cachedModel) {
287                    _organization.setCachedModel(cachedModel);
288            }
289    
290            public boolean isEscapedModel() {
291                    return _organization.isEscapedModel();
292            }
293    
294            public void setEscapedModel(boolean escapedModel) {
295                    _organization.setEscapedModel(escapedModel);
296            }
297    
298            public java.io.Serializable getPrimaryKeyObj() {
299                    return _organization.getPrimaryKeyObj();
300            }
301    
302            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
303                    return _organization.getExpandoBridge();
304            }
305    
306            public void setExpandoBridgeAttributes(
307                    com.liferay.portal.service.ServiceContext serviceContext) {
308                    _organization.setExpandoBridgeAttributes(serviceContext);
309            }
310    
311            public java.lang.Object clone() {
312                    return _organization.clone();
313            }
314    
315            public int compareTo(com.liferay.portal.model.Organization organization) {
316                    return _organization.compareTo(organization);
317            }
318    
319            public int hashCode() {
320                    return _organization.hashCode();
321            }
322    
323            public com.liferay.portal.model.Organization toEscapedModel() {
324                    return _organization.toEscapedModel();
325            }
326    
327            public java.lang.String toString() {
328                    return _organization.toString();
329            }
330    
331            public java.lang.String toXmlString() {
332                    return _organization.toXmlString();
333            }
334    
335            public java.util.List<com.liferay.portal.model.Organization> getAncestors()
336                    throws com.liferay.portal.kernel.exception.PortalException,
337                            com.liferay.portal.kernel.exception.SystemException {
338                    return _organization.getAncestors();
339            }
340    
341            public com.liferay.portal.model.Organization getParentOrganization()
342                    throws com.liferay.portal.kernel.exception.PortalException,
343                            com.liferay.portal.kernel.exception.SystemException {
344                    return _organization.getParentOrganization();
345            }
346    
347            public com.liferay.portal.model.Address getAddress() {
348                    return _organization.getAddress();
349            }
350    
351            public java.util.List<com.liferay.portal.model.Address> getAddresses()
352                    throws com.liferay.portal.kernel.exception.SystemException {
353                    return _organization.getAddresses();
354            }
355    
356            public java.lang.String[] getChildrenTypes() {
357                    return _organization.getChildrenTypes();
358            }
359    
360            public java.util.List<com.liferay.portal.model.Organization> getDescendants()
361                    throws com.liferay.portal.kernel.exception.SystemException {
362                    return _organization.getDescendants();
363            }
364    
365            public com.liferay.portal.model.Group getGroup() {
366                    return _organization.getGroup();
367            }
368    
369            public long getLogoId() {
370                    return _organization.getLogoId();
371            }
372    
373            public javax.portlet.PortletPreferences getPreferences()
374                    throws com.liferay.portal.kernel.exception.SystemException {
375                    return _organization.getPreferences();
376            }
377    
378            public int getPrivateLayoutsPageCount() {
379                    return _organization.getPrivateLayoutsPageCount();
380            }
381    
382            public int getPublicLayoutsPageCount() {
383                    return _organization.getPublicLayoutsPageCount();
384            }
385    
386            public java.util.Set<java.lang.String> getReminderQueryQuestions(
387                    java.util.Locale locale)
388                    throws com.liferay.portal.kernel.exception.SystemException {
389                    return _organization.getReminderQueryQuestions(locale);
390            }
391    
392            public java.util.Set<java.lang.String> getReminderQueryQuestions(
393                    java.lang.String languageId)
394                    throws com.liferay.portal.kernel.exception.SystemException {
395                    return _organization.getReminderQueryQuestions(languageId);
396            }
397    
398            public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
399                    throws com.liferay.portal.kernel.exception.SystemException {
400                    return _organization.getSuborganizations();
401            }
402    
403            public int getSuborganizationsSize()
404                    throws com.liferay.portal.kernel.exception.SystemException {
405                    return _organization.getSuborganizationsSize();
406            }
407    
408            public int getTypeOrder() {
409                    return _organization.getTypeOrder();
410            }
411    
412            public boolean hasPrivateLayouts() {
413                    return _organization.hasPrivateLayouts();
414            }
415    
416            public boolean hasPublicLayouts() {
417                    return _organization.hasPublicLayouts();
418            }
419    
420            public boolean hasSuborganizations()
421                    throws com.liferay.portal.kernel.exception.SystemException {
422                    return _organization.hasSuborganizations();
423            }
424    
425            public boolean isParentable() {
426                    return _organization.isParentable();
427            }
428    
429            public boolean isRoot() {
430                    return _organization.isRoot();
431            }
432    
433            public Organization getWrappedOrganization() {
434                    return _organization;
435            }
436    
437            private Organization _organization;
438    }