Example usage for com.liferay.portal.kernel.service SystemEventLocalServiceUtil addSystemEvent

List of usage examples for com.liferay.portal.kernel.service SystemEventLocalServiceUtil addSystemEvent

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.service SystemEventLocalServiceUtil addSystemEvent.

Prototype

public static com.liferay.portal.kernel.model.SystemEvent addSystemEvent(long userId, long groupId,
        String className, long classPK, String classUuid, String referrerClassName, int type, String extraData)
        throws com.liferay.portal.kernel.exception.PortalException 

Source Link

Document

NOTE FOR DEVELOPERS: Never modify or reference this interface directly.

Usage

From source file:com.liferay.exportimport.system.event.test.SystemEventCheckTest.java

License:Open Source License

protected SystemEvent addSystemEvent() throws Exception {
    return SystemEventLocalServiceUtil.addSystemEvent(TestPropsValues.getUserId(), _group.getGroupId(),
            Group.class.getName(), RandomTestUtil.nextLong(), PortalUUIDUtil.generate(), StringPool.BLANK,
            SystemEventConstants.TYPE_DELETE, StringPool.BLANK);
}