001 /** 002 * Copyright (c) 2000-2013 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.bean.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 * @author Brian Wing Shun Chan 034 * @see WebDAVProps 035 * @see com.liferay.portal.model.impl.WebDAVPropsImpl 036 * @see com.liferay.portal.model.impl.WebDAVPropsModelImpl 037 * @generated 038 */ 039 public interface WebDAVPropsModel extends AttachedModel, BaseModel<WebDAVProps> { 040 /* 041 * NOTE FOR DEVELOPERS: 042 * 043 * 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. 044 */ 045 046 /** 047 * Returns the primary key of this web d a v props. 048 * 049 * @return the primary key of this web d a v props 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this web d a v props. 055 * 056 * @param primaryKey the primary key of this web d a v props 057 */ 058 public void setPrimaryKey(long primaryKey); 059 060 /** 061 * Returns the web dav props ID of this web d a v props. 062 * 063 * @return the web dav props ID of this web d a v props 064 */ 065 public long getWebDavPropsId(); 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 074 /** 075 * Returns the company ID of this web d a v props. 076 * 077 * @return the company ID of this web d a v props 078 */ 079 public long getCompanyId(); 080 081 /** 082 * Sets the company ID of this web d a v props. 083 * 084 * @param companyId the company ID of this web d a v props 085 */ 086 public void setCompanyId(long companyId); 087 088 /** 089 * Returns the create date of this web d a v props. 090 * 091 * @return the create date of this web d a v props 092 */ 093 public Date getCreateDate(); 094 095 /** 096 * Sets the create date of this web d a v props. 097 * 098 * @param createDate the create date of this web d a v props 099 */ 100 public void setCreateDate(Date createDate); 101 102 /** 103 * Returns the modified date of this web d a v props. 104 * 105 * @return the modified date of this web d a v props 106 */ 107 public Date getModifiedDate(); 108 109 /** 110 * Sets the modified date of this web d a v props. 111 * 112 * @param modifiedDate the modified date of this web d a v props 113 */ 114 public void setModifiedDate(Date modifiedDate); 115 116 /** 117 * Returns the fully qualified class name of this web d a v props. 118 * 119 * @return the fully qualified class name of this web d a v props 120 */ 121 public String getClassName(); 122 123 public void setClassName(String className); 124 125 /** 126 * Returns the class name ID of this web d a v props. 127 * 128 * @return the class name ID of this web d a v props 129 */ 130 public long getClassNameId(); 131 132 /** 133 * Sets the class name ID of this web d a v props. 134 * 135 * @param classNameId the class name ID of this web d a v props 136 */ 137 public void setClassNameId(long classNameId); 138 139 /** 140 * Returns the class p k of this web d a v props. 141 * 142 * @return the class p k of this web d a v props 143 */ 144 public long getClassPK(); 145 146 /** 147 * Sets the class p k of this web d a v props. 148 * 149 * @param classPK the class p k of this web d a v props 150 */ 151 public void setClassPK(long classPK); 152 153 /** 154 * Returns the props of this web d a v props. 155 * 156 * @return the props of this web d a v props 157 */ 158 @AutoEscape 159 public String getProps(); 160 161 /** 162 * Sets the props of this web d a v props. 163 * 164 * @param props the props of this web d a v props 165 */ 166 public void setProps(String props); 167 168 public boolean isNew(); 169 170 public void setNew(boolean n); 171 172 public boolean isCachedModel(); 173 174 public void setCachedModel(boolean cachedModel); 175 176 public boolean isEscapedModel(); 177 178 public Serializable getPrimaryKeyObj(); 179 180 public void setPrimaryKeyObj(Serializable primaryKeyObj); 181 182 public ExpandoBridge getExpandoBridge(); 183 184 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 185 186 public Object clone(); 187 188 public int compareTo(WebDAVProps webDAVProps); 189 190 public int hashCode(); 191 192 public CacheModel<WebDAVProps> toCacheModel(); 193 194 public WebDAVProps toEscapedModel(); 195 196 public WebDAVProps toUnescapedModel(); 197 198 public String toString(); 199 200 public String toXmlString(); 201 }