Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Interface Company

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

public interface Company
extends CompanyModel, PersistedModel

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

See Also:
CompanyModel, CompanyImpl, CompanyModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it 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 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 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
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

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

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

getPortalURL

String getPortalURL(long groupId)
                    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

getVirtualHostname

String getVirtualHostname()

hasCompanyMx

boolean hasCompanyMx(String emailAddress)
                     throws SystemException
Throws:
SystemException

isAutoLogin

boolean isAutoLogin()
                    throws SystemException
Throws:
SystemException

isSendPassword

boolean isSendPassword()
                       throws SystemException
Throws:
SystemException

isSendPasswordResetLink

boolean isSendPasswordResetLink()
                                throws SystemException
Throws:
SystemException

isSiteLogo

boolean isSiteLogo()
                   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.1.2-ce-ga3