public class PortalInstancesLocalServiceUtil
extends java.lang.Object
com.liferay.portal.instances.service.impl.PortalInstancesLocalServiceImpl
and
is an 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
Constructor and Description |
---|
PortalInstancesLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static long[] |
getCompanyIds() |
static long |
getDefaultCompanyId() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PortalInstancesLocalService |
getService() |
static void |
initializePortalInstance(long companyId,
java.lang.String siteInitializerKey) |
static void |
setService(PortalInstancesLocalService service) |
static void |
synchronizePortalInstances() |
public static long[] getCompanyIds()
public static long getDefaultCompanyId()
public static java.lang.String getOSGiServiceIdentifier()
public static void initializePortalInstance(long companyId, java.lang.String siteInitializerKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void synchronizePortalInstances()
public static PortalInstancesLocalService getService()
public static void setService(PortalInstancesLocalService service)