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.tasks.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 TasksReview service. Represents a row in the "TasksReview" 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.tasks.model.impl.TasksReviewModelImpl} 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.tasks.model.impl.TasksReviewImpl}. 033 * </p> 034 * 035 * <p> 036 * Never modify or reference this interface directly. All methods that expect a tasks review model instance should use the {@link TasksReview} interface instead. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see TasksReview 041 * @see com.liferay.portlet.tasks.model.impl.TasksReviewImpl 042 * @see com.liferay.portlet.tasks.model.impl.TasksReviewModelImpl 043 * @generated 044 */ 045 public interface TasksReviewModel extends BaseModel<TasksReview> { 046 /** 047 * Gets the primary key of this tasks review. 048 * 049 * @return the primary key of this tasks review 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this tasks review 055 * 056 * @param pk the primary key of this tasks review 057 */ 058 public void setPrimaryKey(long pk); 059 060 /** 061 * Gets the review id of this tasks review. 062 * 063 * @return the review id of this tasks review 064 */ 065 public long getReviewId(); 066 067 /** 068 * Sets the review id of this tasks review. 069 * 070 * @param reviewId the review id of this tasks review 071 */ 072 public void setReviewId(long reviewId); 073 074 /** 075 * Gets the group id of this tasks review. 076 * 077 * @return the group id of this tasks review 078 */ 079 public long getGroupId(); 080 081 /** 082 * Sets the group id of this tasks review. 083 * 084 * @param groupId the group id of this tasks review 085 */ 086 public void setGroupId(long groupId); 087 088 /** 089 * Gets the company id of this tasks review. 090 * 091 * @return the company id of this tasks review 092 */ 093 public long getCompanyId(); 094 095 /** 096 * Sets the company id of this tasks review. 097 * 098 * @param companyId the company id of this tasks review 099 */ 100 public void setCompanyId(long companyId); 101 102 /** 103 * Gets the user id of this tasks review. 104 * 105 * @return the user id of this tasks review 106 */ 107 public long getUserId(); 108 109 /** 110 * Sets the user id of this tasks review. 111 * 112 * @param userId the user id of this tasks review 113 */ 114 public void setUserId(long userId); 115 116 /** 117 * Gets the user uuid of this tasks review. 118 * 119 * @return the user uuid of this tasks review 120 * @throws SystemException if a system exception occurred 121 */ 122 public String getUserUuid() throws SystemException; 123 124 /** 125 * Sets the user uuid of this tasks review. 126 * 127 * @param userUuid the user uuid of this tasks review 128 */ 129 public void setUserUuid(String userUuid); 130 131 /** 132 * Gets the user name of this tasks review. 133 * 134 * @return the user name of this tasks review 135 */ 136 @AutoEscape 137 public String getUserName(); 138 139 /** 140 * Sets the user name of this tasks review. 141 * 142 * @param userName the user name of this tasks review 143 */ 144 public void setUserName(String userName); 145 146 /** 147 * Gets the create date of this tasks review. 148 * 149 * @return the create date of this tasks review 150 */ 151 public Date getCreateDate(); 152 153 /** 154 * Sets the create date of this tasks review. 155 * 156 * @param createDate the create date of this tasks review 157 */ 158 public void setCreateDate(Date createDate); 159 160 /** 161 * Gets the modified date of this tasks review. 162 * 163 * @return the modified date of this tasks review 164 */ 165 public Date getModifiedDate(); 166 167 /** 168 * Sets the modified date of this tasks review. 169 * 170 * @param modifiedDate the modified date of this tasks review 171 */ 172 public void setModifiedDate(Date modifiedDate); 173 174 /** 175 * Gets the proposal id of this tasks review. 176 * 177 * @return the proposal id of this tasks review 178 */ 179 public long getProposalId(); 180 181 /** 182 * Sets the proposal id of this tasks review. 183 * 184 * @param proposalId the proposal id of this tasks review 185 */ 186 public void setProposalId(long proposalId); 187 188 /** 189 * Gets the assigned by user id of this tasks review. 190 * 191 * @return the assigned by user id of this tasks review 192 */ 193 public long getAssignedByUserId(); 194 195 /** 196 * Sets the assigned by user id of this tasks review. 197 * 198 * @param assignedByUserId the assigned by user id of this tasks review 199 */ 200 public void setAssignedByUserId(long assignedByUserId); 201 202 /** 203 * Gets the assigned by user uuid of this tasks review. 204 * 205 * @return the assigned by user uuid of this tasks review 206 * @throws SystemException if a system exception occurred 207 */ 208 public String getAssignedByUserUuid() throws SystemException; 209 210 /** 211 * Sets the assigned by user uuid of this tasks review. 212 * 213 * @param assignedByUserUuid the assigned by user uuid of this tasks review 214 */ 215 public void setAssignedByUserUuid(String assignedByUserUuid); 216 217 /** 218 * Gets the assigned by user name of this tasks review. 219 * 220 * @return the assigned by user name of this tasks review 221 */ 222 @AutoEscape 223 public String getAssignedByUserName(); 224 225 /** 226 * Sets the assigned by user name of this tasks review. 227 * 228 * @param assignedByUserName the assigned by user name of this tasks review 229 */ 230 public void setAssignedByUserName(String assignedByUserName); 231 232 /** 233 * Gets the stage of this tasks review. 234 * 235 * @return the stage of this tasks review 236 */ 237 public int getStage(); 238 239 /** 240 * Sets the stage of this tasks review. 241 * 242 * @param stage the stage of this tasks review 243 */ 244 public void setStage(int stage); 245 246 /** 247 * Gets the completed of this tasks review. 248 * 249 * @return the completed of this tasks review 250 */ 251 public boolean getCompleted(); 252 253 /** 254 * Determines whether this tasks review is completed. 255 * 256 * @return whether this tasks review is completed 257 */ 258 public boolean isCompleted(); 259 260 /** 261 * Sets whether this {$entity.humanName} is completed. 262 * 263 * @param completed the completed of this tasks review 264 */ 265 public void setCompleted(boolean completed); 266 267 /** 268 * Gets the rejected of this tasks review. 269 * 270 * @return the rejected of this tasks review 271 */ 272 public boolean getRejected(); 273 274 /** 275 * Determines whether this tasks review is rejected. 276 * 277 * @return whether this tasks review is rejected 278 */ 279 public boolean isRejected(); 280 281 /** 282 * Sets whether this {$entity.humanName} is rejected. 283 * 284 * @param rejected the rejected of this tasks review 285 */ 286 public void setRejected(boolean rejected); 287 288 /** 289 * Gets a copy of this tasks review as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 290 * 291 * @return the escaped model instance 292 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 293 */ 294 public TasksReview toEscapedModel(); 295 296 public boolean isNew(); 297 298 public void setNew(boolean n); 299 300 public boolean isCachedModel(); 301 302 public void setCachedModel(boolean cachedModel); 303 304 public boolean isEscapedModel(); 305 306 public void setEscapedModel(boolean escapedModel); 307 308 public Serializable getPrimaryKeyObj(); 309 310 public ExpandoBridge getExpandoBridge(); 311 312 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 313 314 public Object clone(); 315 316 public int compareTo(TasksReview tasksReview); 317 318 public int hashCode(); 319 320 public String toString(); 321 322 public String toXmlString(); 323 }