|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompanyModel
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.
This interface and its corresponding implementation CompanyModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CompanyImpl
.
Company
,
CompanyImpl
,
CompanyModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Company company)
|
long |
getAccountId()
Returns the account ID of this company. |
boolean |
getActive()
Returns the active of this company. |
long |
getCompanyId()
Returns the company ID of this company. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getHomeURL()
Returns the home u r l of this company. |
String |
getKey()
Returns the key of this company. |
long |
getLogoId()
Returns the logo ID of this company. |
int |
getMaxUsers()
Returns the max users of this company. |
String |
getMx()
Returns the mx of this company. |
long |
getPrimaryKey()
Returns the primary key of this company. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getSystem()
Returns the system of this company. |
String |
getWebId()
Returns the web ID of this company. |
int |
hashCode()
|
boolean |
isActive()
Returns true if this company is active. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isSystem()
Returns true if this company is system. |
void |
setAccountId(long accountId)
Sets the account ID of this company. |
void |
setActive(boolean active)
Sets whether this company is active. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this company. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setSystem(boolean system)
Sets whether this company is system. |
void |
setWebId(String webId)
Sets the web ID of this company. |
CacheModel<Company> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Company |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
Company |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this companylong getCompanyId()
void setCompanyId(long companyId)
companyId
- the company ID of this companylong getAccountId()
void setAccountId(long accountId)
accountId
- the account ID of this company@AutoEscape String getWebId()
void setWebId(String webId)
webId
- the web ID of this company@AutoEscape String getKey()
void setKey(String key)
key
- the key of this company@AutoEscape String getMx()
void setMx(String mx)
mx
- the mx of this company@AutoEscape String getHomeURL()
void setHomeURL(String homeURL)
homeURL
- the home u r l of this companylong getLogoId()
void setLogoId(long logoId)
logoId
- the logo ID of this companyboolean getSystem()
boolean isSystem()
true
if this company is system.
true
if this company is system; false
otherwisevoid setSystem(boolean system)
system
- the system of this companyint getMaxUsers()
void setMaxUsers(int maxUsers)
maxUsers
- the max users of this companyboolean getActive()
boolean isActive()
true
if this company is active.
true
if this company is active; false
otherwisevoid setActive(boolean active)
active
- the active of this companyboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<Company>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Company>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<Company>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Company>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Company>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Company>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Company>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Company>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Company>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<Company>
int compareTo(Company company)
compareTo
in interface Comparable<Company>
int hashCode()
hashCode
in class Object
CacheModel<Company> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Company>
Company toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Company>
AutoEscapeBeanHandler
Company toUnescapedModel()
toUnescapedModel
in interface BaseModel<Company>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Company>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |