|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 CompanyModel
public void setPrimaryKey(long pk)
CompanyModel
setPrimaryKey
in interface CompanyModel
pk
- the primary key of this companypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Company>
getPrimaryKeyObj
in interface CompanyModel
public long getCompanyId()
CompanyModel
getCompanyId
in interface CompanyModel
public void setCompanyId(long companyId)
CompanyModel
setCompanyId
in interface CompanyModel
companyId
- the company id of this companypublic long getAccountId()
CompanyModel
getAccountId
in interface CompanyModel
public void setAccountId(long accountId)
CompanyModel
setAccountId
in interface CompanyModel
accountId
- the account id of this companypublic String getWebId()
CompanyModel
getWebId
in interface CompanyModel
public void setWebId(String webId)
CompanyModel
setWebId
in interface CompanyModel
webId
- the web id of this companypublic String getOriginalWebId()
public String getKey()
CompanyModel
getKey
in interface CompanyModel
public void setKey(String key)
CompanyModel
setKey
in interface CompanyModel
key
- the key of this companypublic String getVirtualHost()
CompanyModel
getVirtualHost
in interface CompanyModel
public void setVirtualHost(String virtualHost)
CompanyModel
setVirtualHost
in interface CompanyModel
virtualHost
- the virtual host of this companypublic String getOriginalVirtualHost()
public String getMx()
CompanyModel
getMx
in interface CompanyModel
public void setMx(String mx)
CompanyModel
setMx
in interface CompanyModel
mx
- the mx of this companypublic String getOriginalMx()
public String getHomeURL()
CompanyModel
getHomeURL
in interface CompanyModel
public void setHomeURL(String homeURL)
CompanyModel
setHomeURL
in interface CompanyModel
homeURL
- the home u r l of this companypublic long getLogoId()
CompanyModel
getLogoId
in interface CompanyModel
public void setLogoId(long logoId)
CompanyModel
setLogoId
in interface CompanyModel
logoId
- the logo id of this companypublic long getOriginalLogoId()
public boolean getSystem()
CompanyModel
getSystem
in interface CompanyModel
public boolean isSystem()
CompanyModel
isSystem
in interface CompanyModel
public void setSystem(boolean system)
CompanyModel
setSystem
in interface CompanyModel
system
- the system of this companypublic int getMaxUsers()
CompanyModel
getMaxUsers
in interface CompanyModel
public void setMaxUsers(int maxUsers)
CompanyModel
setMaxUsers
in interface CompanyModel
maxUsers
- the max users of this companypublic Company toEscapedModel()
CompanyModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface CompanyModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Company>
getExpandoBridge
in interface CompanyModel
getExpandoBridge
in class BaseModelImpl<Company>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Company>
setExpandoBridgeAttributes
in interface CompanyModel
setExpandoBridgeAttributes
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 CompanyModel
clone
in class BaseModelImpl<Company>
public int compareTo(Company company)
compareTo
in interface CompanyModel
compareTo
in interface Comparable<Company>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface CompanyModel
hashCode
in class Object
public String toString()
toString
in interface CompanyModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Company>
toXmlString
in interface CompanyModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |