@ProviderType
public class PortalInstancesLocalServiceUtil
extends java.lang.Object
com.liferay.portal.instances.service.impl.PortalInstancesLocalServiceImpl
and is the
primary access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.PortalInstancesLocalService
,
com.liferay.portal.instances.service.base.PortalInstancesLocalServiceBaseImpl
,
com.liferay.portal.instances.service.impl.PortalInstancesLocalServiceImpl
Constructor and Description |
---|
PortalInstancesLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addCompanyId(long companyId) |
static long |
getCompanyId(javax.servlet.http.HttpServletRequest request) |
static long[] |
getCompanyIds() |
static long[] |
getCompanyIdsBySQL() |
static long |
getDefaultCompanyId() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PortalInstancesLocalService |
getService() |
static java.lang.String[] |
getWebIds() |
static void |
initializePortalInstance(javax.servlet.ServletContext servletContext,
java.lang.String webId) |
static boolean |
isAutoLoginIgnoreHost(java.lang.String host) |
static boolean |
isAutoLoginIgnorePath(java.lang.String path) |
static boolean |
isCompanyActive(long companyId) |
static boolean |
isVirtualHostsIgnoreHost(java.lang.String host) |
static boolean |
isVirtualHostsIgnorePath(java.lang.String path) |
static void |
reload(javax.servlet.ServletContext servletContext) |
static void |
removeCompany(long companyId) |
static void |
synchronizePortalInstances() |
public static boolean isAutoLoginIgnoreHost(java.lang.String host)
public static boolean isAutoLoginIgnorePath(java.lang.String path)
public static boolean isCompanyActive(long companyId)
public static boolean isVirtualHostsIgnoreHost(java.lang.String host)
public static boolean isVirtualHostsIgnorePath(java.lang.String path)
public static java.lang.String getOSGiServiceIdentifier()
public static java.lang.String[] getWebIds()
public static long getCompanyId(javax.servlet.http.HttpServletRequest request)
public static long getDefaultCompanyId()
public static long[] getCompanyIds()
public static long[] getCompanyIdsBySQL() throws java.sql.SQLException
java.sql.SQLException
public static void addCompanyId(long companyId)
public static void initializePortalInstance(javax.servlet.ServletContext servletContext, java.lang.String webId)
public static void reload(javax.servlet.ServletContext servletContext)
public static void removeCompany(long companyId)
public static void synchronizePortalInstances()
public static PortalInstancesLocalService getService()