Package com.liferay.segments.service
Class SegmentsEntryServiceUtil
java.lang.Object
com.liferay.segments.service.SegmentsEntryServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SegmentsEntry
addSegmentsEntry
(String segmentsEntryKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, String criteria, com.liferay.portal.kernel.service.ServiceContext serviceContext) 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) static void
addSegmentsEntryClassPKs
(long segmentsEntryId, long[] classPKs, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SegmentsEntry
deleteSegmentsEntry
(long segmentsEntryId) static void
deleteSegmentsEntryClassPKs
(long segmentsEntryId, long[] classPKs) static String
Returns the OSGi service identifier.static List<SegmentsEntry>
getSegmentsEntries
(long groupId) static List<SegmentsEntry>
getSegmentsEntries
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) static int
getSegmentsEntriesCount
(long groupId) static SegmentsEntry
getSegmentsEntry
(long segmentsEntryId) static SegmentsEntryService
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) 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)
-
Constructor Details
-
SegmentsEntryServiceUtil
public SegmentsEntryServiceUtil()
-
-
Method Details
-
addSegmentsEntry
public static SegmentsEntry addSegmentsEntry(String segmentsEntryKey, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, String criteria, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSegmentsEntry
public static SegmentsEntry addSegmentsEntry(String segmentsEntryKey, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, String criteria, String source, com.liferay.portal.kernel.service.ServiceContext serviceContext) - 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
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getSegmentsEntries
-
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, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, String criteria, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-