com.liferay.portal.model
Interface CompanyModel

All Superinterfaces:
BaseModel<Company>, java.lang.Cloneable, java.lang.Comparable<Company>, java.io.Serializable
All Known Subinterfaces:
Company
All Known Implementing Classes:
CompanyWrapper

public interface CompanyModel
extends BaseModel<Company>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the Company table in the database.

Author:
Brian Wing Shun Chan
See Also:
Company, CompanyImpl, CompanyModelImpl
Generated:

Method Summary
 java.lang.Object clone()
           
 int compareTo(Company company)
           
 long getAccountId()
           
 long getCompanyId()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getHomeURL()
           
 java.lang.String getKey()
           
 long getLogoId()
           
 java.lang.String getMx()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 boolean getSystem()
           
 java.lang.String getVirtualHost()
           
 java.lang.String getWebId()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isSystem()
           
 void setAccountId(long accountId)
           
 void setCachedModel(boolean cachedModel)
           
 void setCompanyId(long companyId)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setHomeURL(java.lang.String homeURL)
           
 void setKey(java.lang.String key)
           
 void setLogoId(long logoId)
           
 void setMx(java.lang.String mx)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setSystem(boolean system)
           
 void setVirtualHost(java.lang.String virtualHost)
           
 void setWebId(java.lang.String webId)
           
 Company toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getCompanyId

long getCompanyId()

setCompanyId

void setCompanyId(long companyId)

getAccountId

long getAccountId()

setAccountId

void setAccountId(long accountId)

getWebId

java.lang.String getWebId()

setWebId

void setWebId(java.lang.String webId)

getKey

java.lang.String getKey()

setKey

void setKey(java.lang.String key)

getVirtualHost

java.lang.String getVirtualHost()

setVirtualHost

void setVirtualHost(java.lang.String virtualHost)

getMx

java.lang.String getMx()

setMx

void setMx(java.lang.String mx)

getHomeURL

java.lang.String getHomeURL()

setHomeURL

void setHomeURL(java.lang.String homeURL)

getLogoId

long getLogoId()

setLogoId

void setLogoId(long logoId)

getSystem

boolean getSystem()

isSystem

boolean isSystem()

setSystem

void setSystem(boolean system)

toEscapedModel

Company toEscapedModel()

isNew

boolean isNew()
Specified by:
isNew in interface BaseModel<Company>

setNew

boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Company>

isCachedModel

boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Company>

setCachedModel

void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Company>

isEscapedModel

boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Company>

setEscapedModel

void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Company>

getPrimaryKeyObj

java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<Company>

getExpandoBridge

ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Company>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Company>

clone

java.lang.Object clone()
Specified by:
clone in interface BaseModel<Company>

compareTo

int compareTo(Company company)
Specified by:
compareTo in interface java.lang.Comparable<Company>

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<Company>