Liferay 6.0.5

com.liferay.portal.model
Interface Company

All Superinterfaces:
BaseModel<Company>, Cloneable, CompanyModel, Comparable<Company>, Serializable
All Known Implementing Classes:
CompanyImpl, CompanyWrapper

public interface Company
extends CompanyModel

The model interface for the Company service. Represents a row in the "Company" database table, with each column mapped to a property of this class.

Never modify this interface directly. Add methods to CompanyImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

Never reference this interface directly. All methods that expect a company model instance should use the Company interface instead.

See Also:
CompanyModel, CompanyImpl, CompanyModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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 getShardName()
           
 String getShortName()
           
 TimeZone getTimeZone()
           
 boolean hasCompanyMx(String emailAddress)
           
 boolean isAutoLogin()
           
 boolean isCommunityLogo()
           
 boolean isSendPassword()
           
 boolean isSendPasswordResetLink()
           
 boolean isStrangers()
           
 boolean isStrangersVerify()
           
 boolean isStrangersWithMx()
           
 void setKey(String key)
          Sets the key of this company.
 void setKeyObj(Key keyObj)
           
 
Methods inherited from interface com.liferay.portal.model.CompanyModel
clone, getAccountId, getCompanyId, getExpandoBridge, getHomeURL, getKey, getLogoId, getMaxUsers, getMx, getPrimaryKey, getPrimaryKeyObj, getSystem, getVirtualHost, getWebId, hashCode, isCachedModel, isEscapedModel, isNew, isSystem, setAccountId, setCachedModel, setCompanyId, setEscapedModel, setExpandoBridgeAttributes, setHomeURL, setLogoId, setMaxUsers, setMx, setNew, setPrimaryKey, setSystem, setVirtualHost, setWebId, toEscapedModel, toString, toXmlString
 

Method Detail

compareTo

int compareTo(Company company)
Specified by:
compareTo in interface CompanyModel
Specified by:
compareTo in interface Comparable<Company>

getAccount

Account getAccount()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getAdminName

String getAdminName()

getAuthType

String getAuthType()
                   throws SystemException
Throws:
SystemException

getDefaultUser

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

getDefaultWebId

String getDefaultWebId()

getEmailAddress

String getEmailAddress()

getGroup

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

getKeyObj

Key getKeyObj()

getLocale

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

getName

String getName()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

getShardName

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

getShortName

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

getTimeZone

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

hasCompanyMx

boolean hasCompanyMx(String emailAddress)
                     throws SystemException
Throws:
SystemException

isAutoLogin

boolean isAutoLogin()
                    throws SystemException
Throws:
SystemException

isCommunityLogo

boolean isCommunityLogo()
                        throws SystemException
Throws:
SystemException

isSendPassword

boolean isSendPassword()
                       throws SystemException
Throws:
SystemException

isSendPasswordResetLink

boolean isSendPasswordResetLink()
                                throws SystemException
Throws:
SystemException

isStrangers

boolean isStrangers()
                    throws SystemException
Throws:
SystemException

isStrangersVerify

boolean isStrangersVerify()
                          throws SystemException
Throws:
SystemException

isStrangersWithMx

boolean isStrangersWithMx()
                          throws SystemException
Throws:
SystemException

setKey

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

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

setKeyObj

void setKeyObj(Key keyObj)

Liferay 6.0.5