|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.CompanyWrapper
@ProviderType 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)
|
boolean |
equals(Object obj)
|
Account |
getAccount()
|
long |
getAccountId()
Returns the account ID of this company. |
boolean |
getActive()
Returns the active of this company. |
String |
getAdminName()
|
String |
getAuthType()
|
long |
getCompanyId()
Returns the company ID of this company. |
User |
getDefaultUser()
|
String |
getDefaultWebId()
|
String |
getEmailAddress()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Group |
getGroup()
|
long |
getGroupId()
|
String |
getHomeURL()
Returns the home u r l of this company. |
String |
getKey()
Returns the key of this company. |
Key |
getKeyObj()
|
Locale |
getLocale()
|
long |
getLogoId()
Returns the logo ID of this company. |
int |
getMaxUsers()
Returns the max users of this company. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getMx()
Returns the mx of this company. |
String |
getName()
|
String |
getPortalURL(long groupId)
|
long |
getPrimaryKey()
Returns the primary key of this company. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getShardName()
|
String |
getShortName()
|
boolean |
getSystem()
Returns the system of this company. |
TimeZone |
getTimeZone()
|
String |
getVirtualHostname()
|
String |
getWebId()
Returns the web ID of this company. |
Company |
getWrappedCompany()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
Company |
getWrappedModel()
|
boolean |
hasCompanyMx(String emailAddress)
|
int |
hashCode()
|
boolean |
isActive()
Returns true if this company is active. |
boolean |
isAutoLogin()
|
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 |
isSendPassword()
|
boolean |
isSendPasswordResetLink()
|
boolean |
isSiteLogo()
|
boolean |
isStrangers()
|
boolean |
isStrangersVerify()
|
boolean |
isStrangersWithMx()
|
boolean |
isSystem()
Returns true if this company is system. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 |
setVirtualHostname(String virtualHostname)
|
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 class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompanyWrapper(Company company)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Company>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Company>
public long getPrimaryKey()
getPrimaryKey
in interface CompanyModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CompanyModel
primaryKey
- the primary key of this companypublic long getCompanyId()
getCompanyId
in interface CompanyModel
public void setCompanyId(long companyId)
setCompanyId
in interface CompanyModel
companyId
- the company ID of this companypublic long getAccountId()
getAccountId
in interface CompanyModel
public void setAccountId(long accountId)
setAccountId
in interface CompanyModel
accountId
- the account ID of this companypublic String getWebId()
getWebId
in interface CompanyModel
public void setWebId(String webId)
setWebId
in interface CompanyModel
webId
- the web ID of this companypublic String getKey()
getKey
in interface CompanyModel
public void setKey(String key)
setKey
in interface CompanyModel
key
- the key of this companypublic String getMx()
getMx
in interface CompanyModel
public void setMx(String mx)
setMx
in interface CompanyModel
mx
- the mx of this companypublic String getHomeURL()
getHomeURL
in interface CompanyModel
public void setHomeURL(String homeURL)
setHomeURL
in interface CompanyModel
homeURL
- the home u r l of this companypublic long getLogoId()
getLogoId
in interface CompanyModel
public void setLogoId(long logoId)
setLogoId
in interface CompanyModel
logoId
- the logo ID of this companypublic boolean getSystem()
getSystem
in interface CompanyModel
public boolean isSystem()
true
if this company is system.
isSystem
in interface CompanyModel
true
if this company is system; false
otherwisepublic void setSystem(boolean system)
setSystem
in interface CompanyModel
system
- the system of this companypublic int getMaxUsers()
getMaxUsers
in interface CompanyModel
public void setMaxUsers(int maxUsers)
setMaxUsers
in interface CompanyModel
maxUsers
- the max users of this companypublic boolean getActive()
getActive
in interface CompanyModel
public boolean isActive()
true
if this company is active.
isActive
in interface CompanyModel
true
if this company is active; false
otherwisepublic void setActive(boolean active)
setActive
in interface CompanyModel
active
- the active of this companypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Company>
isEscapedModel
in interface CompanyModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Company>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface CompanyModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Company>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface CompanyModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Company>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface CompanyModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Company>
setExpandoBridgeAttributes
in interface CompanyModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Company>
setExpandoBridgeAttributes
in interface CompanyModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Company>
setExpandoBridgeAttributes
in interface CompanyModel
serviceContext
- the service context to be appliedServiceContext.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 CompanyModel
compareTo
in interface Comparable<Company>
public int hashCode()
hashCode
in interface CompanyModel
hashCode
in class Object
public CacheModel<Company> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Company>
toCacheModel
in interface CompanyModel
public Company toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Company>
toEscapedModel
in interface CompanyModel
AutoEscapeBeanHandler
public Company toUnescapedModel()
toUnescapedModel
in interface BaseModel<Company>
toUnescapedModel
in interface CompanyModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic 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 long getGroupId() throws PortalException, SystemException
getGroupId
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 getPortalURL(long groupId) throws PortalException, SystemException
getPortalURL
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 String getVirtualHostname()
getVirtualHostname
in interface Company
public boolean hasCompanyMx(String emailAddress) throws SystemException
hasCompanyMx
in interface Company
SystemException
public boolean isAutoLogin() throws SystemException
isAutoLogin
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 isSiteLogo() throws SystemException
isSiteLogo
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 void setVirtualHostname(String virtualHostname)
setVirtualHostname
in interface Company
public boolean equals(Object obj)
equals
in class Object
public Company getWrappedCompany()
getWrappedModel()
public Company getWrappedModel()
getWrappedModel
in interface ModelWrapper<Company>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Company>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |