|
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.CompanyWrapper
public class CompanyWrapper
This class is a wrapper for Company.
Company,
Serialized Form| Constructor Summary | |
|---|---|
CompanyWrapper(Company company)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Company company)
|
Account |
getAccount()
|
long |
getAccountId()
Gets the account id of this company. |
String |
getAdminName()
|
String |
getAuthType()
|
long |
getCompanyId()
Gets the company id of this company. |
User |
getDefaultUser()
|
String |
getDefaultWebId()
|
String |
getEmailAddress()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Group |
getGroup()
|
String |
getHomeURL()
Gets the home u r l of this company. |
String |
getKey()
Gets the key of this company. |
Key |
getKeyObj()
|
Locale |
getLocale()
|
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. |
String |
getName()
|
long |
getPrimaryKey()
Gets the primary key of this company. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getShardName()
|
String |
getShortName()
|
boolean |
getSystem()
Gets the system of this company. |
TimeZone |
getTimeZone()
|
String |
getVirtualHost()
Gets the virtual host of this company. |
String |
getWebId()
Gets the web id of this company. |
Company |
getWrappedCompany()
|
boolean |
hasCompanyMx(String emailAddress)
|
int |
hashCode()
|
boolean |
isAutoLogin()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isCommunityLogo()
|
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isSendPassword()
|
boolean |
isSendPasswordResetLink()
|
boolean |
isStrangers()
|
boolean |
isStrangersVerify()
|
boolean |
isStrangersWithMx()
|
boolean |
isSystem()
Determines whether this company is system. |
void |
setAccountId(long accountId)
Sets the account id of this company. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setKeyObj(Key keyObj)
|
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 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. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CompanyWrapper(Company company)
| Method Detail |
|---|
public long getPrimaryKey()
CompanyModel
getPrimaryKey in interface CompanyModelpublic void setPrimaryKey(long pk)
CompanyModel
setPrimaryKey in interface CompanyModelpk - the primary key of this companypublic 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 getKey()
CompanyModel
getKey in interface CompanyModelpublic void setKey(String key)
CompanyModel
setKey in interface CompanysetKey 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 getMx()
CompanyModel
getMx in interface CompanyModelpublic void setMx(String mx)
CompanyModel
setMx in interface CompanyModelmx - the mx of this companypublic 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 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 boolean isNew()
BaseModel
isNew in interface BaseModel<Company>isNew in interface CompanyModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Company>setNew in interface CompanyModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Company>isCachedModel in interface CompanyModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Company>setCachedModel in interface CompanyModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Company>isEscapedModel in interface CompanyModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Company>setEscapedModel in interface CompanyModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Company>getPrimaryKeyObj in interface CompanyModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Company>getExpandoBridge in interface CompanyModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Company>setExpandoBridgeAttributes in interface CompanyModelserviceContext - 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 Objectpublic int compareTo(Company company)
compareTo in interface CompanycompareTo in interface CompanyModelcompareTo in interface Comparable<Company>public 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
public Account getAccount()
throws PortalException,
SystemException
getAccount in interface CompanyPortalException
SystemExceptionpublic String getAdminName()
getAdminName in interface Company
public String getAuthType()
throws SystemException
getAuthType in interface CompanySystemException
public User getDefaultUser()
throws PortalException,
SystemException
getDefaultUser in interface CompanyPortalException
SystemExceptionpublic String getDefaultWebId()
getDefaultWebId in interface Companypublic String getEmailAddress()
getEmailAddress in interface Company
public Group getGroup()
throws PortalException,
SystemException
getGroup in interface CompanyPortalException
SystemExceptionpublic Key getKeyObj()
getKeyObj in interface Company
public Locale getLocale()
throws PortalException,
SystemException
getLocale in interface CompanyPortalException
SystemException
public String getName()
throws PortalException,
SystemException
getName in interface CompanyPortalException
SystemException
public String getShardName()
throws PortalException,
SystemException
getShardName in interface CompanyPortalException
SystemException
public String getShortName()
throws PortalException,
SystemException
getShortName in interface CompanyPortalException
SystemException
public TimeZone getTimeZone()
throws PortalException,
SystemException
getTimeZone in interface CompanyPortalException
SystemException
public boolean hasCompanyMx(String emailAddress)
throws SystemException
hasCompanyMx in interface CompanySystemException
public boolean isAutoLogin()
throws SystemException
isAutoLogin in interface CompanySystemException
public boolean isCommunityLogo()
throws SystemException
isCommunityLogo in interface CompanySystemException
public boolean isSendPassword()
throws SystemException
isSendPassword in interface CompanySystemException
public boolean isSendPasswordResetLink()
throws SystemException
isSendPasswordResetLink in interface CompanySystemException
public boolean isStrangers()
throws SystemException
isStrangers in interface CompanySystemException
public boolean isStrangersVerify()
throws SystemException
isStrangersVerify in interface CompanySystemException
public boolean isStrangersWithMx()
throws SystemException
isStrangersWithMx in interface CompanySystemExceptionpublic void setKeyObj(Key keyObj)
setKeyObj in interface Companypublic Company getWrappedCompany()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||