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