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    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            public boolean isNew();
165    
166            public void setNew(boolean n);
167    
168            public boolean isCachedModel();
169    
170            public void setCachedModel(boolean cachedModel);
171    
172            public boolean isEscapedModel();
173    
174            public void setEscapedModel(boolean escapedModel);
175    
176            public Serializable getPrimaryKeyObj();
177    
178            public ExpandoBridge getExpandoBridge();
179    
180            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
181    
182            public Object clone();
183    
184            public int compareTo(WebDAVProps webDAVProps);
185    
186            public int hashCode();
187    
188            public WebDAVProps toEscapedModel();
189    
190            public String toString();
191    
192            public String toXmlString();
193    }