com.liferay.portal.model
Class CompanyWrapper

java.lang.Object
  extended by com.liferay.portal.model.CompanyWrapper
All Implemented Interfaces:
BaseModel<Company>, Company, CompanyModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Company>

public class CompanyWrapper
extends java.lang.Object
implements Company

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for Company.

Author:
Brian Wing Shun Chan
See Also:
Company, Serialized Form
Generated:

Constructor Summary
CompanyWrapper(Company company)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(Company company)
           
 Account getAccount()
           
 long getAccountId()
           
 java.lang.String getAdminName()
           
 java.lang.String getAuthType()
           
 long getCompanyId()
           
 User getDefaultUser()
           
 java.lang.String getDefaultWebId()
           
 java.lang.String getEmailAddress()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getHomeURL()
           
 java.lang.String getKey()
           
 java.security.Key getKeyObj()
           
 java.util.Locale getLocale()
           
 long getLogoId()
           
 java.lang.String getMx()
           
 java.lang.String getName()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getShardName()
           
 java.lang.String getShortName()
           
 boolean getSystem()
           
 java.util.TimeZone getTimeZone()
           
 java.lang.String getVirtualHost()
           
 java.lang.String getWebId()
           
 Company getWrappedCompany()
           
 boolean hasCompanyMx(java.lang.String emailAddress)
           
 int hashCode()
           
 boolean isAutoLogin()
           
 boolean isCachedModel()
           
 boolean isCommunityLogo()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isSendPassword()
           
 boolean isStrangers()
           
 boolean isStrangersVerify()
           
 boolean isStrangersWithMx()
           
 boolean isSystem()
           
 void setAccountId(long accountId)
           
 void setCachedModel(boolean cachedModel)
           
 void setCompanyId(long companyId)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setHomeURL(java.lang.String homeURL)
           
 void setKey(java.lang.String key)
           
 void setKeyObj(java.security.Key keyObj)
           
 void setLogoId(long logoId)
           
 void setMx(java.lang.String mx)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setSystem(boolean system)
           
 void setVirtualHost(java.lang.String virtualHost)
           
 void setWebId(java.lang.String webId)
           
 Company toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompanyWrapper

public CompanyWrapper(Company company)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface CompanyModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface CompanyModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface CompanyModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface CompanyModel

getAccountId

public long getAccountId()
Specified by:
getAccountId in interface CompanyModel

setAccountId

public void setAccountId(long accountId)
Specified by:
setAccountId in interface CompanyModel

getWebId

public java.lang.String getWebId()
Specified by:
getWebId in interface CompanyModel

setWebId

public void setWebId(java.lang.String webId)
Specified by:
setWebId in interface CompanyModel

getKey

public java.lang.String getKey()
Specified by:
getKey in interface CompanyModel

setKey

public void setKey(java.lang.String key)
Specified by:
setKey in interface Company
Specified by:
setKey in interface CompanyModel

getVirtualHost

public java.lang.String getVirtualHost()
Specified by:
getVirtualHost in interface CompanyModel

setVirtualHost

public void setVirtualHost(java.lang.String virtualHost)
Specified by:
setVirtualHost in interface CompanyModel

getMx

public java.lang.String getMx()
Specified by:
getMx in interface CompanyModel

setMx

public void setMx(java.lang.String mx)
Specified by:
setMx in interface CompanyModel

getHomeURL

public java.lang.String getHomeURL()
Specified by:
getHomeURL in interface CompanyModel

setHomeURL

public void setHomeURL(java.lang.String homeURL)
Specified by:
setHomeURL in interface CompanyModel

getLogoId

public long getLogoId()
Specified by:
getLogoId in interface CompanyModel

setLogoId

public void setLogoId(long logoId)
Specified by:
setLogoId in interface CompanyModel

getSystem

public boolean getSystem()
Specified by:
getSystem in interface CompanyModel

isSystem

public boolean isSystem()
Specified by:
isSystem in interface CompanyModel

