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 WebDAVProps}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WebDAVProps
024     * @generated
025     */
026    public class WebDAVPropsWrapper implements WebDAVProps {
027            public WebDAVPropsWrapper(WebDAVProps webDAVProps) {
028                    _webDAVProps = webDAVProps;
029            }
030    
031            public Class<?> getModelClass() {
032                    return WebDAVProps.class;
033            }
034    
035            public String getModelClassName() {
036                    return WebDAVProps.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this web d a v props.
041            *
042            * @return the primary key of this web d a v props
043            */
044            public long getPrimaryKey() {
045                    return _webDAVProps.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this web d a v props.
050            *
051            * @param primaryKey the primary key of this web d a v props
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _webDAVProps.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the web dav props ID of this web d a v props.
059            *
060            * @return the web dav props ID of this web d a v props
061            */
062            public long getWebDavPropsId() {
063                    return _webDAVProps.getWebDavPropsId();
064            }
065    
066            /**
067            * Sets the web dav props ID of this web d a v props.
068            *
069            * @param webDavPropsId the web dav props ID of this web d a v props
070            */
071            public void setWebDavPropsId(long webDavPropsId) {
072                    _webDAVProps.setWebDavPropsId(webDavPropsId);
073            }
074    
075            /**
076            * Returns the company ID of this web d a v props.
077            *
078            * @return the company ID of this web d a v props
079            */
080            public long getCompanyId() {
081                    return _webDAVProps.getCompanyId();
082            }
083    
084            /**
085            * Sets the company ID of this web d a v props.
086            *
087            * @param companyId the company ID of this web d a v props
088            */
089            public void setCompanyId(long companyId) {
090                    _webDAVProps.setCompanyId(companyId);
091            }
092    
093            /**
094            * Returns the create date of this web d a v props.
095            *
096            * @return the create date of this web d a v props
097            */
098            public java.util.Date getCreateDate() {
099                    return _webDAVProps.getCreateDate();
100            }
101    
102            /**
103            * Sets the create date of this web d a v props.
104            *
105            * @param createDate the create date of this web d a v props
106            */
107            public void setCreateDate(java.util.Date createDate) {
108                    _webDAVProps.setCreateDate(createDate);
109            }
110    
111            /**
112            * Returns the modified date of this web d a v props.
113            *
114            * @return the modified date of this web d a v props
115            */
116            public java.util.Date getModifiedDate() {
117                    return _webDAVProps.getModifiedDate();
118            }
119    
120            /**
121            * Sets the modified date of this web d a v props.
122            *
123            * @param modifiedDate the modified date of this web d a v props
124            */
125            public void setModifiedDate(java.util.Date modifiedDate) {
126                    _webDAVProps.setModifiedDate(modifiedDate);
127            }
128    
129            /**
130            * Returns the fully qualified class name of this web d a v props.
131            *
132            * @return the fully qualified class name of this web d a v props
133            */
134            public java.lang.String getClassName() {
135                    return _webDAVProps.getClassName();
136            }
137    
138            /**
139            * Returns the class name ID of this web d a v props.
140            *
141            * @return the class name ID of this web d a v props
142            */
143            public long getClassNameId() {
144                    return _webDAVProps.getClassNameId();
145            }
146    
147            /**
148            * Sets the class name ID of this web d a v props.
149            *
150            * @param classNameId the class name ID of this web d a v props
151            */
152            public void setClassNameId(long classNameId) {
153                    _webDAVProps.setClassNameId(classNameId);
154            }
155    
156            /**
157            * Returns the class p k of this web d a v props.
158            *
159            * @return the class p k of this web d a v props
160            */
161            public long getClassPK() {
162                    return _webDAVProps.getClassPK();
163            }
164    
165            /**
166            * Sets the class p k of this web d a v props.
167            *
168            * @param classPK the class p k of this web d a v props
169            */
170            public void setClassPK(long classPK) {
171                    _webDAVProps.setClassPK(classPK);
172            }
173    
174            /**
175            * Returns the props of this web d a v props.
176            *
177            * @return the props of this web d a v props
178            */
179            public java.lang.String getProps() {
180                    return _webDAVProps.getProps();
181            }
182    
183            /**
184            * Sets the props of this web d a v props.
185            *
186            * @param props the props of this web d a v props
187            */
188            public void setProps(java.lang.String props) {
189                    _webDAVProps.setProps(props);
190            }
191    
192            public boolean isNew() {
193                    return _webDAVProps.isNew();
194            }
195    
196            public void setNew(boolean n) {
197                    _webDAVProps.setNew(n);
198            }
199    
200            public boolean isCachedModel() {
201                    return _webDAVProps.isCachedModel();
202            }
203    
204            public void setCachedModel(boolean cachedModel) {
205                    _webDAVProps.setCachedModel(cachedModel);
206            }
207    
208            public boolean isEscapedModel() {
209                    return _webDAVProps.isEscapedModel();
210            }
211    
212            public java.io.Serializable getPrimaryKeyObj() {
213                    return _webDAVProps.getPrimaryKeyObj();
214            }
215    
216            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
217                    _webDAVProps.setPrimaryKeyObj(primaryKeyObj);
218            }
219    
220            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
221                    return _webDAVProps.getExpandoBridge();
222            }
223    
224            public void setExpandoBridgeAttributes(
225                    com.liferay.portal.service.ServiceContext serviceContext) {
226                    _webDAVProps.setExpandoBridgeAttributes(serviceContext);
227            }
228    
229            @Override
230            public java.lang.Object clone() {
231                    return new WebDAVPropsWrapper((WebDAVProps)_webDAVProps.clone());
232            }
233    
234            public int compareTo(com.liferay.portal.model.WebDAVProps webDAVProps) {
235                    return _webDAVProps.compareTo(webDAVProps);
236            }
237    
238            @Override
239            public int hashCode() {
240                    return _webDAVProps.hashCode();
241            }
242    
243            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.WebDAVProps> toCacheModel() {
244                    return _webDAVProps.toCacheModel();
245            }
246    
247            public com.liferay.portal.model.WebDAVProps toEscapedModel() {
248                    return new WebDAVPropsWrapper(_webDAVProps.toEscapedModel());
249            }
250    
251            @Override
252            public java.lang.String toString() {
253                    return _webDAVProps.toString();
254            }
255    
256            public java.lang.String toXmlString() {
257                    return _webDAVProps.toXmlString();
258            }
259    
260            public void persist()
261                    throws com.liferay.portal.kernel.exception.SystemException {
262                    _webDAVProps.persist();
263            }
264    
265            public java.util.Set<com.liferay.portal.kernel.xml.QName> getPropsSet()
266                    throws java.lang.Exception {
267                    return _webDAVProps.getPropsSet();
268            }
269    
270            public java.lang.String getText(java.lang.String name,
271                    java.lang.String prefix, java.lang.String uri)
272                    throws java.lang.Exception {
273                    return _webDAVProps.getText(name, prefix, uri);
274            }
275    
276            public void addProp(java.lang.String name, java.lang.String prefix,
277                    java.lang.String uri) throws java.lang.Exception {
278                    _webDAVProps.addProp(name, prefix, uri);
279            }
280    
281            public void addProp(java.lang.String name, java.lang.String prefix,
282                    java.lang.String uri, java.lang.String text) throws java.lang.Exception {
283                    _webDAVProps.addProp(name, prefix, uri, text);
284            }
285    
286            public void removeProp(java.lang.String name, java.lang.String prefix,
287                    java.lang.String uri) throws java.lang.Exception {
288                    _webDAVProps.removeProp(name, prefix, uri);
289            }
290    
291            public void store() throws java.lang.Exception {
292                    _webDAVProps.store();
293            }
294    
295            public WebDAVProps getWrappedWebDAVProps() {
296                    return _webDAVProps;
297            }
298    
299            public void resetOriginalValues() {
300                    _webDAVProps.resetOriginalValues();
301            }
302    
303            private WebDAVProps _webDAVProps;
304    }