Package com.liferay.segments.service
Interface SegmentsEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
SegmentsEntryServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface SegmentsEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for SegmentsEntry. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddSegmentsEntry(String externalReferenceCode, String segmentsEntryKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, String criteria, String source, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidaddSegmentsEntryClassPKs(long segmentsEntryId, long[] classPKs, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteSegmentsEntry(long segmentsEntryId) voiddeleteSegmentsEntryClassPKs(long segmentsEntryId, long[] classPKs) fetchSegmentsEntryByExternalReferenceCode(String segmentsEntryERC, long groupId) Returns the OSGi service identifier.getSegmentsEntries(long groupId) getSegmentsEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) getSegmentsEntries(long groupId, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) intgetSegmentsEntriesCount(long groupId) intgetSegmentsEntriesCount(long groupId, String[] sources) getSegmentsEntry(long segmentsEntryId) getSegmentsEntryByExternalReferenceCode(String segmentsEntryERC, long groupId) com.liferay.portal.kernel.search.BaseModelSearchResult<SegmentsEntry> searchSegmentsEntries(long companyId, long groupId, String keywords, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.search.Sort sort) updateSegmentsEntry(String externalReferenceCode, long segmentsEntryId, String segmentsEntryKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, String criteria, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addSegmentsEntry
SegmentsEntry addSegmentsEntry(String externalReferenceCode, 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
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
SegmentsEntry deleteSegmentsEntry(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsEntryClassPKs
void deleteSegmentsEntryClassPKs(long segmentsEntryId, long[] classPKs) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchSegmentsEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsEntry fetchSegmentsEntryByExternalReferenceCode(String segmentsEntryERC, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getSegmentsEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsEntry> getSegmentsEntries(long groupId) -
getSegmentsEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsEntry> getSegmentsEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) -
getSegmentsEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsEntry> getSegmentsEntries(long groupId, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) -
getSegmentsEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getSegmentsEntriesCount(long groupId) -
getSegmentsEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getSegmentsEntriesCount(long groupId, String[] sources) -
getSegmentsEntry
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsEntry getSegmentsEntry(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsEntry getSegmentsEntryByExternalReferenceCode(String segmentsEntryERC, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchSegmentsEntries
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<SegmentsEntry> searchSegmentsEntries(long companyId, long groupId, String keywords, LinkedHashMap<String, Object> params, 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
SegmentsEntry updateSegmentsEntry(String externalReferenceCode, 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
-