Class SegmentsTestUtil

java.lang.Object
com.liferay.segments.test.util.SegmentsTestUtil

public class SegmentsTestUtil extends Object
  • Constructor Details

    • SegmentsTestUtil

      public SegmentsTestUtil()
  • Method Details

    • addSegmentsEntry

      public static com.liferay.segments.model.SegmentsEntry addSegmentsEntry(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsEntry

      public static com.liferay.segments.model.SegmentsEntry addSegmentsEntry(long groupId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsEntry

      public static com.liferay.segments.model.SegmentsEntry addSegmentsEntry(long groupId, String criteria) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsEntry

      public static com.liferay.segments.model.SegmentsEntry addSegmentsEntry(long groupId, String segmentsEntryKey, String name, String description) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsEntry

      public static com.liferay.segments.model.SegmentsEntry addSegmentsEntry(long groupId, String segmentsEntryKey, String name, String description, String criteria) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsEntry

      public static com.liferay.segments.model.SegmentsEntry addSegmentsEntry(com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsEntry

      public static com.liferay.segments.model.SegmentsEntry addSegmentsEntry(String segmentsEntryKey, String name, String description, String criteria, String source, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsExperience

      public static com.liferay.segments.model.SegmentsExperience addSegmentsExperience(long groupId, long plid) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsExperience

      public static com.liferay.segments.model.SegmentsExperience addSegmentsExperience(long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsExperience

      public static com.liferay.segments.model.SegmentsExperience addSegmentsExperience(long groupId, String segmentsEntryERC, String segmentsEntryScopeERC, long plid) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsExperience

      public static com.liferay.segments.model.SegmentsExperience addSegmentsExperience(String segmentsEntryERC, String segmentsEntryScopeERC, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsExperiment

      public static com.liferay.segments.model.SegmentsExperiment addSegmentsExperiment(long groupId, long segmentsExperienceId, long plid) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException