Class CompanyImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.Company, com.liferay.portal.kernel.model.CompanyModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.Company>

public class CompanyImpl extends CompanyBaseImpl
Author:
Brian Wing Shun Chan
See Also:
  • Constructor Details

    • CompanyImpl

      public CompanyImpl()
  • Method Details

    • compareTo

      public int compareTo(com.liferay.portal.kernel.model.Company company)
      Specified by:
      compareTo in interface com.liferay.portal.kernel.model.Company
      Specified by:
      compareTo in interface Comparable<com.liferay.portal.kernel.model.Company>
      Overrides:
      compareTo in class CompanyModelImpl
    • getAdminName

      public String getAdminName()
    • getAuthType

      public String getAuthType()
    • getCompanyInfo

      public com.liferay.portal.kernel.model.CompanyInfo getCompanyInfo()
    • getCompanySecurityBag

      public CompanyImpl.CompanySecurityBag getCompanySecurityBag()
      Overrides:
      getCompanySecurityBag in class CompanyModelImpl
    • getDefaultUser

      @Deprecated public com.liferay.portal.kernel.model.User getDefaultUser() throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getGuestUser()
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefaultWebId

      public String getDefaultWebId()
    • getEmailAddress

      public String getEmailAddress()
    • getGroup

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

      public long getGroupId()
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.Company
      Overrides:
      getGroupId in class CompanyModelImpl
    • getGuestUser

      public com.liferay.portal.kernel.model.User getGuestUser() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKey

      public String getKey()
    • getKeyObj

      public Key getKeyObj()
    • getLocale

      public Locale getLocale() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getName

      @AutoEscape public String getName()
      Specified by:
      getName in interface com.liferay.portal.kernel.model.CompanyModel
      Overrides:
      getName in class CompanyModelImpl
    • getPortalURL

      public String getPortalURL(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPortalURL

      public String getPortalURL(long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShortName

      public String getShortName() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTimeZone

      public TimeZone getTimeZone() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getVirtualHostname

      public String getVirtualHostname()
      Specified by:
      getVirtualHostname in interface com.liferay.portal.kernel.model.Company
      Overrides:
      getVirtualHostname in class CompanyModelImpl
    • hasCompanyMx

      public boolean hasCompanyMx(String emailAddress)
    • isAutoLogin

      public boolean isAutoLogin()
    • isSendPasswordResetLink

      public boolean isSendPasswordResetLink()
    • isSiteLogo

      public boolean isSiteLogo()
    • isStrangers

      public boolean isStrangers()
    • isStrangersVerify

      public boolean isStrangersVerify()
    • isStrangersWithMx

      public boolean isStrangersWithMx()
    • isUpdatePasswordRequired

      public boolean isUpdatePasswordRequired()
    • setCompanySecurityBag

      public void setCompanySecurityBag(CompanyImpl.CompanySecurityBag companySecurityBag)
      Overrides:
      setCompanySecurityBag in class CompanyModelImpl
    • setGroupId

      public void setGroupId(long groupId)
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.Company
      Overrides:
      setGroupId in class CompanyModelImpl
    • setKey

      public void setKey(String key)
    • setKeyObj

      public void setKeyObj(Key keyObj)
    • setVirtualHostname

      public void setVirtualHostname(String virtualHostname)
      Specified by:
      setVirtualHostname in interface com.liferay.portal.kernel.model.Company
      Overrides:
      setVirtualHostname in class CompanyModelImpl