com.liferay.portal.model.impl
Class CompanyImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.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:
com.liferay.portal.model.BaseModel<com.liferay.portal.model.Company>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.Company, com.liferay.portal.model.CompanyModel, com.liferay.portal.model.PersistedModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.Company>

public class CompanyImpl
extends CompanyBaseImpl

Author:
Brian Wing Shun Chan
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(com.liferay.portal.model.Company company)
           
 com.liferay.portal.model.Account getAccount()
           
 java.lang.String getAdminName()
           
 java.lang.String getAuthType()
           
 com.liferay.portal.model.User getDefaultUser()
           
 java.lang.String getDefaultWebId()
           
 java.lang.String getEmailAddress()
           
 com.liferay.portal.model.Group getGroup()
           
 java.security.Key getKeyObj()
           
 java.util.Locale getLocale()
           
 java.lang.String getName()
           
 java.lang.String getPortalURL(long groupId)
           
 java.lang.String getShardName()
           
 java.lang.String getShortName()
           
 java.util.TimeZone getTimeZone()
           
 java.lang.String getVirtualHostname()
           
 boolean hasCompanyMx(java.lang.String emailAddress)
           
 boolean isAutoLogin()
           
 boolean isSendPassword()
           
 boolean isSendPasswordResetLink()
           
 boolean isSiteLogo()
           
 boolean isStrangers()
           
 boolean isStrangersVerify()
           
 boolean isStrangersWithMx()
           
 void setKey(java.lang.String key)
           
 void setKeyObj(java.security.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, getModelClass, getModelClassName, getMx, getOriginalLogoId, getOriginalMx, getOriginalSystem, getOriginalWebId, getPrimaryKey, getPrimaryKeyObj, getSystem, getWebId, hashCode, isActive, isSystem, resetOriginalValues, setAccountId, setActive, setCompanyId, setExpandoBridgeAttributes, setHomeURL, setLogoId, setMaxUsers, 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, 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, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

CompanyImpl

public CompanyImpl()
Method Detail

compareTo

public int compareTo(com.liferay.portal.model.Company company)
Specified by:
compareTo in interface com.liferay.portal.model.Company
Specified by:
compareTo in interface com.liferay.portal.model.CompanyModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portal.model.Company>
Overrides:
compareTo in class CompanyModelImpl

getAccount

public com.liferay.portal.model.Account getAccount()
                                            throws com.liferay.portal.kernel.exception.PortalException,
                                                   com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getAdminName

public java.lang.String getAdminName()

getAuthType

public java.lang.String getAuthType()
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDefaultUser

public com.liferay.portal.model.User getDefaultUser()
                                             throws com.liferay.portal.kernel.exception.PortalException,
                                                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getDefaultWebId

public java.lang.String getDefaultWebId()

getEmailAddress

public java.lang.String getEmailAddress()

getGroup

public com.liferay.portal.model.Group getGroup()
                                        throws com.liferay.portal.kernel.exception.PortalException,
                                               com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getKeyObj

public java.security.Key getKeyObj()
Specified by:
getKeyObj in interface com.liferay.portal.model.Company
Overrides:
getKeyObj in class CompanyModelImpl

getLocale

public java.util.Locale getLocale()
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getName

public java.lang.String getName()
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getPortalURL

public java.lang.String getPortalURL(long groupId)
                              throws com.liferay.portal.kernel.exception.PortalException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getShardName

public java.lang.String getShardName()
                              throws com.liferay.portal.kernel.exception.PortalException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getShortName

public java.lang.String getShortName()
                              throws com.liferay.portal.kernel.exception.PortalException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getTimeZone

public java.util.TimeZone getTimeZone()
                               throws com.liferay.portal.kernel.exception.PortalException,
                                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getVirtualHostname

public java.lang.String getVirtualHostname()

hasCompanyMx

public boolean hasCompanyMx(java.lang.String emailAddress)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isAutoLogin

public boolean isAutoLogin()
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isSendPassword

public boolean isSendPassword()
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isSendPasswordResetLink

public boolean isSendPasswordResetLink()
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isSiteLogo

public boolean isSiteLogo()
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isStrangers

public boolean isStrangers()
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isStrangersVerify

public boolean isStrangersVerify()
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isStrangersWithMx

public boolean isStrangersWithMx()
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setKey

public void setKey(java.lang.String key)
Specified by:
setKey in interface com.liferay.portal.model.Company
Specified by:
setKey in interface com.liferay.portal.model.CompanyModel
Overrides:
setKey in class CompanyModelImpl

setKeyObj

public void setKeyObj(java.security.Key keyObj)
Specified by:
setKeyObj in interface com.liferay.portal.model.Company
Overrides:
setKeyObj in class CompanyModelImpl