|
Liferay 6.0.3 | |||||||||
| 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()
|
String |
getAdminName()
|
String |
getAuthType()
|
long |
getCompanyId()
|
User |
getDefaultUser()
|
String |
getDefaultWebId()
|
String |
getEmailAddress()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Group |
getGroup()
|
String |
getHomeURL()
|
String |
getKey()
|
Key |
getKeyObj()
|
Locale |
getLocale()
|
long |
getLogoId()
|
int |
getMaxUsers()
|
String |
getMx()
|
String |
getName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getShardName()
|
String |
getShortName()
|
boolean |
getSystem()
|
TimeZone |
getTimeZone()
|
String |
getVirtualHost()
|
String |
getWebId()
|
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 has been wrapped with an HTML auto escape handler. |
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()
|
void |
setAccountId(long accountId)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setKey(String key)
|
void |
setKeyObj(Key keyObj)
|
void |
setLogoId(long logoId)
|
void |
setMaxUsers(int maxUsers)
|
void |
setMx(String mx)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setSystem(boolean system)
|
void |
setVirtualHost(String virtualHost)
|
void |
setWebId(String webId)
|
Company |
toEscapedModel()
|
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()
getPrimaryKey in interface CompanyModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface CompanyModelpublic long getCompanyId()
getCompanyId in interface CompanyModelpublic void setCompanyId(long companyId)
setCompanyId in interface CompanyModelpublic long getAccountId()
getAccountId in interface CompanyModelpublic void setAccountId(long accountId)
setAccountId in interface CompanyModelpublic String getWebId()
getWebId in interface CompanyModelpublic void setWebId(String webId)
setWebId in interface CompanyModelpublic String getKey()
getKey in interface CompanyModelpublic void setKey(String key)
setKey in interface CompanysetKey in interface CompanyModelpublic String getVirtualHost()
getVirtualHost in interface CompanyModelpublic void setVirtualHost(String virtualHost)
setVirtualHost in interface CompanyModelpublic String getMx()
getMx in interface CompanyModelpublic void setMx(String mx)
setMx in interface CompanyModelpublic String getHomeURL()
getHomeURL in interface CompanyModelpublic void setHomeURL(String homeURL)
setHomeURL in interface CompanyModelpublic long getLogoId()
getLogoId in interface CompanyModelpublic void setLogoId(long logoId)
setLogoId in interface CompanyModelpublic boolean getSystem()
getSystem in interface CompanyModelpublic boolean isSystem()
isSystem in interface CompanyModelpublic void setSystem(boolean system)
setSystem in interface CompanyModelpublic int getMaxUsers()
getMaxUsers in interface CompanyModelpublic void setMaxUsers(int maxUsers)
setMaxUsers in interface CompanyModelpublic Company toEscapedModel()
toEscapedModel in interface CompanyModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||