Class ServiceContextTestUtil
Object
com.liferay.portal.kernel.test.util.ServiceContextTestUtil
- Author:
- Manuel de la Peña
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.portal.kernel.service.ServiceContextstatic com.liferay.portal.kernel.service.ServiceContextgetServiceContext(long groupId) static com.liferay.portal.kernel.service.ServiceContextgetServiceContext(long groupId, long userId) static com.liferay.portal.kernel.service.ServiceContextgetServiceContext(long companyId, long groupId, long userId) static com.liferay.portal.kernel.service.ServiceContextgetServiceContext(long groupId, long userId, long[] assetCategoryIds) static com.liferay.portal.kernel.service.ServiceContextgetServiceContext(long groupId, long userId, long[] assetCategoryIds, String[] assetTagNames) static com.liferay.portal.kernel.service.ServiceContextgetServiceContext(long companyId, long groupId, long userId, long[] assetCategoryIds, String[] assetTagNames) static com.liferay.portal.kernel.service.ServiceContextgetServiceContext(long groupId, long userId, String[] assetTagNames) static com.liferay.portal.kernel.service.ServiceContextgetServiceContext(com.liferay.portal.kernel.model.Group group, long userId)
-
Constructor Details
-
ServiceContextTestUtil
public ServiceContextTestUtil()
-
-
Method Details
-
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) 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) 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) 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, long[] assetCategoryIds, String[] assetTagNames) 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, long[] assetCategoryIds) 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, long[] assetCategoryIds, String[] assetTagNames) 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, String[] assetTagNames) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-