Liferay 7.0-ga1 portal-test

com.liferay.portal.kernel.test.util
Class ServiceContextTestUtil

java.lang.Object
  extended by com.liferay.portal.kernel.test.util.ServiceContextTestUtil

public class ServiceContextTestUtil
extends Object


Constructor Summary
ServiceContextTestUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceContextTestUtil

public ServiceContextTestUtil()
Method Detail

getServiceContext

public static com.liferay.portal.kernel.service.ServiceContext getServiceContext()
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getServiceContext

public static com.liferay.portal.kernel.service.ServiceContext getServiceContext(com.liferay.portal.kernel.model.Group group,
                                                                                 long userId)

getServiceContext

public static com.liferay.portal.kernel.service.ServiceContext getServiceContext(long groupId)
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getServiceContext

public static com.liferay.portal.kernel.service.ServiceContext getServiceContext(long groupId,
                                                                                 long userId)
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getServiceContext

public static com.liferay.portal.kernel.service.ServiceContext getServiceContext(long companyId,
                                                                                 long groupId,
                                                                                 long userId)

Liferay 7.0-ga1 portal-test