001 /** 002 * Copyright (c) 2000-2010 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.documentlibrary.model; 016 017 import com.liferay.portal.kernel.annotation.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.model.BaseModel; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 import java.util.Date; 027 028 /** 029 * The base model interface for the DLFileVersion service. Represents a row in the "DLFileVersion" database table, with each column mapped to a property of this class. 030 * 031 * <p> 032 * This interface and its corresponding implementation {@link com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl} 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.documentlibrary.model.impl.DLFileVersionImpl}. 033 * </p> 034 * 035 * <p> 036 * Never modify or reference this interface directly. All methods that expect a d l file version model instance should use the {@link DLFileVersion} interface instead. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see DLFileVersion 041 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl 042 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl 043 * @generated 044 */ 045 public interface DLFileVersionModel extends BaseModel<DLFileVersion> { 046 /** 047 * Gets the primary key of this d l file version. 048 * 049 * @return the primary key of this d l file version 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this d l file version 055 * 056 * @param pk the primary key of this d l file version 057 */ 058 public void setPrimaryKey(long pk); 059 060 /** 061 * Gets the file version id of this d l file version. 062 * 063 * @return the file version id of this d l file version 064 */ 065 public long getFileVersionId(); 066 067 /** 068 * Sets the file version id of this d l file version. 069 * 070 * @param fileVersionId the file version id of this d l file version 071 */ 072 public void setFileVersionId(long fileVersionId); 073 074 /** 075 * Gets the group id of this d l file version. 076 * 077 * @return the group id of this d l file version 078 */ 079 public long getGroupId(); 080 081 /** 082 * Sets the group id of this d l file version. 083 * 084 * @param groupId the group id of this d l file version 085 */ 086 public void setGroupId(long groupId); 087 088 /** 089 * Gets the company id of this d l file version. 090 * 091 * @return the company id of this d l file version 092 */ 093 public long getCompanyId(); 094 095 /** 096 * Sets the company id of this d l file version. 097 * 098 * @param companyId the company id of this d l file version 099 */ 100 public void setCompanyId(long companyId); 101 102 /** 103 * Gets the user id of this d l file version. 104 * 105 * @return the user id of this d l file version 106 */ 107 public long getUserId(); 108 109 /** 110 * Sets the user id of this d l file version. 111 * 112 * @param userId the user id of this d l file version 113 */ 114 public void setUserId(long userId); 115 116 /** 117 * Gets the user uuid of this d l file version. 118 * 119 * @return the user uuid of this d l file version 120 * @throws SystemException if a system exception occurred 121 */ 122 public String getUserUuid() throws SystemException; 123 124 /** 125 * Sets the user uuid of this d l file version. 126 * 127 * @param userUuid the user uuid of this d l file version 128 */ 129 public void setUserUuid(String userUuid); 130 131 /** 132 * Gets the user name of this d l file version. 133 * 134 * @return the user name of this d l file version 135 */ 136 @AutoEscape 137 public String getUserName(); 138 139 /** 140 * Sets the user name of this d l file version. 141 * 142 * @param userName the user name of this d l file version 143 */ 144 public void setUserName(String userName); 145 146 /** 147 * Gets the create date of this d l file version. 148 * 149 * @return the create date of this d l file version 150 */ 151 public Date getCreateDate(); 152 153 /** 154 * Sets the create date of this d l file version. 155 * 156 * @param createDate the create date of this d l file version 157 */ 158 public void setCreateDate(Date createDate); 159 160 /** 161 * Gets the folder id of this d l file version. 162 * 163 * @return the folder id of this d l file version 164 */ 165 public long getFolderId(); 166 167 /** 168 * Sets the folder id of this d l file version. 169 * 170 * @param folderId the folder id of this d l file version 171 */ 172 public void setFolderId(long folderId); 173 174 /** 175 * Gets the name of this d l file version. 176 * 177 * @return the name of this d l file version 178 */ 179 @AutoEscape 180 public String getName(); 181 182 /** 183 * Sets the name of this d l file version. 184 * 185 * @param name the name of this d l file version 186 */ 187 public void setName(String name); 188 189 /** 190 * Gets the extension of this d l file version. 191 * 192 * @return the extension of this d l file version 193 */ 194 @AutoEscape 195 public String getExtension(); 196 197 /** 198 * Sets the extension of this d l file version. 199 * 200 * @param extension the extension of this d l file version 201 */ 202 public void setExtension(String extension); 203 204 /** 205 * Gets the title of this d l file version. 206 * 207 * @return the title of this d l file version 208 */ 209 @AutoEscape 210 public String getTitle(); 211 212 /** 213 * Sets the title of this d l file version. 214 * 215 * @param title the title of this d l file version 216 */ 217 public void setTitle(String title); 218 219 /** 220 * Gets the description of this d l file version. 221 * 222 * @return the description of this d l file version 223 */ 224 @AutoEscape 225 public String getDescription(); 226 227 /** 228 * Sets the description of this d l file version. 229 * 230 * @param description the description of this d l file version 231 */ 232 public void setDescription(String description); 233 234 /** 235 * Gets the change log of this d l file version. 236 * 237 * @return the change log of this d l file version 238 */ 239 @AutoEscape 240 public String getChangeLog(); 241 242 /** 243 * Sets the change log of this d l file version. 244 * 245 * @param changeLog the change log of this d l file version 246 */ 247 public void setChangeLog(String changeLog); 248 249 /** 250 * Gets the extra settings of this d l file version. 251 * 252 * @return the extra settings of this d l file version 253 */ 254 @AutoEscape 255 public String getExtraSettings(); 256 257 /** 258 * Sets the extra settings of this d l file version. 259 * 260 * @param extraSettings the extra settings of this d l file version 261 */ 262 public void setExtraSettings(String extraSettings); 263 264 /** 265 * Gets the version of this d l file version. 266 * 267 * @return the version of this d l file version 268 */ 269 @AutoEscape 270 public String getVersion(); 271 272 /** 273 * Sets the version of this d l file version. 274 * 275 * @param version the version of this d l file version 276 */ 277 public void setVersion(String version); 278 279 /** 280 * Gets the size of this d l file version. 281 * 282 * @return the size of this d l file version 283 */ 284 public long getSize(); 285 286 /** 287 * Sets the size of this d l file version. 288 * 289 * @param size the size of this d l file version 290 */ 291 public void setSize(long size); 292 293 /** 294 * Gets the status of this d l file version. 295 * 296 * @return the status of this d l file version 297 */ 298 public int getStatus(); 299 300 /** 301 * Sets the status of this d l file version. 302 * 303 * @param status the status of this d l file version 304 */ 305 public void setStatus(int status); 306 307 /** 308 * Gets the status by user id of this d l file version. 309 * 310 * @return the status by user id of this d l file version 311 */ 312 public long getStatusByUserId(); 313 314 /** 315 * Sets the status by user id of this d l file version. 316 * 317 * @param statusByUserId the status by user id of this d l file version 318 */ 319 public void setStatusByUserId(long statusByUserId); 320 321 /** 322 * Gets the status by user uuid of this d l file version. 323 * 324 * @return the status by user uuid of this d l file version 325 * @throws SystemException if a system exception occurred 326 */ 327 public String getStatusByUserUuid() throws SystemException; 328 329 /** 330 * Sets the status by user uuid of this d l file version. 331 * 332 * @param statusByUserUuid the status by user uuid of this d l file version 333 */ 334 public void setStatusByUserUuid(String statusByUserUuid); 335 336 /** 337 * Gets the status by user name of this d l file version. 338 * 339 * @return the status by user name of this d l file version 340 */ 341 @AutoEscape 342 public String getStatusByUserName(); 343 344 /** 345 * Sets the status by user name of this d l file version. 346 * 347 * @param statusByUserName the status by user name of this d l file version 348 */ 349 public void setStatusByUserName(String statusByUserName); 350 351 /** 352 * Gets the status date of this d l file version. 353 * 354 * @return the status date of this d l file version 355 */ 356 public Date getStatusDate(); 357 358 /** 359 * Sets the status date of this d l file version. 360 * 361 * @param statusDate the status date of this d l file version 362 */ 363 public void setStatusDate(Date statusDate); 364 365 /** 366 * Determines whether this d l file version is approved. 367 * 368 * @return true if this d l file version is approved; false otherwise 369 */ 370 public boolean isApproved(); 371 372 /** 373 * Determines whether this d l file version is a draft. 374 * 375 * @return true if this d l file version is a draft; false otherwise 376 */ 377 public boolean isDraft(); 378 379 /** 380 * Determines whether this d l file version is expired. 381 * 382 * @return true if this d l file version is expired; false otherwise 383 */ 384 public boolean isExpired(); 385 386 /** 387 * Determines whether this d l file version is pending. 388 * 389 * @return true if this d l file version is pending; false otherwise 390 */ 391 public boolean isPending(); 392 393 /** 394 * Gets a copy of this d l file version as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 395 * 396 * @return the escaped model instance 397 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 398 */ 399 public DLFileVersion toEscapedModel(); 400 401 public boolean isNew(); 402 403 public void setNew(boolean n); 404 405 public boolean isCachedModel(); 406 407 public void setCachedModel(boolean cachedModel); 408 409 public boolean isEscapedModel(); 410 411 public void setEscapedModel(boolean escapedModel); 412 413 public Serializable getPrimaryKeyObj(); 414 415 public ExpandoBridge getExpandoBridge(); 416 417 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 418 419 public Object clone(); 420 421 public int compareTo(DLFileVersion dlFileVersion); 422 423 public int hashCode(); 424 425 public String toString(); 426 427 public String toXmlString(); 428 }