001
014
015 package com.liferay.portal.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.annotation.ImplementationClassName;
020 import com.liferay.portal.kernel.util.Accessor;
021
022
031 @ImplementationClassName("com.liferay.portal.model.impl.CompanyImpl")
032 @ProviderType
033 public interface Company extends CompanyModel, PersistedModel {
034
039 public static final Accessor<Company, Long> COMPANY_ID_ACCESSOR = new Accessor<Company, Long>() {
040 @Override
041 public Long get(Company company) {
042 return company.getCompanyId();
043 }
044
045 @Override
046 public Class<Long> getAttributeClass() {
047 return Long.class;
048 }
049
050 @Override
051 public Class<Company> getTypeClass() {
052 return Company.class;
053 }
054 };
055
056 public com.liferay.portal.model.Account getAccount()
057 throws com.liferay.portal.kernel.exception.PortalException;
058
059 public java.lang.String getAdminName();
060
061 public java.lang.String getAuthType();
062
063 public com.liferay.portal.model.User getDefaultUser()
064 throws com.liferay.portal.kernel.exception.PortalException;
065
066 public java.lang.String getDefaultWebId();
067
068 public java.lang.String getEmailAddress();
069
070 public com.liferay.portal.model.Group getGroup()
071 throws com.liferay.portal.kernel.exception.PortalException;
072
073 public long getGroupId()
074 throws com.liferay.portal.kernel.exception.PortalException;
075
076 public java.security.Key getKeyObj();
077
078 public java.util.Locale getLocale()
079 throws com.liferay.portal.kernel.exception.PortalException;
080
081 @com.liferay.portal.kernel.bean.AutoEscape()
082 public java.lang.String getName()
083 throws com.liferay.portal.kernel.exception.PortalException;
084
085 public java.lang.String getPortalURL(long groupId)
086 throws com.liferay.portal.kernel.exception.PortalException;
087
088 public java.lang.String getShortName()
089 throws com.liferay.portal.kernel.exception.PortalException;
090
091 public java.util.TimeZone getTimeZone()
092 throws com.liferay.portal.kernel.exception.PortalException;
093
094 public java.lang.String getVirtualHostname();
095
096 public boolean hasCompanyMx(java.lang.String emailAddress);
097
098 public boolean isAutoLogin();
099
100 public boolean isSendPassword();
101
102 public boolean isSendPasswordResetLink();
103
104 public boolean isSiteLogo();
105
106 public boolean isStrangers();
107
108 public boolean isStrangersVerify();
109
110 public boolean isStrangersWithMx();
111
112 public void setKeyObj(java.security.Key keyObj);
113
114 public void setVirtualHostname(java.lang.String virtualHostname);
115 }