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