Liferay 6.1.2-ce-ga3

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, 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, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, LOGOID_COLUMN_BITMASK, MX_COLUMN_BITMASK, SESSION_FACTORY, SYSTEM_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, WEBID_COLUMN_BITMASK
 
Constructor Summary
CompanyImpl()
           
 
Method Summary
 int compareTo(Company company)
           
 Account getAccount()
           
 String getAdminName()
           
 String getAuthType()
           
 User getDefaultUser()
           
 String getDefaultWebId()
           
 String getEmailAddress()
           
 Group getGroup()
           
 Key getKeyObj()
           
 Locale getLocale()
           
 String getName()
           
 String getPortalURL(long groupId)
           
 String getShardName()
           
 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)
           
 
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, getMx, getOriginalLogoId, getOriginalMx, getOriginalSystem, getOriginalWebId, getPrimaryKey, getPrimaryKeyObj, getSystem, getWebId, hashCode, isActive, isSystem, resetOriginalValues, setAccountId, setActive, setCompanyId, setExpandoBridgeAttributes, setHomeURL, setLogoId, setMaxUsers, setModelAttributes, setMx, setPrimaryKey, setPrimaryKeyObj, setSystem, setWebId, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
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, getMx, getPrimaryKey, getPrimaryKeyObj, getSystem, getWebId, hashCode, isActive, isCachedModel, isEscapedModel, isNew, isSystem, setAccountId, setActive, setCachedModel, setCompanyId, setExpandoBridgeAttributes, setHomeURL, setLogoId, setMaxUsers, setMx, setNew, setPrimaryKey, setPrimaryKeyObj, setSystem, setWebId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, 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 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,
                          SystemException
Throws:
PortalException
SystemException

getAdminName

public String getAdminName()

getAuthType

public String getAuthType()
                   throws SystemException
Throws:
SystemException

getDefaultUser

public User getDefaultUser()
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getDefaultWebId

public String getDefaultWebId()

getEmailAddress

public String getEmailAddress()

getGroup

public Group getGroup()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

getKeyObj

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

getLocale

public Locale getLocale()
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getName

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

getPortalURL

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

getShardName

public String getShardName()
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getShortName

public String getShortName()
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getTimeZone

public TimeZone getTimeZone()
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getVirtualHostname

public String getVirtualHostname()

hasCompanyMx

public boolean hasCompanyMx(String emailAddress)
                     throws SystemException
Throws:
SystemException

isAutoLogin

public boolean isAutoLogin()
                    throws SystemException
Throws:
SystemException

isSendPassword

public boolean isSendPassword()
                       throws SystemException
Throws:
SystemException

isSendPasswordResetLink

public boolean isSendPasswordResetLink()
                                throws SystemException
Throws:
SystemException

isSiteLogo

public boolean isSiteLogo()
                   throws SystemException
Throws:
SystemException

isStrangers

public boolean isStrangers()
                    throws SystemException
Throws:
SystemException

isStrangersVerify

public boolean isStrangersVerify()
                          throws SystemException
Throws:
SystemException

isStrangersWithMx

public boolean isStrangersWithMx()
                          throws SystemException
Throws:
SystemException

setKey

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

Specified by:
setKey in interface 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

Liferay 6.1.2-ce-ga3