Class SegmentsEntryServiceUtil

java.lang.Object
com.liferay.segments.service.SegmentsEntryServiceUtil

public class SegmentsEntryServiceUtil extends Object
Provides the remote service utility for SegmentsEntry. This utility wraps com.liferay.segments.service.impl.SegmentsEntryServiceImpl and is an access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Constructor Details

    • SegmentsEntryServiceUtil

      public SegmentsEntryServiceUtil()
  • Method Details

    • addSegmentsEntry

      public static SegmentsEntry addSegmentsEntry(String segmentsEntryKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, String criteria, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSegmentsEntry

      public static SegmentsEntry addSegmentsEntry(String segmentsEntryKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, 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
    • addSegmentsEntryClassPKs

      public static void addSegmentsEntryClassPKs(long segmentsEntryId, long[] classPKs, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteSegmentsEntry

      public static SegmentsEntry deleteSegmentsEntry(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteSegmentsEntryClassPKs

      public static void deleteSegmentsEntryClassPKs(long segmentsEntryId, long[] classPKs) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getSegmentsEntries

      public static List<SegmentsEntry> getSegmentsEntries(long groupId)
    • getSegmentsEntries

      public static List<SegmentsEntry> getSegmentsEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    • getSegmentsEntriesCount

      public static int getSegmentsEntriesCount(long groupId)
    • getSegmentsEntry

      public static SegmentsEntry getSegmentsEntry(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchSegmentsEntries

      public static com.liferay.portal.kernel.search.BaseModelSearchResult<SegmentsEntry> searchSegmentsEntries(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSegmentsEntry

      public static SegmentsEntry updateSegmentsEntry(long segmentsEntryId, String segmentsEntryKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, String criteria, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static SegmentsEntryService getService()