Interface SegmentsExperienceLocalService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperience>
,com.liferay.portal.kernel.service.PersistedModelLocalService
- All Known Implementing Classes:
SegmentsExperienceLocalServiceWrapper
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddDefaultSegmentsExperience
(String externalReferenceCode, long userId, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) addSegmentsExperience
(SegmentsExperience segmentsExperience) Adds the segments experience to the database.addSegmentsExperience
(String externalReferenceCode, long userId, long groupId, long segmentsEntryId, long plid, Map<Locale, String> nameMap, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) addSegmentsExperience
(String externalReferenceCode, long userId, long groupId, long segmentsEntryId, long plid, Map<Locale, String> nameMap, int priority, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) addSegmentsExperience
(String externalReferenceCode, long userId, long groupId, long segmentsEntryId, String segmentsExperienceKey, long plid, Map<Locale, String> nameMap, int priority, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) appendSegmentsExperience
(long userId, long groupId, long segmentsEntryId, long plid, Map<Locale, String> nameMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) appendSegmentsExperience
(long userId, long groupId, long segmentsEntryId, long plid, Map<Locale, String> nameMap, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) createSegmentsExperience
(long segmentsExperienceId) Creates a new segments experience with the primary key.com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) void
deleteSegmentsEntrySegmentsExperiences
(long segmentsEntryId) deleteSegmentsExperience
(long segmentsExperienceId) Deletes the segments experience with the primary key from the database.deleteSegmentsExperience
(SegmentsExperience segmentsExperience) Deletes the segments experience from the database.deleteSegmentsExperience
(String externalReferenceCode, long groupId) void
deleteSegmentsExperiences
(long groupId, long plid) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.long
fetchDefaultSegmentsExperienceId
(long plid) fetchSegmentsExperience
(long segmentsExperienceId) fetchSegmentsExperience
(long groupId, long plid, int priority) fetchSegmentsExperience
(long groupId, String segmentsExperienceKey, long plid) fetchSegmentsExperienceByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchSegmentsExperienceByUuidAndGroupId
(String uuid, long groupId) Returns the segments experience matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperience>
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getSegmentsExperience
(long segmentsExperienceId) Returns the segments experience with the primary key.getSegmentsExperience
(long groupId, String segmentsExperienceKey, long plid) getSegmentsExperienceByExternalReferenceCode
(String externalReferenceCode, long groupId) getSegmentsExperienceByUuidAndGroupId
(String uuid, long groupId) Returns the segments experience matching the UUID and group.getSegmentsExperiences
(int start, int end) Returns a range of all the segments experiences.getSegmentsExperiences
(long groupId, long plid) getSegmentsExperiences
(long groupId, long[] segmentsEntryIds, long plid, boolean active) getSegmentsExperiences
(long groupId, long[] segmentsEntryIds, long plid, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperience> orderByComparator) getSegmentsExperiences
(long groupId, long plid, boolean active) getSegmentsExperiences
(long groupId, long plid, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperience> orderByComparator) getSegmentsExperiencesByUuidAndCompanyId
(String uuid, long companyId) Returns all the segments experiences matching the UUID and company.getSegmentsExperiencesByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperience> orderByComparator) Returns a range of segments experiences matching the UUID and company.int
Returns the number of segments experiences.int
getSegmentsExperiencesCount
(long groupId, long plid) int
getSegmentsExperiencesCount
(long groupId, long plid, boolean active) updateSegmentsExperience
(long segmentsExperienceId, long segmentsEntryId, Map<Locale, String> nameMap, boolean active) updateSegmentsExperience
(long segmentsExperienceId, long segmentsEntryId, Map<Locale, String> nameMap, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) updateSegmentsExperience
(SegmentsExperience segmentsExperience) Updates the segments experience in the database or adds it if it does not yet exist.updateSegmentsExperienceActive
(long segmentsExperienceId, boolean active) updateSegmentsExperiencePriority
(long segmentsExperienceId, int newPriority) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperience>, R, E> updateUnsafeFunction) Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
Method Details
-
addDefaultSegmentsExperience
SegmentsExperience addDefaultSegmentsExperience(String externalReferenceCode, long userId, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSegmentsExperience
@Indexable(type=REINDEX) SegmentsExperience addSegmentsExperience(SegmentsExperience segmentsExperience) Adds the segments experience to the database. Also notifies the appropriate model listeners.Important: Inspect SegmentsExperienceLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
segmentsExperience
- the segments experience- Returns:
- the segments experience that was added
-
addSegmentsExperience
SegmentsExperience addSegmentsExperience(String externalReferenceCode, long userId, long groupId, long segmentsEntryId, long plid, Map<Locale, String> nameMap, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSegmentsExperience
SegmentsExperience addSegmentsExperience(String externalReferenceCode, long userId, long groupId, long segmentsEntryId, long plid, Map<Locale, String> nameMap, int priority, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSegmentsExperience
SegmentsExperience addSegmentsExperience(String externalReferenceCode, long userId, long groupId, long segmentsEntryId, String segmentsExperienceKey, long plid, Map<Locale, String> nameMap, int priority, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
appendSegmentsExperience
SegmentsExperience appendSegmentsExperience(long userId, long groupId, long segmentsEntryId, long plid, Map<Locale, String> nameMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
appendSegmentsExperience
SegmentsExperience appendSegmentsExperience(long userId, long groupId, long segmentsEntryId, long plid, Map<Locale, String> nameMap, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createPersistedModel
com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createSegmentsExperience
@Transactional(enabled=false) SegmentsExperience createSegmentsExperience(long segmentsExperienceId) Creates a new segments experience with the primary key. Does not add the segments experience to the database.- Parameters:
segmentsExperienceId
- the primary key for the new segments experience- Returns:
- the new segments experience
-
deletePersistedModel
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsEntrySegmentsExperiences
void deleteSegmentsEntrySegmentsExperiences(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsExperience
@Indexable(type=DELETE) SegmentsExperience deleteSegmentsExperience(long segmentsExperienceId) throws com.liferay.portal.kernel.exception.PortalException Deletes the segments experience with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect SegmentsExperienceLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
segmentsExperienceId
- the primary key of the segments experience- Returns:
- the segments experience that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a segments experience with the primary key could not be found
-
deleteSegmentsExperience
@Indexable(type=DELETE) @SystemEvent(type=1) SegmentsExperience deleteSegmentsExperience(SegmentsExperience segmentsExperience) throws com.liferay.portal.kernel.exception.PortalException Deletes the segments experience from the database. Also notifies the appropriate model listeners.Important: Inspect SegmentsExperienceLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
segmentsExperience
- the segments experience- Returns:
- the segments experience that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsExperience
SegmentsExperience deleteSegmentsExperience(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsExperiences
void deleteSegmentsExperiences(long groupId, long plid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsExperienceModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsExperienceModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDefaultSegmentsExperienceId
@Transactional(propagation=SUPPORTS, readOnly=true) long fetchDefaultSegmentsExperienceId(long plid) -
fetchSegmentsExperience
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience fetchSegmentsExperience(long segmentsExperienceId) -
fetchSegmentsExperience
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience fetchSegmentsExperience(long groupId, long plid, int priority) -
fetchSegmentsExperience
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience fetchSegmentsExperience(long groupId, String segmentsExperienceKey, long plid) -
fetchSegmentsExperienceByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience fetchSegmentsExperienceByExternalReferenceCode(String externalReferenceCode, long groupId) -
fetchSegmentsExperienceByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience fetchSegmentsExperienceByUuidAndGroupId(String uuid, long groupId) Returns the segments experience matching the UUID and group.- Parameters:
uuid
- the segments experience's UUIDgroupId
- the primary key of the group- Returns:
- the matching segments experience, or
null
if a matching segments experience could not be found
-
getActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getExportActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperience
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience getSegmentsExperience(long segmentsExperienceId) throws com.liferay.portal.kernel.exception.PortalException Returns the segments experience with the primary key.- Parameters:
segmentsExperienceId
- the primary key of the segments experience- Returns:
- the segments experience
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a segments experience with the primary key could not be found
-
getSegmentsExperience
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience getSegmentsExperience(long groupId, String segmentsExperienceKey, long plid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperienceByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience getSegmentsExperienceByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperienceByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) SegmentsExperience getSegmentsExperienceByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the segments experience matching the UUID and group.- Parameters:
uuid
- the segments experience's UUIDgroupId
- the primary key of the group- Returns:
- the matching segments experience
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a matching segments experience could not be found
-
getSegmentsExperiences
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsExperience> getSegmentsExperiences(int start, int end) Returns a range of all the segments experiences.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsExperienceModelImpl
.- Parameters:
start
- the lower bound of the range of segments experiencesend
- the upper bound of the range of segments experiences (not inclusive)- Returns:
- the range of segments experiences
-
getSegmentsExperiences
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsExperience> getSegmentsExperiences(long groupId, long plid) -
getSegmentsExperiences
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsExperience> getSegmentsExperiences(long groupId, long plid, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperiences
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsExperience> getSegmentsExperiences(long groupId, long plid, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperience> orderByComparator) -
getSegmentsExperiences
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsExperience> getSegmentsExperiences(long groupId, long[] segmentsEntryIds, long plid, boolean active) -
getSegmentsExperiences
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsExperience> getSegmentsExperiences(long groupId, long[] segmentsEntryIds, long plid, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperience> orderByComparator) -
getSegmentsExperiencesByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsExperience> getSegmentsExperiencesByUuidAndCompanyId(String uuid, long companyId) Returns all the segments experiences matching the UUID and company.- Parameters:
uuid
- the UUID of the segments experiencescompanyId
- the primary key of the company- Returns:
- the matching segments experiences, or an empty list if no matches were found
-
getSegmentsExperiencesByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<SegmentsExperience> getSegmentsExperiencesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperience> orderByComparator) Returns a range of segments experiences matching the UUID and company.- Parameters:
uuid
- the UUID of the segments experiencescompanyId
- the primary key of the companystart
- the lower bound of the range of segments experiencesend
- the upper bound of the range of segments experiences (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching segments experiences, or an empty list if no matches were found
-
getSegmentsExperiencesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getSegmentsExperiencesCount()Returns the number of segments experiences.- Returns:
- the number of segments experiences
-
getSegmentsExperiencesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getSegmentsExperiencesCount(long groupId, long plid) -
getSegmentsExperiencesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getSegmentsExperiencesCount(long groupId, long plid, boolean active) -
updateSegmentsExperience
SegmentsExperience updateSegmentsExperience(long segmentsExperienceId, long segmentsEntryId, Map<Locale, String> nameMap, boolean active) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSegmentsExperience
SegmentsExperience updateSegmentsExperience(long segmentsExperienceId, long segmentsEntryId, Map<Locale, String> nameMap, boolean active, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSegmentsExperience
@Indexable(type=REINDEX) SegmentsExperience updateSegmentsExperience(SegmentsExperience segmentsExperience) Updates the segments experience in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect SegmentsExperienceLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
segmentsExperience
- the segments experience- Returns:
- the segments experience that was updated
-
updateSegmentsExperienceActive
SegmentsExperience updateSegmentsExperienceActive(long segmentsExperienceId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSegmentsExperiencePriority
SegmentsExperience updateSegmentsExperiencePriority(long segmentsExperienceId, int newPriority) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCTPersistence
@Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperience> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperience>
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperience>
-
updateWithUnsafeFunction
@Transactional(rollbackFor=java.lang.Throwable.class) <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperience>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperience>
- Throws:
E extends Throwable
-