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