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.WorkflowedModel; 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 DDLRecordVersion service. Represents a row in the "DDLRecordVersion" 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.DDLRecordVersionModelImpl} 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.DDLRecordVersionImpl}. 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see DDLRecordVersion 039 * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionImpl 040 * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionModelImpl 041 * @generated 042 */ 043 public interface DDLRecordVersionModel extends BaseModel<DDLRecordVersion>, 044 WorkflowedModel { 045 /* 046 * NOTE FOR DEVELOPERS: 047 * 048 * Never modify or reference this interface directly. All methods that expect a d d l record version model instance should use the {@link DDLRecordVersion} interface instead. 049 */ 050 051 /** 052 * Returns the primary key of this d d l record version. 053 * 054 * @return the primary key of this d d l record version 055 */ 056 public long getPrimaryKey(); 057 058 /** 059 * Sets the primary key of this d d l record version. 060 * 061 * @param primaryKey the primary key of this d d l record version 062 */ 063 public void setPrimaryKey(long primaryKey); 064 065 /** 066 * Returns the record version ID of this d d l record version. 067 * 068 * @return the record version ID of this d d l record version 069 */ 070 public long getRecordVersionId(); 071 072 /** 073 * Sets the record version ID of this d d l record version. 074 * 075 * @param recordVersionId the record version ID of this d d l record version 076 */ 077 public void setRecordVersionId(long recordVersionId); 078 079 /** 080 * Returns the group ID of this d d l record version. 081 * 082 * @return the group ID of this d d l record version 083 */ 084 public long getGroupId(); 085 086 /** 087 * Sets the group ID of this d d l record version. 088 * 089 * @param groupId the group ID of this d d l record version 090 */ 091 public void setGroupId(long groupId); 092 093 /** 094 * Returns the company ID of this d d l record version. 095 * 096 * @return the company ID of this d d l record version 097 */ 098 public long getCompanyId(); 099 100 /** 101 * Sets the company ID of this d d l record version. 102 * 103 * @param companyId the company ID of this d d l record version 104 */ 105 public void setCompanyId(long companyId); 106 107 /** 108 * Returns the user ID of this d d l record version. 109 * 110 * @return the user ID of this d d l record version 111 */ 112 public long getUserId(); 113 114 /** 115 * Sets the user ID of this d d l record version. 116 * 117 * @param userId the user ID of this d d l record version 118 */ 119 public void setUserId(long userId); 120 121 /** 122 * Returns the user uuid of this d d l record version. 123 * 124 * @return the user uuid of this d d l record version 125 * @throws SystemException if a system exception occurred 126 */ 127 public String getUserUuid() throws SystemException; 128 129 /** 130 * Sets the user uuid of this d d l record version. 131 * 132 * @param userUuid the user uuid of this d d l record version 133 */ 134 public void setUserUuid(String userUuid); 135 136 /** 137 * Returns the user name of this d d l record version. 138 * 139 * @return the user name of this d d l record version 140 */ 141 @AutoEscape 142 public String getUserName(); 143 144 /** 145 * Sets the user name of this d d l record version. 146 * 147 * @param userName the user name of this d d l record version 148 */ 149 public void setUserName(String userName); 150 151 /** 152 * Returns the create date of this d d l record version. 153 * 154 * @return the create date of this d d l record version 155 */ 156 public Date getCreateDate(); 157 158 /** 159 * Sets the create date of this d d l record version. 160 * 161 * @param createDate the create date of this d d l record version 162 */ 163 public void setCreateDate(Date createDate); 164 165 /** 166 * Returns the d d m storage ID of this d d l record version. 167 * 168 * @return the d d m storage ID of this d d l record version 169 */ 170 public long getDDMStorageId(); 171 172 /** 173 * Sets the d d m storage ID of this d d l record version. 174 * 175 * @param DDMStorageId the d d m storage ID of this d d l record version 176 */ 177 public void setDDMStorageId(long DDMStorageId); 178 179 /** 180 * Returns the record set ID of this d d l record version. 181 * 182 * @return the record set ID of this d d l record version 183 */ 184 public long getRecordSetId(); 185 186 /** 187 * Sets the record set ID of this d d l record version. 188 * 189 * @param recordSetId the record set ID of this d d l record version 190 */ 191 public void setRecordSetId(long recordSetId); 192 193 /** 194 * Returns the record ID of this d d l record version. 195 * 196 * @return the record ID of this d d l record version 197 */ 198 public long getRecordId(); 199 200 /** 201 * Sets the record ID of this d d l record version. 202 * 203 * @param recordId the record ID of this d d l record version 204 */ 205 public void setRecordId(long recordId); 206 207 /** 208 * Returns the version of this d d l record version. 209 * 210 * @return the version of this d d l record version 211 */ 212 @AutoEscape 213 public String getVersion(); 214 215 /** 216 * Sets the version of this d d l record version. 217 * 218 * @param version the version of this d d l record version 219 */ 220 public void setVersion(String version); 221 222 /** 223 * Returns the display index of this d d l record version. 224 * 225 * @return the display index of this d d l record version 226 */ 227 public int getDisplayIndex(); 228 229 /** 230 * Sets the display index of this d d l record version. 231 * 232 * @param displayIndex the display index of this d d l record version 233 */ 234 public void setDisplayIndex(int displayIndex); 235 236 /** 237 * Returns the status of this d d l record version. 238 * 239 * @return the status of this d d l record version 240 */ 241 @Override 242 public int getStatus(); 243 244 /** 245 * Sets the status of this d d l record version. 246 * 247 * @param status the status of this d d l record version 248 */ 249 @Override 250 public void setStatus(int status); 251 252 /** 253 * Returns the status by user ID of this d d l record version. 254 * 255 * @return the status by user ID of this d d l record version 256 */ 257 @Override 258 public long getStatusByUserId(); 259 260 /** 261 * Sets the status by user ID of this d d l record version. 262 * 263 * @param statusByUserId the status by user ID of this d d l record version 264 */ 265 @Override 266 public void setStatusByUserId(long statusByUserId); 267 268 /** 269 * Returns the status by user uuid of this d d l record version. 270 * 271 * @return the status by user uuid of this d d l record version 272 * @throws SystemException if a system exception occurred 273 */ 274 @Override 275 public String getStatusByUserUuid() throws SystemException; 276 277 /** 278 * Sets the status by user uuid of this d d l record version. 279 * 280 * @param statusByUserUuid the status by user uuid of this d d l record version 281 */ 282 @Override 283 public void setStatusByUserUuid(String statusByUserUuid); 284 285 /** 286 * Returns the status by user name of this d d l record version. 287 * 288 * @return the status by user name of this d d l record version 289 */ 290 @AutoEscape 291 @Override 292 public String getStatusByUserName(); 293 294 /** 295 * Sets the status by user name of this d d l record version. 296 * 297 * @param statusByUserName the status by user name of this d d l record version 298 */ 299 @Override 300 public void setStatusByUserName(String statusByUserName); 301 302 /** 303 * Returns the status date of this d d l record version. 304 * 305 * @return the status date of this d d l record version 306 */ 307 @Override 308 public Date getStatusDate(); 309 310 /** 311 * Sets the status date of this d d l record version. 312 * 313 * @param statusDate the status date of this d d l record version 314 */ 315 @Override 316 public void setStatusDate(Date statusDate); 317 318 /** 319 * @deprecated As of 6.1.0, replaced by {@link #isApproved()} 320 */ 321 @Override 322 public boolean getApproved(); 323 324 /** 325 * Returns <code>true</code> if this d d l record version is approved. 326 * 327 * @return <code>true</code> if this d d l record version is approved; <code>false</code> otherwise 328 */ 329 @Override 330 public boolean isApproved(); 331 332 /** 333 * Returns <code>true</code> if this d d l record version is denied. 334 * 335 * @return <code>true</code> if this d d l record version is denied; <code>false</code> otherwise 336 */ 337 @Override 338 public boolean isDenied(); 339 340 /** 341 * Returns <code>true</code> if this d d l record version is a draft. 342 * 343 * @return <code>true</code> if this d d l record version is a draft; <code>false</code> otherwise 344 */ 345 @Override 346 public boolean isDraft(); 347 348 /** 349 * Returns <code>true</code> if this d d l record version is expired. 350 * 351 * @return <code>true</code> if this d d l record version is expired; <code>false</code> otherwise 352 */ 353 @Override 354 public boolean isExpired(); 355 356 /** 357 * Returns <code>true</code> if this d d l record version is inactive. 358 * 359 * @return <code>true</code> if this d d l record version is inactive; <code>false</code> otherwise 360 */ 361 @Override 362 public boolean isInactive(); 363 364 /** 365 * Returns <code>true</code> if this d d l record version is incomplete. 366 * 367 * @return <code>true</code> if this d d l record version is incomplete; <code>false</code> otherwise 368 */ 369 @Override 370 public boolean isIncomplete(); 371 372 /** 373 * Returns <code>true</code> if this d d l record version is pending. 374 * 375 * @return <code>true</code> if this d d l record version is pending; <code>false</code> otherwise 376 */ 377 @Override 378 public boolean isPending(); 379 380 /** 381 * Returns <code>true</code> if this d d l record version is scheduled. 382 * 383 * @return <code>true</code> if this d d l record version is scheduled; <code>false</code> otherwise 384 */ 385 @Override 386 public boolean isScheduled(); 387 388 @Override 389 public boolean isNew(); 390 391 @Override 392 public void setNew(boolean n); 393 394 @Override 395 public boolean isCachedModel(); 396 397 @Override 398 public void setCachedModel(boolean cachedModel); 399 400 @Override 401 public boolean isEscapedModel(); 402 403 @Override 404 public Serializable getPrimaryKeyObj(); 405 406 @Override 407 public void setPrimaryKeyObj(Serializable primaryKeyObj); 408 409 @Override 410 public ExpandoBridge getExpandoBridge(); 411 412 @Override 413 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 414 415 @Override 416 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 417 418 @Override 419 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 420 421 @Override 422 public Object clone(); 423 424 @Override 425 public int compareTo(DDLRecordVersion ddlRecordVersion); 426 427 @Override 428 public int hashCode(); 429 430 @Override 431 public CacheModel<DDLRecordVersion> toCacheModel(); 432 433 @Override 434 public DDLRecordVersion toEscapedModel(); 435 436 @Override 437 public DDLRecordVersion toUnescapedModel(); 438 439 @Override 440 public String toString(); 441 442 @Override 443 public String toXmlString(); 444 }