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.portal.model; 016 017 import com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.service.ServiceContext; 020 021 import com.liferay.portlet.expando.model.ExpandoBridge; 022 023 import java.io.Serializable; 024 025 import java.util.Date; 026 027 /** 028 * The base model interface for the Account service. Represents a row in the "Account_" database table, with each column mapped to a property of this class. 029 * 030 * <p> 031 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.AccountModelImpl} 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.portal.model.impl.AccountImpl}. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see Account 036 * @see com.liferay.portal.model.impl.AccountImpl 037 * @see com.liferay.portal.model.impl.AccountModelImpl 038 * @generated 039 */ 040 public interface AccountModel extends AuditedModel, BaseModel<Account> { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a account model instance should use the {@link Account} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this account. 049 * 050 * @return the primary key of this account 051 */ 052 public long getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this account. 056 * 057 * @param primaryKey the primary key of this account 058 */ 059 public void setPrimaryKey(long primaryKey); 060 061 /** 062 * Returns the account ID of this account. 063 * 064 * @return the account ID of this account 065 */ 066 public long getAccountId(); 067 068 /** 069 * Sets the account ID of this account. 070 * 071 * @param accountId the account ID of this account 072 */ 073 public void setAccountId(long accountId); 074 075 /** 076 * Returns the company ID of this account. 077 * 078 * @return the company ID of this account 079 */ 080 public long getCompanyId(); 081 082 /** 083 * Sets the company ID of this account. 084 * 085 * @param companyId the company ID of this account 086 */ 087 public void setCompanyId(long companyId); 088 089 /** 090 * Returns the user ID of this account. 091 * 092 * @return the user ID of this account 093 */ 094 public long getUserId(); 095 096 /** 097 * Sets the user ID of this account. 098 * 099 * @param userId the user ID of this account 100 */ 101 public void setUserId(long userId); 102 103 /** 104 * Returns the user uuid of this account. 105 * 106 * @return the user uuid of this account 107 * @throws SystemException if a system exception occurred 108 */ 109 public String getUserUuid() throws SystemException; 110 111 /** 112 * Sets the user uuid of this account. 113 * 114 * @param userUuid the user uuid of this account 115 */ 116 public void setUserUuid(String userUuid); 117 118 /** 119 * Returns the user name of this account. 120 * 121 * @return the user name of this account 122 */ 123 @AutoEscape 124 public String getUserName(); 125 126 /** 127 * Sets the user name of this account. 128 * 129 * @param userName the user name of this account 130 */ 131 public void setUserName(String userName); 132 133 /** 134 * Returns the create date of this account. 135 * 136 * @return the create date of this account 137 */ 138 public Date getCreateDate(); 139 140 /** 141 * Sets the create date of this account. 142 * 143 * @param createDate the create date of this account 144 */ 145 public void setCreateDate(Date createDate); 146 147 /** 148 * Returns the modified date of this account. 149 * 150 * @return the modified date of this account 151 */ 152 public Date getModifiedDate(); 153 154 /** 155 * Sets the modified date of this account. 156 * 157 * @param modifiedDate the modified date of this account 158 */ 159 public void setModifiedDate(Date modifiedDate); 160 161 /** 162 * Returns the parent account ID of this account. 163 * 164 * @return the parent account ID of this account 165 */ 166 public long getParentAccountId(); 167 168 /** 169 * Sets the parent account ID of this account. 170 * 171 * @param parentAccountId the parent account ID of this account 172 */ 173 public void setParentAccountId(long parentAccountId); 174 175 /** 176 * Returns the name of this account. 177 * 178 * @return the name of this account 179 */ 180 @AutoEscape 181 public String getName(); 182 183 /** 184 * Sets the name of this account. 185 * 186 * @param name the name of this account 187 */ 188 public void setName(String name); 189 190 /** 191 * Returns the legal name of this account. 192 * 193 * @return the legal name of this account 194 */ 195 @AutoEscape 196 public String getLegalName(); 197 198 /** 199 * Sets the legal name of this account. 200 * 201 * @param legalName the legal name of this account 202 */ 203 public void setLegalName(String legalName); 204 205 /** 206 * Returns the legal ID of this account. 207 * 208 * @return the legal ID of this account 209 */ 210 @AutoEscape 211 public String getLegalId(); 212 213 /** 214 * Sets the legal ID of this account. 215 * 216 * @param legalId the legal ID of this account 217 */ 218 public void setLegalId(String legalId); 219 220 /** 221 * Returns the legal type of this account. 222 * 223 * @return the legal type of this account 224 */ 225 @AutoEscape 226 public String getLegalType(); 227 228 /** 229 * Sets the legal type of this account. 230 * 231 * @param legalType the legal type of this account 232 */ 233 public void setLegalType(String legalType); 234 235 /** 236 * Returns the sic code of this account. 237 * 238 * @return the sic code of this account 239 */ 240 @AutoEscape 241 public String getSicCode(); 242 243 /** 244 * Sets the sic code of this account. 245 * 246 * @param sicCode the sic code of this account 247 */ 248 public void setSicCode(String sicCode); 249 250 /** 251 * Returns the ticker symbol of this account. 252 * 253 * @return the ticker symbol of this account 254 */ 255 @AutoEscape 256 public String getTickerSymbol(); 257 258 /** 259 * Sets the ticker symbol of this account. 260 * 261 * @param tickerSymbol the ticker symbol of this account 262 */ 263 public void setTickerSymbol(String tickerSymbol); 264 265 /** 266 * Returns the industry of this account. 267 * 268 * @return the industry of this account 269 */ 270 @AutoEscape 271 public String getIndustry(); 272 273 /** 274 * Sets the industry of this account. 275 * 276 * @param industry the industry of this account 277 */ 278 public void setIndustry(String industry); 279 280 /** 281 * Returns the type of this account. 282 * 283 * @return the type of this account 284 */ 285 @AutoEscape 286 public String getType(); 287 288 /** 289 * Sets the type of this account. 290 * 291 * @param type the type of this account 292 */ 293 public void setType(String type); 294 295 /** 296 * Returns the size of this account. 297 * 298 * @return the size of this account 299 */ 300 @AutoEscape 301 public String getSize(); 302 303 /** 304 * Sets the size of this account. 305 * 306 * @param size the size of this account 307 */ 308 public void setSize(String size); 309 310 public boolean isNew(); 311 312 public void setNew(boolean n); 313 314 public boolean isCachedModel(); 315 316 public void setCachedModel(boolean cachedModel); 317 318 public boolean isEscapedModel(); 319 320 public Serializable getPrimaryKeyObj(); 321 322 public void setPrimaryKeyObj(Serializable primaryKeyObj); 323 324 public ExpandoBridge getExpandoBridge(); 325 326 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 327 328 public Object clone(); 329 330 public int compareTo(Account account); 331 332 public int hashCode(); 333 334 public CacheModel<Account> toCacheModel(); 335 336 public Account toEscapedModel(); 337 338 public Account toUnescapedModel(); 339 340 public String toString(); 341 342 public String toXmlString(); 343 }