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