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