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