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