public class ServiceContextTestUtil
extends Object
Constructor and Description |
---|
ServiceContextTestUtil() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.portal.kernel.service.ServiceContext |
getServiceContext() |
static com.liferay.portal.kernel.service.ServiceContext |
getServiceContext(com.liferay.portal.kernel.model.Group group,
long userId) |
static com.liferay.portal.kernel.service.ServiceContext |
getServiceContext(long groupId) |
static com.liferay.portal.kernel.service.ServiceContext |
getServiceContext(long groupId,
long userId) |
static com.liferay.portal.kernel.service.ServiceContext |
getServiceContext(long companyId,
long groupId,
long userId) |
public static com.liferay.portal.kernel.service.ServiceContext getServiceContext() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.service.ServiceContext getServiceContext(com.liferay.portal.kernel.model.Group group, long userId)
public static com.liferay.portal.kernel.service.ServiceContext getServiceContext(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.service.ServiceContext getServiceContext(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.service.ServiceContext getServiceContext(long companyId, long groupId, long userId)