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