setSystem

public void setSystem(boolean system)
Specified by:
setSystem in interface CompanyModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<Company>
Specified by:
isNew in interface CompanyModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Company>
Specified by:
setNew in interface CompanyModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Company>
Specified by:
isCachedModel in interface CompanyModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Company>
Specified by:
setCachedModel in interface CompanyModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Company>
Specified by:
isEscapedModel in interface CompanyModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Company>
Specified by:
setEscapedModel in interface CompanyModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<Company>
Specified by:
getPrimaryKeyObj in interface CompanyModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Company>
Specified by:
getExpandoBridge in interface CompanyModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Company>
Specified by:
setExpandoBridgeAttributes in interface CompanyModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<Company>
Specified by:
clone in interface CompanyModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(Company company)
Specified by:
compareTo in interface Company
Specified by:
compareTo in interface CompanyModel
Specified by:
compareTo in interface java.lang.Comparable<Company>

hashCode

public int hashCode()
Specified by:
hashCode in interface CompanyModel
Overrides:
hashCode in class java.lang.Object

toEscapedModel

public Company toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<Company>
Specified by:
toEscapedModel in interface CompanyModel

toString

public java.lang.String toString()
Specified by:
toString in interface CompanyModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<Company>
Specified by:
toXmlString in interface CompanyModel

getAccount

public Account getAccount()
Specified by:
getAccount in interface Company

getAdminName

public java.lang.String getAdminName()
Specified by:
getAdminName in interface Company

getAuthType

public java.lang.String getAuthType()
                             throws com.liferay.portal.SystemException
Specified by:
getAuthType in interface Company
Throws:
com.liferay.portal.SystemException

getDefaultUser

public User getDefaultUser()
Specified by:
getDefaultUser in interface Company

getDefaultWebId

public java.lang.String getDefaultWebId()
Specified by:
getDefaultWebId in interface Company

getEmailAddress

public java.lang.String getEmailAddress()
Specified by:
getEmailAddress in interface Company

getKeyObj

public java.security.Key getKeyObj()
Specified by:
getKeyObj in interface Company

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface Company

getName

public java.lang.String getName()
Specified by:
getName in interface Company

getShardName

public java.lang.String getShardName()
Specified by:
getShardName in interface Company

getShortName

public java.lang.String getShortName()
Specified by:
getShortName in interface Company

getTimeZone

public java.util.TimeZone getTimeZone()
Specified by:
getTimeZone in interface Company

hasCompanyMx

public boolean hasCompanyMx(java.lang.String emailAddress)
Specified by:
hasCompanyMx in interface Company

isAutoLogin

public boolean isAutoLogin()
                    throws com.liferay.portal.SystemException
Specified by:
isAutoLogin in interface Company
Throws:
com.liferay.portal.SystemException

isCommunityLogo

public boolean isCommunityLogo()
                        throws com.liferay.portal.SystemException
Specified by:
isCommunityLogo in interface Company
Throws:
com.liferay.portal.SystemException

isSendPassword

public boolean isSendPassword()
                       throws com.liferay.portal.SystemException
Specified by:
isSendPassword in interface Company
Throws:
com.liferay.portal.SystemException

isStrangers

public boolean isStrangers()
                    throws com.liferay.portal.SystemException
Specified by:
isStrangers in interface Company
Throws:
com.liferay.portal.SystemException

isStrangersVerify

public boolean isStrangersVerify()
                          throws com.liferay.portal.SystemException
Specified by:
isStrangersVerify in interface Company
Throws:
com.liferay.portal.SystemException

isStrangersWithMx

public boolean isStrangersWithMx()
                          throws com.liferay.portal.SystemException
Specified by:
isStrangersWithMx in interface Company
Throws:
com.liferay.portal.SystemException

setKeyObj

public void setKeyObj(java.security.Key keyObj)
Specified by:
setKeyObj in interface Company

getWrappedCompany

public Company getWrappedCompany()