Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class CompanyImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Company>
      extended by com.liferay.portal.model.impl.CompanyModelImpl
          extended by com.liferay.portal.model.impl.CompanyBaseImpl
              extended by com.liferay.portal.model.impl.CompanyImpl
All Implemented Interfaces:
BaseModel<Company>, ClassedModel, Company, CompanyModel, MVCCModel, PersistedModel, Serializable, Cloneable, Comparable<Company>

public class CompanyImpl
extends CompanyBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.CompanyModelImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, LOGOID_COLUMN_BITMASK, MX_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, SYSTEM_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, WEBID_COLUMN_BITMASK
 
Fields inherited from interface com.liferay.portal.model.Company
COMPANY_ID_ACCESSOR
 
Constructor Summary
CompanyImpl()
           
 
Method Summary
 int compareTo(Company company)
           
 Account getAccount()
           
 String getAdminName()
           
 String getAuthType()
           
 User getDefaultUser()
           
 String getDefaultWebId()
           
 String getEmailAddress()
           
 Group getGroup()
           
 long getGroupId()
           
 Key getKeyObj()
           
 Locale getLocale()
           
 String getName()
           
 String getPortalURL(long groupId)
           
 String getShortName()
           
 TimeZone getTimeZone()
           
 String getVirtualHostname()
           
 boolean hasCompanyMx(String emailAddress)
           
 boolean isAutoLogin()
           
 boolean isSendPassword()
           
 boolean isSendPasswordResetLink()
           
 boolean isSiteLogo()
           
 boolean isStrangers()
           
 boolean isStrangersVerify()
           
 boolean isStrangersWithMx()
           
 void setKey(String key)
          Sets the key of this company.
 void setKeyObj(Key keyObj)
           
 void setVirtualHostname(String virtualHostname)
           
 
Methods inherited from class com.liferay.portal.model.impl.CompanyBaseImpl
persist
 
Methods inherited from class com.liferay.portal.model.impl.CompanyModelImpl
clone, equals, getAccountId, getActive, getColumnBitmask, getCompanyId, getExpandoBridge, getHomeURL, getKey, getLogoId, getMaxUsers, getModelAttributes, getModelClass, getModelClassName, getMvccVersion, getMx, getOriginalLogoId, getOriginalMx, getOriginalSystem, getOriginalWebId, getPrimaryKey, getPrimaryKeyObj, getSystem, getWebId, hashCode, isActive, isEntityCacheEnabled, isFinderCacheEnabled, isSystem, resetOriginalValues, setAccountId, setActive, setCompanyId, setExpandoBridgeAttributes, setHomeURL, setLogoId, setMaxUsers, setModelAttributes, setMvccVersion, setMx, setPrimaryKey, setPrimaryKeyObj, setSystem, setWebId, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.CompanyModel
clone, getAccountId, getActive, getCompanyId, getExpandoBridge, getHomeURL, getKey, getLogoId, getMaxUsers, getMvccVersion, getMx, getPrimaryKey, getPrimaryKeyObj, getSystem, getWebId, hashCode, isActive, isCachedModel, isEscapedModel, isNew, isSystem, setAccountId, setActive, setCachedModel, setCompanyId, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setHomeURL, setLogoId, setMaxUsers, setMvccVersion, setMx, setNew, setPrimaryKey, setPrimaryKeyObj, setSystem, setWebId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

CompanyImpl

public CompanyImpl()
Method Detail

compareTo

public int compareTo(Company company)
Specified by:
compareTo in interface CompanyModel
Specified by:
compareTo in interface Comparable<Company>
Overrides:
compareTo in class CompanyModelImpl

getAccount

public Account getAccount()
                   throws PortalException
Throws:
PortalException

getAdminName

public String getAdminName()

getAuthType

public String getAuthType()

getDefaultUser

public User getDefaultUser()
                    throws PortalException
Throws:
PortalException

getDefaultWebId

public String getDefaultWebId()

getEmailAddress

public String getEmailAddress()

getGroup

public Group getGroup()
               throws PortalException
Throws:
PortalException

getGroupId

public long getGroupId()
                throws PortalException
Throws:
PortalException

getKeyObj

public Key getKeyObj()
Specified by:
getKeyObj in interface Company
Overrides:
getKeyObj in class CompanyModelImpl

getLocale

public Locale getLocale()
                 throws PortalException
Throws:
PortalException

getName

@AutoEscape
public String getName()
               throws PortalException
Throws:
PortalException

getPortalURL

public String getPortalURL(long groupId)
                    throws PortalException
Throws:
PortalException

getShortName

public String getShortName()
                    throws PortalException
Throws:
PortalException

getTimeZone

public TimeZone getTimeZone()
                     throws PortalException
Throws:
PortalException

getVirtualHostname

public String getVirtualHostname()
Specified by:
getVirtualHostname in interface Company
Overrides:
getVirtualHostname in class CompanyModelImpl

hasCompanyMx

public boolean hasCompanyMx(String emailAddress)

isAutoLogin

public boolean isAutoLogin()

isSendPassword

public boolean isSendPassword()

isSendPasswordResetLink

public boolean isSendPasswordResetLink()

isSiteLogo

public boolean isSiteLogo()

isStrangers

public boolean isStrangers()

isStrangersVerify

public boolean isStrangersVerify()

isStrangersWithMx

public boolean isStrangersWithMx()

setKey

public void setKey(String key)
Description copied from interface: CompanyModel
Sets the key of this company.

Specified by:
setKey in interface CompanyModel
Overrides:
setKey in class CompanyModelImpl
Parameters:
key - the key of this company

setKeyObj

public void setKeyObj(Key keyObj)
Specified by:
setKeyObj in interface Company
Overrides:
setKeyObj in class CompanyModelImpl

setVirtualHostname

public void setVirtualHostname(String virtualHostname)
Specified by:
setVirtualHostname in interface Company
Overrides:
setVirtualHostname in class CompanyModelImpl

Liferay 7.0-ce-b4