|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Company>
com.liferay.portal.model.impl.CompanyModelImpl
public class CompanyModelImpl
The base model implementation for the Company service. Represents a row in the "Company" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface CompanyModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CompanyImpl.
Never modify or reference this class directly. All methods that expect a company model instance should use the Company interface instead.
CompanyImpl,
Company,
CompanyModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
CompanyModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Company company)
|
boolean |
equals(Object obj)
|
long |
getAccountId()
Gets the account id of this company. |
long |
getCompanyId()
Gets the company id of this company. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getHomeURL()
Gets the home u r l of this company. |
String |
getKey()
Gets the key of this company. |
long |
getLogoId()
Gets the logo id of this company. |
int |
getMaxUsers()
Gets the max users of this company. |
String |
getMx()
Gets the mx of this company. |
long |
getOriginalLogoId()
|
String |
getOriginalMx()
|
String |
getOriginalVirtualHost()
|
String |
getOriginalWebId()
|
long |
getPrimaryKey()
Gets the primary key of this company. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getSystem()
Gets the system of this company. |
String |
getVirtualHost()
Gets the virtual host of this company. |
String |
getWebId()
Gets the web id of this company. |
int |
hashCode()
|
boolean |
isSystem()
Determines whether this company is system. |
void |
setAccountId(long accountId)
Sets the account id of this company. |
void |
setCompanyId(long companyId)
Sets the company id of this company. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setHomeURL(String homeURL)
Sets the home u r l of this company. |
void |
setKey(String key)
Sets the key of this company. |
void |
setLogoId(long logoId)
Sets the logo id of this company. |
void |
setMaxUsers(int maxUsers)
Sets the max users of this company. |
void |
setMx(String mx)
Sets the mx of this company. |
void |
setPrimaryKey(long pk)
Sets the primary key of this company |
void |
setSystem(boolean system)
Sets whether this {$entity.humanName} is system. |
void |
setVirtualHost(String virtualHost)
Sets the virtual host of this company. |
void |
setWebId(String webId)
Sets the web id of this company. |
Company |
toEscapedModel()
Gets a copy of this company as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Company |
toModel(CompanySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Company> |
toModels(CompanySoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.CompanyModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public CompanyModelImpl()
| Method Detail |
|---|
public static Company toModel(CompanySoap soapModel)
soapModel - the soap model instance to convert
public static List<Company> toModels(CompanySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
CompanyModel
getPrimaryKey in interface CompanyModelpublic void setPrimaryKey(long pk)
CompanyModel
setPrimaryKey in interface CompanyModelpk - the primary key of this companypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Company>getPrimaryKeyObj in interface CompanyModelpublic long getCompanyId()
CompanyModel
getCompanyId in interface CompanyModelpublic void setCompanyId(long companyId)
CompanyModel
setCompanyId in interface CompanyModelcompanyId - the company id of this companypublic long getAccountId()
CompanyModel
getAccountId in interface CompanyModelpublic void setAccountId(long accountId)
CompanyModel
setAccountId in interface CompanyModelaccountId - the account id of this companypublic String getWebId()
CompanyModel
getWebId in interface CompanyModelpublic void setWebId(String webId)
CompanyModel
setWebId in interface CompanyModelwebId - the web id of this companypublic String getOriginalWebId()
public String getKey()
CompanyModel
getKey in interface CompanyModelpublic void setKey(String key)
CompanyModel
setKey in interface CompanyModelkey - the key of this companypublic String getVirtualHost()
CompanyModel
getVirtualHost in interface CompanyModelpublic void setVirtualHost(String virtualHost)
CompanyModel
setVirtualHost in interface CompanyModelvirtualHost - the virtual host of this companypublic String getOriginalVirtualHost()
public String getMx()
CompanyModel
getMx in interface CompanyModelpublic void setMx(String mx)
CompanyModel
setMx in interface CompanyModelmx - the mx of this companypublic String getOriginalMx()
public String getHomeURL()
CompanyModel
getHomeURL in interface CompanyModelpublic void setHomeURL(String homeURL)
CompanyModel
setHomeURL in interface CompanyModelhomeURL - the home u r l of this companypublic long getLogoId()
CompanyModel
getLogoId in interface CompanyModelpublic void setLogoId(long logoId)
CompanyModel
setLogoId in interface CompanyModellogoId - the logo id of this companypublic long getOriginalLogoId()
public boolean getSystem()
CompanyModel
getSystem in interface CompanyModelpublic boolean isSystem()
CompanyModel
isSystem in interface CompanyModelpublic void setSystem(boolean system)
CompanyModel
setSystem in interface CompanyModelsystem - the system of this companypublic int getMaxUsers()
CompanyModel
getMaxUsers in interface CompanyModelpublic void setMaxUsers(int maxUsers)
CompanyModel
setMaxUsers in interface CompanyModelmaxUsers - the max users of this companypublic Company toEscapedModel()
CompanyModelAutoEscapeBeanHandler.
toEscapedModel in interface CompanyModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Company>getExpandoBridge in interface CompanyModelgetExpandoBridge in class BaseModelImpl<Company>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Company>setExpandoBridgeAttributes in interface CompanyModelsetExpandoBridgeAttributes in class BaseModelImpl<Company>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Company>clone in interface CompanyModelclone in class BaseModelImpl<Company>public int compareTo(Company company)
compareTo in interface CompanyModelcompareTo in interface Comparable<Company>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface CompanyModelhashCode in class Objectpublic String toString()
toString in interface CompanyModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Company>toXmlString in interface CompanyModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||