|
Liferay 6.0.6 | |||||||||
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 FormConstructor 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 if 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 CompanyModel
public void setPrimaryKey(long pk)
CompanyModel
setPrimaryKey
in interface CompanyModel
pk
- the primary key of this companypublic 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 getKey()
CompanyModel
getKey
in interface CompanyModel
public void setKey(String key)
CompanyModel
setKey
in interface Company
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 getMx()
CompanyModel
getMx
in interface CompanyModel
public void setMx(String mx)
CompanyModel
setMx
in interface CompanyModel
mx
- the mx of this companypublic 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 boolean getSystem()
CompanyModel
getSystem
in interface CompanyModel
public boolean isSystem()
CompanyModel
isSystem
in interface CompanyModel
true
if this company is system; false
otherwisepublic 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 boolean isNew()
BaseModel
isNew
in interface BaseModel<Company>
isNew
in interface CompanyModel
true
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 CompanyModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<Company>
isCachedModel
in interface CompanyModel
true
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 CompanyModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<Company>
isEscapedModel
in interface CompanyModel
true
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 CompanyModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Company>
getPrimaryKeyObj
in interface CompanyModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Company>
getExpandoBridge
in interface CompanyModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Company>
setExpandoBridgeAttributes
in interface CompanyModel
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 Object
public int compareTo(Company company)
compareTo
in interface Company
compareTo
in interface CompanyModel
compareTo
in interface Comparable<Company>
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
public Account getAccount() throws PortalException, SystemException
getAccount
in interface Company
PortalException
SystemException
public String getAdminName()
getAdminName
in interface Company
public String getAuthType() throws SystemException
getAuthType
in interface Company
SystemException
public User getDefaultUser() throws PortalException, SystemException
getDefaultUser
in interface Company
PortalException
SystemException
public String getDefaultWebId()
getDefaultWebId
in interface Company
public String getEmailAddress()
getEmailAddress
in interface Company
public Group getGroup() throws PortalException, SystemException
getGroup
in interface Company
PortalException
SystemException
public Key getKeyObj()
getKeyObj
in interface Company
public Locale getLocale() throws PortalException, SystemException
getLocale
in interface Company
PortalException
SystemException
public String getName() throws PortalException, SystemException
getName
in interface Company
PortalException
SystemException
public String getShardName() throws PortalException, SystemException
getShardName
in interface Company
PortalException
SystemException
public String getShortName() throws PortalException, SystemException
getShortName
in interface Company
PortalException
SystemException
public TimeZone getTimeZone() throws PortalException, SystemException
getTimeZone
in interface Company
PortalException
SystemException
public boolean hasCompanyMx(String emailAddress) throws SystemException
hasCompanyMx
in interface Company
SystemException
public boolean isAutoLogin() throws SystemException
isAutoLogin
in interface Company
SystemException
public boolean isCommunityLogo() throws SystemException
isCommunityLogo
in interface Company
SystemException
public boolean isSendPassword() throws SystemException
isSendPassword
in interface Company
SystemException
public boolean isSendPasswordResetLink() throws SystemException
isSendPasswordResetLink
in interface Company
SystemException
public boolean isStrangers() throws SystemException
isStrangers
in interface Company
SystemException
public boolean isStrangersVerify() throws SystemException
isStrangersVerify
in interface Company
SystemException
public boolean isStrangersWithMx() throws SystemException
isStrangersWithMx
in interface Company
SystemException
public void setKeyObj(Key keyObj)
setKeyObj
in interface Company
public Company getWrappedCompany()
|
Liferay 6.0.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |