001    /**
002     * Copyright (c) 2000-2010 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.annotation.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     * <p>
026     * This interface is a model that represents the Company table in the
027     * database.
028     * </p>
029     *
030     * @author    Brian Wing Shun Chan
031     * @see       Company
032     * @see       com.liferay.portal.model.impl.CompanyImpl
033     * @see       com.liferay.portal.model.impl.CompanyModelImpl
034     * @generated
035     */
036    public interface CompanyModel extends BaseModel<Company> {
037            public long getPrimaryKey();
038    
039            public void setPrimaryKey(long pk);
040    
041            public long getCompanyId();
042    
043            public void setCompanyId(long companyId);
044    
045            public long getAccountId();
046    
047            public void setAccountId(long accountId);
048    
049            @AutoEscape
050            public String getWebId();
051    
052            public void setWebId(String webId);
053    
054            @AutoEscape
055            public String getKey();
056    
057            public void setKey(String key);
058    
059            @AutoEscape
060            public String getVirtualHost();
061    
062            public void setVirtualHost(String virtualHost);
063    
064            @AutoEscape
065            public String getMx();
066    
067            public void setMx(String mx);
068    
069            @AutoEscape
070            public String getHomeURL();
071    
072            public void setHomeURL(String homeURL);
073    
074            public long getLogoId();
075    
076            public void setLogoId(long logoId);
077    
078            public boolean getSystem();
079    
080            public boolean isSystem();
081    
082            public void setSystem(boolean system);
083    
084            public int getMaxUsers();
085    
086            public void setMaxUsers(int maxUsers);
087    
088            public Company toEscapedModel();
089    
090            public boolean isNew();
091    
092            public void setNew(boolean n);
093    
094            public boolean isCachedModel();
095    
096            public void setCachedModel(boolean cachedModel);
097    
098            public boolean isEscapedModel();
099    
100            public void setEscapedModel(boolean escapedModel);
101    
102            public Serializable getPrimaryKeyObj();
103    
104            public ExpandoBridge getExpandoBridge();
105    
106            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
107    
108            public Object clone();
109    
110            public int compareTo(Company company);
111    
112            public int hashCode();
113    
114            public String toString();
115    
116            public String toXmlString();
117    }