com.liferay.portal.kernel.test.util
Class ServiceContextTestUtil
java.lang.Object
com.liferay.portal.kernel.test.util.ServiceContextTestUtil
public class ServiceContextTestUtil
- extends Object
|
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 |
ServiceContextTestUtil
public ServiceContextTestUtil()
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)