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.service.ServiceContext;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    /**
025     * The base model interface for the Company service. Represents a row in the "Company" database table, with each column mapped to a property of this class.
026     *
027     * <p>
028     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.CompanyModelImpl} 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.CompanyImpl}.
029     * </p>
030     *
031     * @author Brian Wing Shun Chan
032     * @see Company
033     * @see com.liferay.portal.model.impl.CompanyImpl
034     * @see com.liferay.portal.model.impl.CompanyModelImpl
035     * @generated
036     */
037    public interface CompanyModel extends BaseModel<Company> {
038            /*
039             * NOTE FOR DEVELOPERS:
040             *
041             * Never modify or reference this interface directly. All methods that expect a company model instance should use the {@link Company} interface instead.
042             */
043    
044            /**
045             * Returns the primary key of this company.
046             *
047             * @return the primary key of this company
048             */
049            public long getPrimaryKey();
050    
051            /**
052             * Sets the primary key of this company.
053             *
054             * @param primaryKey the primary key of this company
055             */
056            public void setPrimaryKey(long primaryKey);
057    
058            /**
059             * Returns the company ID of this company.
060             *
061             * @return the company ID of this company
062             */
063            public long getCompanyId();
064    
065            /**
066             * Sets the company ID of this company.
067             *
068             * @param companyId the company ID of this company
069             */
070            public void setCompanyId(long companyId);
071    
072            /**
073             * Returns the account ID of this company.
074             *
075             * @return the account ID of this company
076             */
077            public long getAccountId();
078    
079            /**
080             * Sets the account ID of this company.
081             *
082             * @param accountId the account ID of this company
083             */
084            public void setAccountId(long accountId);
085    
086            /**
087             * Returns the web ID of this company.
088             *
089             * @return the web ID of this company
090             */
091            @AutoEscape
092            public String getWebId();
093    
094            /**
095             * Sets the web ID of this company.
096             *
097             * @param webId the web ID of this company
098             */
099            public void setWebId(String webId);
100    
101            /**
102             * Returns the key of this company.
103             *
104             * @return the key of this company
105             */
106            @AutoEscape
107            public String getKey();
108    
109            /**
110             * Sets the key of this company.
111             *
112             * @param key the key of this company
113             */
114            public void setKey(String key);
115    
116            /**
117             * Returns the mx of this company.
118             *
119             * @return the mx of this company
120             */
121            @AutoEscape
122            public String getMx();
123    
124            /**
125             * Sets the mx of this company.
126             *
127             * @param mx the mx of this company
128             */
129            public void setMx(String mx);
130    
131            /**
132             * Returns the home u r l of this company.
133             *
134             * @return the home u r l of this company
135             */
136            @AutoEscape
137            public String getHomeURL();
138    
139            /**
140             * Sets the home u r l of this company.
141             *
142             * @param homeURL the home u r l of this company
143             */
144            public void setHomeURL(String homeURL);
145    
146            /**
147             * Returns the logo ID of this company.
148             *
149             * @return the logo ID of this company
150             */
151            public long getLogoId();
152    
153            /**
154             * Sets the logo ID of this company.
155             *
156             * @param logoId the logo ID of this company
157             */
158            public void setLogoId(long logoId);
159    
160            /**
161             * Returns the system of this company.
162             *
163             * @return the system of this company
164             */
165            public boolean getSystem();
166    
167            /**
168             * Returns <code>true</code> if this company is system.
169             *
170             * @return <code>true</code> if this company is system; <code>false</code> otherwise
171             */
172            public boolean isSystem();
173    
174            /**
175             * Sets whether this company is system.
176             *
177             * @param system the system of this company
178             */
179            public void setSystem(boolean system);
180    
181            /**
182             * Returns the max users of this company.
183             *
184             * @return the max users of this company
185             */
186            public int getMaxUsers();
187    
188            /**
189             * Sets the max users of this company.
190             *
191             * @param maxUsers the max users of this company
192             */
193            public void setMaxUsers(int maxUsers);
194    
195            /**
196             * Returns the active of this company.
197             *
198             * @return the active of this company
199             */
200            public boolean getActive();
201    
202            /**
203             * Returns <code>true</code> if this company is active.
204             *
205             * @return <code>true</code> if this company is active; <code>false</code> otherwise
206             */
207            public boolean isActive();
208    
209            /**
210             * Sets whether this company is active.
211             *
212             * @param active the active of this company
213             */
214            public void setActive(boolean active);
215    
216            public boolean isNew();
217    
218            public void setNew(boolean n);
219    
220            public boolean isCachedModel();
221    
222            public void setCachedModel(boolean cachedModel);
223    
224            public boolean isEscapedModel();
225    
226            public Serializable getPrimaryKeyObj();
227    
228            public void setPrimaryKeyObj(Serializable primaryKeyObj);
229    
230            public ExpandoBridge getExpandoBridge();
231    
232            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
233    
234            public Object clone();
235    
236            public int compareTo(Company company);
237    
238            public int hashCode();
239    
240            public CacheModel<Company> toCacheModel();
241    
242            public Company toEscapedModel();
243    
244            public Company toUnescapedModel();
245    
246            public String toString();
247    
248            public String toXmlString();
249    }