001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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            public long getPrimaryKey() {
032                    return _organization.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _organization.setPrimaryKey(pk);
037            }
038    
039            public long getOrganizationId() {
040                    return _organization.getOrganizationId();
041            }
042    
043            public void setOrganizationId(long organizationId) {
044                    _organization.setOrganizationId(organizationId);
045            }
046    
047            public long getCompanyId() {
048                    return _organization.getCompanyId();
049            }
050    
051            public void setCompanyId(long companyId) {
052                    _organization.setCompanyId(companyId);
053            }
054    
055            public long getParentOrganizationId() {
056                    return _organization.getParentOrganizationId();
057            }
058    
059            public void setParentOrganizationId(long parentOrganizationId) {
060                    _organization.setParentOrganizationId(parentOrganizationId);
061            }
062    
063            public long getLeftOrganizationId() {
064                    return _organization.getLeftOrganizationId();
065            }
066    
067            public void setLeftOrganizationId(long leftOrganizationId) {
068                    _organization.setLeftOrganizationId(leftOrganizationId);
069            }
070    
071            public long getRightOrganizationId() {
072                    return _organization.getRightOrganizationId();
073            }
074    
075            public void setRightOrganizationId(long rightOrganizationId) {
076                    _organization.setRightOrganizationId(rightOrganizationId);
077            }
078    
079            public java.lang.String getName() {
080                    return _organization.getName();
081            }
082    
083            public void setName(java.lang.String name) {
084                    _organization.setName(name);
085            }
086    
087            public java.lang.String getType() {
088                    return _organization.getType();
089            }
090    
091            public void setType(java.lang.String type) {
092                    _organization.setType(type);
093            }
094    
095            public boolean getRecursable() {
096                    return _organization.getRecursable();
097            }
098    
099            public boolean isRecursable() {
100                    return _organization.isRecursable();
101            }
102    
103            public void setRecursable(boolean recursable) {
104                    _organization.setRecursable(recursable);
105            }
106    
107            public long getRegionId() {
108                    return _organization.getRegionId();
109            }
110    
111            public void setRegionId(long regionId) {
112                    _organization.setRegionId(regionId);
113            }
114    
115            public long getCountryId() {
116                    return _organization.getCountryId();
117            }
118    
119            public void setCountryId(long countryId) {
120                    _organization.setCountryId(countryId);
121            }
122    
123            public int getStatusId() {
124                    return _organization.getStatusId();
125            }
126    
127            public void setStatusId(int statusId) {
128                    _organization.setStatusId(statusId);
129            }
130    
131            public java.lang.String getComments() {
132                    return _organization.getComments();
133            }
134    
135            public void setComments(java.lang.String comments) {
136                    _organization.setComments(comments);
137            }
138    
139            public com.liferay.portal.model.Organization toEscapedModel() {
140                    return _organization.toEscapedModel();
141            }
142    
143            public boolean isNew() {
144                    return _organization.isNew();
145            }
146    
147            public void setNew(boolean n) {
148                    _organization.setNew(n);
149            }
150    
151            public boolean isCachedModel() {
152                    return _organization.isCachedModel();
153            }
154    
155            public void setCachedModel(boolean cachedModel) {
156                    _organization.setCachedModel(cachedModel);
157            }
158    
159            public boolean isEscapedModel() {
160                    return _organization.isEscapedModel();
161            }
162    
163            public void setEscapedModel(boolean escapedModel) {
164                    _organization.setEscapedModel(escapedModel);
165            }
166    
167            public java.io.Serializable getPrimaryKeyObj() {
168                    return _organization.getPrimaryKeyObj();
169            }
170    
171            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
172                    return _organization.getExpandoBridge();
173            }
174    
175            public void setExpandoBridgeAttributes(
176                    com.liferay.portal.service.ServiceContext serviceContext) {
177                    _organization.setExpandoBridgeAttributes(serviceContext);
178            }
179    
180            public java.lang.Object clone() {
181                    return _organization.clone();
182            }
183    
184            public int compareTo(com.liferay.portal.model.Organization organization) {
185                    return _organization.compareTo(organization);
186            }
187    
188            public int hashCode() {
189                    return _organization.hashCode();
190            }
191    
192            public java.lang.String toString() {
193                    return _organization.toString();
194            }
195    
196            public java.lang.String toXmlString() {
197                    return _organization.toXmlString();
198            }
199    
200            public java.util.List<com.liferay.portal.model.Organization> getAncestors()
201                    throws com.liferay.portal.kernel.exception.PortalException,
202                            com.liferay.portal.kernel.exception.SystemException {
203                    return _organization.getAncestors();
204            }
205    
206            public com.liferay.portal.model.Organization getParentOrganization()
207                    throws com.liferay.portal.kernel.exception.PortalException,
208                            com.liferay.portal.kernel.exception.SystemException {
209                    return _organization.getParentOrganization();
210            }
211    
212            public com.liferay.portal.model.Address getAddress() {
213                    return _organization.getAddress();
214            }
215    
216            public java.util.List<com.liferay.portal.model.Address> getAddresses()
217                    throws com.liferay.portal.kernel.exception.SystemException {
218                    return _organization.getAddresses();
219            }
220    
221            public java.lang.String[] getChildrenTypes() {
222                    return _organization.getChildrenTypes();
223            }
224    
225            public java.util.List<com.liferay.portal.model.Organization> getDescendants()
226                    throws com.liferay.portal.kernel.exception.SystemException {
227                    return _organization.getDescendants();
228            }
229    
230            public com.liferay.portal.model.Group getGroup() {
231                    return _organization.getGroup();
232            }
233    
234            public long getLogoId() {
235                    return _organization.getLogoId();
236            }
237    
238            public javax.portlet.PortletPreferences getPreferences()
239                    throws com.liferay.portal.kernel.exception.SystemException {
240                    return _organization.getPreferences();
241            }
242    
243            public int getPrivateLayoutsPageCount() {
244                    return _organization.getPrivateLayoutsPageCount();
245            }
246    
247            public int getPublicLayoutsPageCount() {
248                    return _organization.getPublicLayoutsPageCount();
249            }
250    
251            public java.util.Set<java.lang.String> getReminderQueryQuestions(
252                    java.util.Locale locale)
253                    throws com.liferay.portal.kernel.exception.SystemException {
254                    return _organization.getReminderQueryQuestions(locale);
255            }
256    
257            public java.util.Set<java.lang.String> getReminderQueryQuestions(
258                    java.lang.String languageId)
259                    throws com.liferay.portal.kernel.exception.SystemException {
260                    return _organization.getReminderQueryQuestions(languageId);
261            }
262    
263            public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
264                    throws com.liferay.portal.kernel.exception.SystemException {
265                    return _organization.getSuborganizations();
266            }
267    
268            public int getSuborganizationsSize()
269                    throws com.liferay.portal.kernel.exception.SystemException {
270                    return _organization.getSuborganizationsSize();
271            }
272    
273            public int getTypeOrder() {
274                    return _organization.getTypeOrder();
275            }
276    
277            public boolean hasPrivateLayouts() {
278                    return _organization.hasPrivateLayouts();
279            }
280    
281            public boolean hasPublicLayouts() {
282                    return _organization.hasPublicLayouts();
283            }
284    
285            public boolean hasSuborganizations()
286                    throws com.liferay.portal.kernel.exception.SystemException {
287                    return _organization.hasSuborganizations();
288            }
289    
290            public boolean isParentable() {
291                    return _organization.isParentable();
292            }
293    
294            public boolean isRoot() {
295                    return _organization.isRoot();
296            }
297    
298            public Organization getWrappedOrganization() {
299                    return _organization;
300            }
301    
302            private Organization _organization;
303    }