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 public int getStatus(); 242 243 /** 244 * Sets the status of this d d l record version. 245 * 246 * @param status the status of this d d l record version 247 */ 248 public void setStatus(int status); 249 250 /** 251 * Returns the status by user ID of this d d l record version. 252 * 253 * @return the status by user ID of this d d l record version 254 */ 255 public long getStatusByUserId(); 256 257 /** 258 * Sets the status by user ID of this d d l record version. 259 * 260 * @param statusByUserId the status by user ID of this d d l record version 261 */ 262 public void setStatusByUserId(long statusByUserId); 263 264 /** 265 * Returns the status by user uuid of this d d l record version. 266 * 267 * @return the status by user uuid of this d d l record version 268 * @throws SystemException if a system exception occurred 269 */ 270 public String getStatusByUserUuid() throws SystemException; 271 272 /** 273 * Sets the status by user uuid of this d d l record version. 274 * 275 * @param statusByUserUuid the status by user uuid of this d d l record version 276 */ 277 public void setStatusByUserUuid(String statusByUserUuid); 278 279 /** 280 * Returns the status by user name of this d d l record version. 281 * 282 * @return the status by user name of this d d l record version 283 */ 284 @AutoEscape 285 public String getStatusByUserName(); 286 287 /** 288 * Sets the status by user name of this d d l record version. 289 * 290 * @param statusByUserName the status by user name of this d d l record version 291 */ 292 public void setStatusByUserName(String statusByUserName); 293 294 /** 295 * Returns the status date of this d d l record version. 296 * 297 * @return the status date of this d d l record version 298 */ 299 public Date getStatusDate(); 300 301 /** 302 * Sets the status date of this d d l record version. 303 * 304 * @param statusDate the status date of this d d l record version 305 */ 306 public void setStatusDate(Date statusDate); 307 308 /** 309 * @deprecated Renamed to {@link #isApproved()} 310 */ 311 public boolean getApproved(); 312 313 /** 314 * Returns <code>true</code> if this d d l record version is approved. 315 * 316 * @return <code>true</code> if this d d l record version is approved; <code>false</code> otherwise 317 */ 318 public boolean isApproved(); 319 320 /** 321 * Returns <code>true</code> if this d d l record version is denied. 322 * 323 * @return <code>true</code> if this d d l record version is denied; <code>false</code> otherwise 324 */ 325 public boolean isDenied(); 326 327 /** 328 * Returns <code>true</code> if this d d l record version is a draft. 329 * 330 * @return <code>true</code> if this d d l record version is a draft; <code>false</code> otherwise 331 */ 332 public boolean isDraft(); 333 334 /** 335 * Returns <code>true</code> if this d d l record version is expired. 336 * 337 * @return <code>true</code> if this d d l record version is expired; <code>false</code> otherwise 338 */ 339 public boolean isExpired(); 340 341 /** 342 * Returns <code>true</code> if this d d l record version is inactive. 343 * 344 * @return <code>true</code> if this d d l record version is inactive; <code>false</code> otherwise 345 */ 346 public boolean isInactive(); 347 348 /** 349 * Returns <code>true</code> if this d d l record version is incomplete. 350 * 351 * @return <code>true</code> if this d d l record version is incomplete; <code>false</code> otherwise 352 */ 353 public boolean isIncomplete(); 354 355 /** 356 * Returns <code>true</code> if this d d l record version is pending. 357 * 358 * @return <code>true</code> if this d d l record version is pending; <code>false</code> otherwise 359 */ 360 public boolean isPending(); 361 362 /** 363 * Returns <code>true</code> if this d d l record version is scheduled. 364 * 365 * @return <code>true</code> if this d d l record version is scheduled; <code>false</code> otherwise 366 */ 367 public boolean isScheduled(); 368 369 public boolean isNew(); 370 371 public void setNew(boolean n); 372 373 public boolean isCachedModel(); 374 375 public void setCachedModel(boolean cachedModel); 376 377 public boolean isEscapedModel(); 378 379 public Serializable getPrimaryKeyObj(); 380 381 public void setPrimaryKeyObj(Serializable primaryKeyObj); 382 383 public ExpandoBridge getExpandoBridge(); 384 385 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 386 387 public Object clone(); 388 389 public int compareTo(DDLRecordVersion ddlRecordVersion); 390 391 public int hashCode(); 392 393 public CacheModel<DDLRecordVersion> toCacheModel(); 394 395 public DDLRecordVersion toEscapedModel(); 396 397 public DDLRecordVersion toUnescapedModel(); 398 399 public String toString(); 400 401 public String toXmlString(); 402 }