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            @Override
081            public long getCompanyId();
082    
083            /**
084             * Sets the company ID of this account.
085             *
086             * @param companyId the company ID of this account
087             */
088            @Override
089            public void setCompanyId(long companyId);
090    
091            /**
092             * Returns the user ID of this account.
093             *
094             * @return the user ID of this account
095             */
096            @Override
097            public long getUserId();
098    
099            /**
100             * Sets the user ID of this account.
101             *
102             * @param userId the user ID of this account
103             */
104            @Override
105            public void setUserId(long userId);
106    
107            /**
108             * Returns the user uuid of this account.
109             *
110             * @return the user uuid of this account
111             * @throws SystemException if a system exception occurred
112             */
113            @Override
114            public String getUserUuid() throws SystemException;
115    
116            /**
117             * Sets the user uuid of this account.
118             *
119             * @param userUuid the user uuid of this account
120             */
121            @Override
122            public void setUserUuid(String userUuid);
123    
124            /**
125             * Returns the user name of this account.
126             *
127             * @return the user name of this account
128             */
129            @AutoEscape
130            @Override
131            public String getUserName();
132    
133            /**
134             * Sets the user name of this account.
135             *
136             * @param userName the user name of this account
137             */
138            @Override
139            public void setUserName(String userName);
140    
141            /**
142             * Returns the create date of this account.
143             *
144             * @return the create date of this account
145             */
146            @Override
147            public Date getCreateDate();
148    
149            /**
150             * Sets the create date of this account.
151             *
152             * @param createDate the create date of this account
153             */
154            @Override
155            public void setCreateDate(Date createDate);
156    
157            /**
158             * Returns the modified date of this account.
159             *
160             * @return the modified date of this account
161             */
162            @Override
163            public Date getModifiedDate();
164    
165            /**
166             * Sets the modified date of this account.
167             *
168             * @param modifiedDate the modified date of this account
169             */
170            @Override
171            public void setModifiedDate(Date modifiedDate);
172    
173            /**
174             * Returns the parent account ID of this account.
175             *
176             * @return the parent account ID of this account
177             */
178            public long getParentAccountId();
179    
180            /**
181             * Sets the parent account ID of this account.
182             *
183             * @param parentAccountId the parent account ID of this account
184             */
185            public void setParentAccountId(long parentAccountId);
186    
187            /**
188             * Returns the name of this account.
189             *
190             * @return the name of this account
191             */
192            @AutoEscape
193            public String getName();
194    
195            /**
196             * Sets the name of this account.
197             *
198             * @param name the name of this account
199             */
200            public void setName(String name);
201    
202            /**
203             * Returns the legal name of this account.
204             *
205             * @return the legal name of this account
206             */
207            @AutoEscape
208            public String getLegalName();
209    
210            /**
211             * Sets the legal name of this account.
212             *
213             * @param legalName the legal name of this account
214             */
215            public void setLegalName(String legalName);
216    
217            /**
218             * Returns the legal ID of this account.
219             *
220             * @return the legal ID of this account
221             */
222            @AutoEscape
223            public String getLegalId();
224    
225            /**
226             * Sets the legal ID of this account.
227             *
228             * @param legalId the legal ID of this account
229             */
230            public void setLegalId(String legalId);
231    
232            /**
233             * Returns the legal type of this account.
234             *
235             * @return the legal type of this account
236             */
237            @AutoEscape
238            public String getLegalType();
239    
240            /**
241             * Sets the legal type of this account.
242             *
243             * @param legalType the legal type of this account
244             */
245            public void setLegalType(String legalType);
246    
247            /**
248             * Returns the sic code of this account.
249             *
250             * @return the sic code of this account
251             */
252            @AutoEscape
253            public String getSicCode();
254    
255            /**
256             * Sets the sic code of this account.
257             *
258             * @param sicCode the sic code of this account
259             */
260            public void setSicCode(String sicCode);
261    
262            /**
263             * Returns the ticker symbol of this account.
264             *
265             * @return the ticker symbol of this account
266             */
267            @AutoEscape
268            public String getTickerSymbol();
269    
270            /**
271             * Sets the ticker symbol of this account.
272             *
273             * @param tickerSymbol the ticker symbol of this account
274             */
275            public void setTickerSymbol(String tickerSymbol);
276    
277            /**
278             * Returns the industry of this account.
279             *
280             * @return the industry of this account
281             */
282            @AutoEscape
283            public String getIndustry();
284    
285            /**
286             * Sets the industry of this account.
287             *
288             * @param industry the industry of this account
289             */
290            public void setIndustry(String industry);
291    
292            /**
293             * Returns the type of this account.
294             *
295             * @return the type of this account
296             */
297            @AutoEscape
298            public String getType();
299    
300            /**
301             * Sets the type of this account.
302             *
303             * @param type the type of this account
304             */
305            public void setType(String type);
306    
307            /**
308             * Returns the size of this account.
309             *
310             * @return the size of this account
311             */
312            @AutoEscape
313            public String getSize();
314    
315            /**
316             * Sets the size of this account.
317             *
318             * @param size the size of this account
319             */
320            public void setSize(String size);
321    
322            @Override
323            public boolean isNew();
324    
325            @Override
326            public void setNew(boolean n);
327    
328            @Override
329            public boolean isCachedModel();
330    
331            @Override
332            public void setCachedModel(boolean cachedModel);
333    
334            @Override
335            public boolean isEscapedModel();
336    
337            @Override
338            public Serializable getPrimaryKeyObj();
339    
340            @Override
341            public void setPrimaryKeyObj(Serializable primaryKeyObj);
342    
343            @Override
344            public ExpandoBridge getExpandoBridge();
345    
346            @Override
347            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
348    
349            @Override
350            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
351    
352            @Override
353            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
354    
355            @Override
356            public Object clone();
357    
358            @Override
359            public int compareTo(Account account);
360    
361            @Override
362            public int hashCode();
363    
364            @Override
365            public CacheModel<Account> toCacheModel();
366    
367            @Override
368            public Account toEscapedModel();
369    
370            @Override
371            public Account toUnescapedModel();
372    
373            @Override
374            public String toString();
375    
376            @Override
377            public String toXmlString();
378    }