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