com.liferay.portal.model.impl
Class CompanyImpl

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portal.model.impl.CompanyModelImpl
          extended bycom.liferay.portal.model.impl.CompanyImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, com.liferay.portal.model.Company, com.liferay.portal.model.CompanyModel, java.lang.Comparable, java.io.Serializable

public class CompanyImpl
extends CompanyModelImpl
implements com.liferay.portal.model.Company

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static java.lang.String AUTH_TYPE_EA
           
static java.lang.String AUTH_TYPE_ID
           
static java.lang.String AUTH_TYPE_SN
           
static java.lang.String DEFAULT_WEB_ID
           
static long SYSTEM
           
static java.lang.String SYSTEM_STRING
           
 
Fields inherited from class com.liferay.portal.model.impl.CompanyModelImpl
LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, XSS_ALLOW_BY_MODEL, XSS_ALLOW_KEY, XSS_ALLOW_MX, XSS_ALLOW_VIRTUALHOST, XSS_ALLOW_WEBID
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
CompanyImpl()
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 com.liferay.portal.model.Account getAccount()
           
 java.lang.String getAdminName()
           
 java.lang.String getAuthType()
           
 com.liferay.portal.model.User getDefaultUser()
           
 java.lang.String getEmailAddress()
           
 java.security.Key getKeyObj()
           
 java.util.Locale getLocale()
           
 java.lang.String getName()
           
 java.lang.String getShortName()
           
 java.util.TimeZone getTimeZone()
           
 boolean hasCompanyMx(java.lang.String emailAddress)
           
 boolean isAutoLogin()
           
 boolean isCommunityLogo()
           
 boolean isSendPassword()
           
 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.CompanyModelImpl
clone, equals, getAccountId, getCompanyId, getKey, getLogoId, getMx, getPrimaryKey, getPrimaryKeyObj, getVirtualHost, getWebId, hashCode, setAccountId, setCompanyId, setLogoId, setMx, setPrimaryKey, setVirtualHost, setWebId
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.CompanyModel
getAccountId, getCompanyId, getKey, getLogoId, getMx, getPrimaryKey, getVirtualHost, getWebId, setAccountId, setCompanyId, setLogoId, setMx, setPrimaryKey, setVirtualHost, setWebId
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 

Field Detail

DEFAULT_WEB_ID

public static final java.lang.String DEFAULT_WEB_ID

AUTH_TYPE_EA

public static final java.lang.String AUTH_TYPE_EA
See Also:
Constant Field Values

AUTH_TYPE_SN

public static final java.lang.String AUTH_TYPE_SN
See Also:
Constant Field Values

AUTH_TYPE_ID

public static final java.lang.String AUTH_TYPE_ID
See Also:
Constant Field Values

SYSTEM

public static final long SYSTEM
See Also:
Constant Field Values

SYSTEM_STRING

public static final java.lang.String SYSTEM_STRING
Constructor Detail

CompanyImpl

public CompanyImpl()
Method Detail

setKey

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

getKeyObj

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

setKeyObj

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

getAccount

public com.liferay.portal.model.Account getAccount()
Specified by:
getAccount in interface com.liferay.portal.model.Company

getName

public java.lang.String getName()
Specified by:
getName in interface com.liferay.portal.model.Company

getShortName

public java.lang.String getShortName()
Specified by:
getShortName in interface com.liferay.portal.model.Company

getEmailAddress

public java.lang.String getEmailAddress()
Specified by:
getEmailAddress in interface com.liferay.portal.model.Company

getDefaultUser

public com.liferay.portal.model.User getDefaultUser()
Specified by:
getDefaultUser in interface com.liferay.portal.model.Company

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface com.liferay.portal.model.Company

getTimeZone

public java.util.TimeZone getTimeZone()
Specified by:
getTimeZone in interface com.liferay.portal.model.Company

getAdminName

public java.lang.String getAdminName()
Specified by:
getAdminName in interface com.liferay.portal.model.Company

getAuthType

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

isAutoLogin

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

isSendPassword

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

isStrangers

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

isStrangersWithMx

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

isStrangersVerify

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

isCommunityLogo

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

hasCompanyMx

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

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface com.liferay.portal.model.Company
Overrides:
compareTo in class CompanyModelImpl