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.StagedGroupedModel; 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>, StagedGroupedModel { 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 @Override 071 public String getUuid(); 072 073 /** 074 * Sets the uuid of this d d l record. 075 * 076 * @param uuid the uuid of this d d l record 077 */ 078 @Override 079 public void setUuid(String uuid); 080 081 /** 082 * Returns the record ID of this d d l record. 083 * 084 * @return the record ID of this d d l record 085 */ 086 public long getRecordId(); 087 088 /** 089 * Sets the record ID of this d d l record. 090 * 091 * @param recordId the record ID of this d d l record 092 */ 093 public void setRecordId(long recordId); 094 095 /** 096 * Returns the group ID of this d d l record. 097 * 098 * @return the group ID of this d d l record 099 */ 100 @Override 101 public long getGroupId(); 102 103 /** 104 * Sets the group ID of this d d l record. 105 * 106 * @param groupId the group ID of this d d l record 107 */ 108 @Override 109 public void setGroupId(long groupId); 110 111 /** 112 * Returns the company ID of this d d l record. 113 * 114 * @return the company ID of this d d l record 115 */ 116 @Override 117 public long getCompanyId(); 118 119 /** 120 * Sets the company ID of this d d l record. 121 * 122 * @param companyId the company ID of this d d l record 123 */ 124 @Override 125 public void setCompanyId(long companyId); 126 127 /** 128 * Returns the user ID of this d d l record. 129 * 130 * @return the user ID of this d d l record 131 */ 132 @Override 133 public long getUserId(); 134 135 /** 136 * Sets the user ID of this d d l record. 137 * 138 * @param userId the user ID of this d d l record 139 */ 140 @Override 141 public void setUserId(long userId); 142 143 /** 144 * Returns the user uuid of this d d l record. 145 * 146 * @return the user uuid of this d d l record 147 * @throws SystemException if a system exception occurred 148 */ 149 @Override 150 public String getUserUuid() throws SystemException; 151 152 /** 153 * Sets the user uuid of this d d l record. 154 * 155 * @param userUuid the user uuid of this d d l record 156 */ 157 @Override 158 public void setUserUuid(String userUuid); 159 160 /** 161 * Returns the user name of this d d l record. 162 * 163 * @return the user name of this d d l record 164 */ 165 @AutoEscape 166 @Override 167 public String getUserName(); 168 169 /** 170 * Sets the user name of this d d l record. 171 * 172 * @param userName the user name of this d d l record 173 */ 174 @Override 175 public void setUserName(String userName); 176 177 /** 178 * Returns the version user ID of this d d l record. 179 * 180 * @return the version user ID of this d d l record 181 */ 182 public long getVersionUserId(); 183 184 /** 185 * Sets the version user ID of this d d l record. 186 * 187 * @param versionUserId the version user ID of this d d l record 188 */ 189 public void setVersionUserId(long versionUserId); 190 191 /** 192 * Returns the version user uuid of this d d l record. 193 * 194 * @return the version user uuid of this d d l record 195 * @throws SystemException if a system exception occurred 196 */ 197 public String getVersionUserUuid() throws SystemException; 198 199 /** 200 * Sets the version user uuid of this d d l record. 201 * 202 * @param versionUserUuid the version user uuid of this d d l record 203 */ 204 public void setVersionUserUuid(String versionUserUuid); 205 206 /** 207 * Returns the version user name of this d d l record. 208 * 209 * @return the version user name of this d d l record 210 */ 211 @AutoEscape 212 public String getVersionUserName(); 213 214 /** 215 * Sets the version user name of this d d l record. 216 * 217 * @param versionUserName the version user name of this d d l record 218 */ 219 public void setVersionUserName(String versionUserName); 220 221 /** 222 * Returns the create date of this d d l record. 223 * 224 * @return the create date of this d d l record 225 */ 226 @Override 227 public Date getCreateDate(); 228 229 /** 230 * Sets the create date of this d d l record. 231 * 232 * @param createDate the create date of this d d l record 233 */ 234 @Override 235 public void setCreateDate(Date createDate); 236 237 /** 238 * Returns the modified date of this d d l record. 239 * 240 * @return the modified date of this d d l record 241 */ 242 @Override 243 public Date getModifiedDate(); 244 245 /** 246 * Sets the modified date of this d d l record. 247 * 248 * @param modifiedDate the modified date of this d d l record 249 */ 250 @Override 251 public void setModifiedDate(Date modifiedDate); 252 253 /** 254 * Returns the d d m storage ID of this d d l record. 255 * 256 * @return the d d m storage ID of this d d l record 257 */ 258 public long getDDMStorageId(); 259 260 /** 261 * Sets the d d m storage ID of this d d l record. 262 * 263 * @param DDMStorageId the d d m storage ID of this d d l record 264 */ 265 public void setDDMStorageId(long DDMStorageId); 266 267 /** 268 * Returns the record set ID of this d d l record. 269 * 270 * @return the record set ID of this d d l record 271 */ 272 public long getRecordSetId(); 273 274 /** 275 * Sets the record set ID of this d d l record. 276 * 277 * @param recordSetId the record set ID of this d d l record 278 */ 279 public void setRecordSetId(long recordSetId); 280 281 /** 282 * Returns the version of this d d l record. 283 * 284 * @return the version of this d d l record 285 */ 286 @AutoEscape 287 public String getVersion(); 288 289 /** 290 * Sets the version of this d d l record. 291 * 292 * @param version the version of this d d l record 293 */ 294 public void setVersion(String version); 295 296 /** 297 * Returns the display index of this d d l record. 298 * 299 * @return the display index of this d d l record 300 */ 301 public int getDisplayIndex(); 302 303 /** 304 * Sets the display index of this d d l record. 305 * 306 * @param displayIndex the display index of this d d l record 307 */ 308 public void setDisplayIndex(int displayIndex); 309 310 @Override 311 public boolean isNew(); 312 313 @Override 314 public void setNew(boolean n); 315 316 @Override 317 public boolean isCachedModel(); 318 319 @Override 320 public void setCachedModel(boolean cachedModel); 321 322 @Override 323 public boolean isEscapedModel(); 324 325 @Override 326 public Serializable getPrimaryKeyObj(); 327 328 @Override 329 public void setPrimaryKeyObj(Serializable primaryKeyObj); 330 331 @Override 332 public ExpandoBridge getExpandoBridge(); 333 334 @Override 335 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 336 337 @Override 338 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 339 340 @Override 341 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 342 343 @Override 344 public Object clone(); 345 346 @Override 347 public int compareTo(DDLRecord ddlRecord); 348 349 @Override 350 public int hashCode(); 351 352 @Override 353 public CacheModel<DDLRecord> toCacheModel(); 354 355 @Override 356 public DDLRecord toEscapedModel(); 357 358 @Override 359 public DDLRecord toUnescapedModel(); 360 361 @Override 362 public String toString(); 363 364 @Override 365 public String toXmlString(); 366 }