public class PortalInstances
extends Object
Modifier and Type | Method and Description |
---|---|
static long |
getCompanyId(javax.servlet.http.HttpServletRequest httpServletRequest) |
static long |
getCompanyId(javax.servlet.http.HttpServletRequest httpServletRequest,
boolean strict) |
static long[] |
getCompanyIds() |
static long[] |
getCompanyIdsBySQL() |
static long |
getDefaultCompanyId() |
static long |
getDefaultCompanyIdBySQL() |
static String[] |
getWebIds() |
static long |
initCompany(com.liferay.portal.kernel.model.Company company) |
static long |
initCompany(com.liferay.portal.kernel.model.Company company,
boolean skipCheck) |
static boolean |
isAutoLoginIgnoreHost(String host) |
static boolean |
isAutoLoginIgnorePath(String path) |
static boolean |
isCompanyActive(long companyId) |
static boolean |
isCompanyInDeletionProcess(long companyId) |
static boolean |
isCurrentCompanyInDeletionProcess() |
static boolean |
isVirtualHostsIgnoreHost(String host) |
static boolean |
isVirtualHostsIgnorePath(String path) |
static void |
removeCompany(long companyId) |
static com.liferay.petra.lang.SafeCloseable |
setCompanyInDeletionProcess(long companyId) |
public static long getCompanyId(javax.servlet.http.HttpServletRequest httpServletRequest)
public static long getCompanyId(javax.servlet.http.HttpServletRequest httpServletRequest, boolean strict) throws com.liferay.portal.kernel.exception.NoSuchVirtualHostException
com.liferay.portal.kernel.exception.NoSuchVirtualHostException
public static long[] getCompanyIds()
public static long[] getCompanyIdsBySQL() throws SQLException
SQLException
public static long getDefaultCompanyId()
public static long getDefaultCompanyIdBySQL() throws SQLException
SQLException
public static String[] getWebIds()
public static long initCompany(com.liferay.portal.kernel.model.Company company)
public static long initCompany(com.liferay.portal.kernel.model.Company company, boolean skipCheck)
public static boolean isAutoLoginIgnoreHost(String host)
public static boolean isAutoLoginIgnorePath(String path)
public static boolean isCompanyActive(long companyId)
public static boolean isCompanyInDeletionProcess(long companyId)
public static boolean isCurrentCompanyInDeletionProcess()
public static boolean isVirtualHostsIgnoreHost(String host)
public static boolean isVirtualHostsIgnorePath(String path)
public static void removeCompany(long companyId)
public static com.liferay.petra.lang.SafeCloseable setCompanyInDeletionProcess(long companyId)