@ProviderType
public interface SegmentsEntryProvider
SegmentsEntry
s and their related
entities.Modifier and Type | Method and Description |
---|---|
long[] |
getSegmentsEntryClassPKs(long segmentsEntryId,
int start,
int end)
Returns the primary keys of the entities related to the segment.
|
int |
getSegmentsEntryClassPKsCount(long segmentsEntryId)
Returns the number of entities related to the segment.
|
default long[] |
getSegmentsEntryIds(long groupId,
java.lang.String className,
long classPK)
Returns IDs of the group's active segments entries that are related to
the entity.
|
long[] |
getSegmentsEntryIds(long groupId,
java.lang.String className,
long classPK,
Context context)
Returns IDs of the group's active segments entries that are related to
the entity under the given context.
|
default long[] |
getSegmentsEntryIds(long groupId,
java.lang.String className,
long classPK,
Context context,
long[] segmentsEntryIds)
Returns IDs of the group's active segments entries that are related to
the entity under the given context.
|
long[] getSegmentsEntryClassPKs(long segmentsEntryId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
segmentsEntryId
- the segment's IDstart
- the lower bound of the range of primary keysend
- the upper bound of the range of primary keys (not inclusive)com.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredint getSegmentsEntryClassPKsCount(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException
segmentsEntryId
- the segment's IDcom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurreddefault long[] getSegmentsEntryIds(long groupId, java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
groupId
- the primary key of the groupclassName
- the entity's class nameclassPK
- the primary key of the entitycom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredlong[] getSegmentsEntryIds(long groupId, java.lang.String className, long classPK, Context context) throws com.liferay.portal.kernel.exception.PortalException
groupId
- the primary key of the groupclassName
- the entity's class nameclassPK
- the primary key of the entitycontext
- the contextcom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurreddefault long[] getSegmentsEntryIds(long groupId, java.lang.String className, long classPK, Context context, long[] segmentsEntryIds) throws com.liferay.portal.kernel.exception.PortalException
groupId
- the primary key of the groupclassName
- the entity's class nameclassPK
- the primary key of the entitycontext
- the contextsegmentsEntryIds
- the IDs of the group's active segments entries
that are currently related to the entity under the given contextcom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurred