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.portlet.dynamicdatalists.model; 016 017 import com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.model.BaseModel; 020 import com.liferay.portal.model.CacheModel; 021 import com.liferay.portal.model.GroupedModel; 022 import com.liferay.portal.service.ServiceContext; 023 024 import com.liferay.portlet.expando.model.ExpandoBridge; 025 026 import java.io.Serializable; 027 028 import java.util.Date; 029 030 /** 031 * The base model interface for the DDLRecord service. Represents a row in the "DDLRecord" database table, with each column mapped to a property of this class. 032 * 033 * <p> 034 * This interface and its corresponding implementation {@link com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordModelImpl} 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.portlet.dynamicdatalists.model.impl.DDLRecordImpl}. 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see DDLRecord 039 * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordImpl 040 * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordModelImpl 041 * @generated 042 */ 043 public interface DDLRecordModel extends BaseModel<DDLRecord>, GroupedModel { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a d d l record model instance should use the {@link DDLRecord} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this d d l record. 052 * 053 * @return the primary key of this d d l record 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this d d l record. 059 * 060 * @param primaryKey the primary key of this d d l record 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the uuid of this d d l record. 066 * 067 * @return the uuid of this d d l record 068 */ 069 @AutoEscape 070 public String getUuid(); 071 072 /** 073 * Sets the uuid of this d d l record. 074 * 075 * @param uuid the uuid of this d d l record 076 */ 077 public void setUuid(String uuid); 078 079 /** 080 * Returns the record ID of this d d l record. 081 * 082 * @return the record ID of this d d l record 083 */ 084 public long getRecordId(); 085 086 /** 087 * Sets the record ID of this d d l record. 088 * 089 * @param recordId the record ID of this d d l record 090 */ 091 public void setRecordId(long recordId); 092 093 /** 094 * Returns the group ID of this d d l record. 095 * 096 * @return the group ID of this d d l record 097 */ 098 public long getGroupId(); 099 100 /** 101 * Sets the group ID of this d d l record. 102 * 103 * @param groupId the group ID of this d d l record 104 */ 105 public void setGroupId(long groupId); 106 107 /** 108 * Returns the company ID of this d d l record. 109 * 110 * @return the company ID of this d d l record 111 */ 112 public long getCompanyId(); 113 114 /** 115 * Sets the company ID of this d d l record. 116 * 117 * @param companyId the company ID of this d d l record 118 */ 119 public void setCompanyId(long companyId); 120 121 /** 122 * Returns the user ID of this d d l record. 123 * 124 * @return the user ID of this d d l record 125 */ 126 public long getUserId(); 127 128 /** 129 * Sets the user ID of this d d l record. 130 * 131 * @param userId the user ID of this d d l record 132 */ 133 public void setUserId(long userId); 134 135 /** 136 * Returns the user uuid of this d d l record. 137 * 138 * @return the user uuid of this d d l record 139 * @throws SystemException if a system exception occurred 140 */ 141 public String getUserUuid() throws SystemException; 142 143 /** 144 * Sets the user uuid of this d d l record. 145 * 146 * @param userUuid the user uuid of this d d l record 147 */ 148 public void setUserUuid(String userUuid); 149 150 /** 151 * Returns the user name of this d d l record. 152 * 153 * @return the user name of this d d l record 154 */ 155 @AutoEscape 156 public String getUserName(); 157 158 /** 159 * Sets the user name of this d d l record. 160 * 161 * @param userName the user name of this d d l record 162 */ 163 public void setUserName(String userName); 164 165 /** 166 * Returns the version user ID of this d d l record. 167 * 168 * @return the version user ID of this d d l record 169 */ 170 public long getVersionUserId(); 171 172 /** 173 * Sets the version user ID of this d d l record. 174 * 175 * @param versionUserId the version user ID of this d d l record 176 */ 177 public void setVersionUserId(long versionUserId); 178 179 /** 180 * Returns the version user uuid of this d d l record. 181 * 182 * @return the version user uuid of this d d l record 183 * @throws SystemException if a system exception occurred 184 */ 185 public String getVersionUserUuid() throws SystemException; 186 187 /** 188 * Sets the version user uuid of this d d l record. 189 * 190 * @param versionUserUuid the version user uuid of this d d l record 191 */ 192 public void setVersionUserUuid(String versionUserUuid); 193 194 /** 195 * Returns the version user name of this d d l record. 196 * 197 * @return the version user name of this d d l record 198 */ 199 @AutoEscape 200 public String getVersionUserName(); 201 202 /** 203 * Sets the version user name of this d d l record. 204 * 205 * @param versionUserName the version user name of this d d l record 206 */ 207 public void setVersionUserName(String versionUserName); 208 209 /** 210 * Returns the create date of this d d l record. 211 * 212 * @return the create date of this d d l record 213 */ 214 public Date getCreateDate(); 215 216 /** 217 * Sets the create date of this d d l record. 218 * 219 * @param createDate the create date of this d d l record 220 */ 221 public void setCreateDate(Date createDate); 222 223 /** 224 * Returns the modified date of this d d l record. 225 * 226 * @return the modified date of this d d l record 227 */ 228 public Date getModifiedDate(); 229 230 /** 231 * Sets the modified date of this d d l record. 232 * 233 * @param modifiedDate the modified date of this d d l record 234 */ 235 public void setModifiedDate(Date modifiedDate); 236 237 /** 238 * Returns the d d m storage ID of this d d l record. 239 * 240 * @return the d d m storage ID of this d d l record 241 */ 242 public long getDDMStorageId(); 243 244 /** 245 * Sets the d d m storage ID of this d d l record. 246 * 247 * @param DDMStorageId the d d m storage ID of this d d l record 248 */ 249 public void setDDMStorageId(long DDMStorageId); 250 251 /** 252 * Returns the record set ID of this d d l record. 253 * 254 * @return the record set ID of this d d l record 255 */ 256 public long getRecordSetId(); 257 258 /** 259 * Sets the record set ID of this d d l record. 260 * 261 * @param recordSetId the record set ID of this d d l record 262 */ 263 public void setRecordSetId(long recordSetId); 264 265 /** 266 * Returns the version of this d d l record. 267 * 268 * @return the version of this d d l record 269 */ 270 @AutoEscape 271 public String getVersion(); 272 273 /** 274 * Sets the version of this d d l record. 275 * 276 * @param version the version of this d d l record 277 */ 278 public void setVersion(String version); 279 280 /** 281 * Returns the display index of this d d l record. 282 * 283 * @return the display index of this d d l record 284 */ 285 public int getDisplayIndex(); 286 287 /** 288 * Sets the display index of this d d l record. 289 * 290 * @param displayIndex the display index of this d d l record 291 */ 292 public void setDisplayIndex(int displayIndex); 293 294 public boolean isNew(); 295 296 public void setNew(boolean n); 297 298 public boolean isCachedModel(); 299 300 public void setCachedModel(boolean cachedModel); 301 302 public boolean isEscapedModel(); 303 304 public Serializable getPrimaryKeyObj(); 305 306 public void setPrimaryKeyObj(Serializable primaryKeyObj); 307 308 public ExpandoBridge getExpandoBridge(); 309 310 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 311 312 public Object clone(); 313 314 public int compareTo(DDLRecord ddlRecord); 315 316 public int hashCode(); 317 318 public CacheModel<DDLRecord> toCacheModel(); 319 320 public DDLRecord toEscapedModel(); 321 322 public DDLRecord toUnescapedModel(); 323 324 public String toString(); 325 326 public String toXmlString(); 327 }