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    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.service.ServiceContext;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    import java.util.Date;
025    
026    /**
027     * The base model interface for the WebDAVProps service. Represents a row in the "WebDAVProps" database table, with each column mapped to a property of this class.
028     *
029     * <p>
030     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.WebDAVPropsModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.WebDAVPropsImpl}.
031     * </p>
032     *
033     * <p>
034     * Never modify or reference this interface directly. All methods that expect a web d a v props model instance should use the {@link WebDAVProps} interface instead.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see WebDAVProps
039     * @see com.liferay.portal.model.impl.WebDAVPropsImpl
040     * @see com.liferay.portal.model.impl.WebDAVPropsModelImpl
041     * @generated
042     */
043    public interface WebDAVPropsModel extends BaseModel<WebDAVProps> {
044            /**
045             * Gets the primary key of this web d a v props.
046             *
047             * @return the primary key of this web d a v props
048             */
049            public long getPrimaryKey();
050    
051            /**
052             * Sets the primary key of this web d a v props
053             *
054             * @param pk the primary key of this web d a v props
055             */
056            public void setPrimaryKey(long pk);
057    
058            /**
059             * Gets 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    
065            /**
066             * Sets the web dav props id of this web d a v props.
067             *
068             * @param webDavPropsId the web dav props id of this web d a v props
069             */
070            public void setWebDavPropsId(long webDavPropsId);
071    
072            /**
073             * Gets the company id of this web d a v props.
074             *
075             * @return the company id of this web d a v props
076             */
077            public long getCompanyId();
078    
079            /**
080             * Sets the company id of this web d a v props.
081             *
082             * @param companyId the company id of this web d a v props
083             */
084            public void setCompanyId(long companyId);
085    
086            /**
087             * Gets the create date of this web d a v props.
088             *
089             * @return the create date of this web d a v props
090             */
091            public Date getCreateDate();
092    
093            /**
094             * Sets the create date of this web d a v props.
095             *
096             * @param createDate the create date of this web d a v props
097             */
098            public void setCreateDate(Date createDate);
099    
100            /**
101             * Gets the modified date of this web d a v props.
102             *
103             * @return the modified date of this web d a v props
104             */
105            public Date getModifiedDate();
106    
107            /**
108             * Sets the modified date of this web d a v props.
109             *
110             * @param modifiedDate the modified date of this web d a v props
111             */
112            public void setModifiedDate(Date modifiedDate);
113    
114            /**
115             * Gets the class name of the model instance this web d a v props is polymorphically associated with.
116             *
117             * @return the class name of the model instance this web d a v props is polymorphically associated with
118             */
119            public String getClassName();
120    
121            /**
122             * Gets the class name id of this web d a v props.
123             *
124             * @return the class name id of this web d a v props
125             */
126            public long getClassNameId();
127    
128            /**
129             * Sets the class name id of this web d a v props.
130             *
131             * @param classNameId the class name id of this web d a v props
132             */
133            public void setClassNameId(long classNameId);
134    
135            /**
136             * Gets the class p k of this web d a v props.
137             *
138             * @return the class p k of this web d a v props
139             */
140            public long getClassPK();
141    
142            /**
143             * Sets the class p k of this web d a v props.
144             *
145             * @param classPK the class p k of this web d a v props
146             */
147            public void setClassPK(long classPK);
148    
149            /**
150             * Gets the props of this web d a v props.
151             *
152             * @return the props of this web d a v props
153             */
154            @AutoEscape
155            public String getProps();
156    
157            /**
158             * Sets the props of this web d a v props.
159             *
160             * @param props the props of this web d a v props
161             */
162            public void setProps(String props);
163    
164            /**
165             * Gets a copy of this web d a v props as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
166             *
167             * @return the escaped model instance
168             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
169             */
170            public WebDAVProps toEscapedModel();
171    
172            public boolean isNew();
173    
174            public void setNew(boolean n);
175    
176            public boolean isCachedModel();
177    
178            public void setCachedModel(boolean cachedModel);
179    
180            public boolean isEscapedModel();
181    
182            public void setEscapedModel(boolean escapedModel);
183    
184            public Serializable getPrimaryKeyObj();
185    
186            public ExpandoBridge getExpandoBridge();
187    
188            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
189    
190            public Object clone();
191    
192            public int compareTo(WebDAVProps webDAVProps);
193    
194            public int hashCode();
195    
196            public String toString();
197    
198            public String toXmlString();
199    }