Class SegmentsExperienceLocalServiceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperience>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<SegmentsExperienceLocalService>
,SegmentsExperienceLocalService
SegmentsExperienceLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionSegmentsExperienceLocalServiceWrapper
(SegmentsExperienceLocalService segmentsExperienceLocalService) -
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.BasePersistence<?>
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) void
setWrappedService
(SegmentsExperienceLocalService segmentsExperienceLocalService) 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
SegmentsExperienceLocalServiceWrapper
public SegmentsExperienceLocalServiceWrapper() -
SegmentsExperienceLocalServiceWrapper
public SegmentsExperienceLocalServiceWrapper(SegmentsExperienceLocalService segmentsExperienceLocalService)
-
-
Method Details
-
addDefaultSegmentsExperience
public SegmentsExperience addDefaultSegmentsExperience(String externalReferenceCode, long userId, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addDefaultSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSegmentsExperience
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.
- Specified by:
addSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Parameters:
segmentsExperience
- the segments experience- Returns:
- the segments experience that was added
-
addSegmentsExperience
public 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- Specified by:
addSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSegmentsExperience
public 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- Specified by:
addSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSegmentsExperience
public 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- Specified by:
addSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
appendSegmentsExperience
public 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- Specified by:
appendSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
appendSegmentsExperience
public 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- Specified by:
appendSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createPersistedModel
public 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
- Specified by:
createPersistedModel
in interfaceSegmentsExperienceLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
createSegmentsExperience
Creates a new segments experience with the primary key. Does not add the segments experience to the database.- Specified by:
createSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Parameters:
segmentsExperienceId
- the primary key for the new segments experience- Returns:
- the new segments experience
-
deletePersistedModel
public 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
- Specified by:
deletePersistedModel
in interfaceSegmentsExperienceLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsEntrySegmentsExperiences
public void deleteSegmentsEntrySegmentsExperiences(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteSegmentsEntrySegmentsExperiences
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsExperience
public 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.
- Specified by:
deleteSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Parameters:
segmentsExperienceId
- the primary key of the segments experience- Returns:
- the segments experience that was removed
- Throws:
PortalException
- if a segments experience with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsExperience
public 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.
- Specified by:
deleteSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Parameters:
segmentsExperience
- the segments experience- Returns:
- the segments experience that was removed
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsExperience
public SegmentsExperience deleteSegmentsExperience(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsExperiences
public void deleteSegmentsExperiences(long groupId, long plid) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteSegmentsExperiences
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Specified by:
dslQuery
in interfaceSegmentsExperienceLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Specified by:
dslQueryCount
in interfaceSegmentsExperienceLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceSegmentsExperienceLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceSegmentsExperienceLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <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
.- Specified by:
dynamicQuery
in interfaceSegmentsExperienceLocalService
- 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
public <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
.- Specified by:
dynamicQuery
in interfaceSegmentsExperienceLocalService
- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceSegmentsExperienceLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCount
in interfaceSegmentsExperienceLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDefaultSegmentsExperienceId
public long fetchDefaultSegmentsExperienceId(long plid) - Specified by:
fetchDefaultSegmentsExperienceId
in interfaceSegmentsExperienceLocalService
-
fetchSegmentsExperience
- Specified by:
fetchSegmentsExperience
in interfaceSegmentsExperienceLocalService
-
fetchSegmentsExperience
- Specified by:
fetchSegmentsExperience
in interfaceSegmentsExperienceLocalService
-
fetchSegmentsExperience
public SegmentsExperience fetchSegmentsExperience(long groupId, String segmentsExperienceKey, long plid) - Specified by:
fetchSegmentsExperience
in interfaceSegmentsExperienceLocalService
-
fetchSegmentsExperienceByExternalReferenceCode
public SegmentsExperience fetchSegmentsExperienceByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchSegmentsExperienceByExternalReferenceCode
in interfaceSegmentsExperienceLocalService
-
fetchSegmentsExperienceByUuidAndGroupId
Returns the segments experience matching the UUID and group.- Specified by:
fetchSegmentsExperienceByUuidAndGroupId
in interfaceSegmentsExperienceLocalService
- 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
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceSegmentsExperienceLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceSegmentsExperienceLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceSegmentsExperienceLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceSegmentsExperienceLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public 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
- Specified by:
getPersistedModel
in interfaceSegmentsExperienceLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperience
public SegmentsExperience getSegmentsExperience(long segmentsExperienceId) throws com.liferay.portal.kernel.exception.PortalException Returns the segments experience with the primary key.- Specified by:
getSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Parameters:
segmentsExperienceId
- the primary key of the segments experience- Returns:
- the segments experience
- Throws:
PortalException
- if a segments experience with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperience
public SegmentsExperience getSegmentsExperience(long groupId, String segmentsExperienceKey, long plid) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperienceByExternalReferenceCode
public SegmentsExperience getSegmentsExperienceByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSegmentsExperienceByExternalReferenceCode
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperienceByUuidAndGroupId
public SegmentsExperience getSegmentsExperienceByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the segments experience matching the UUID and group.- Specified by:
getSegmentsExperienceByUuidAndGroupId
in interfaceSegmentsExperienceLocalService
- Parameters:
uuid
- the segments experience's UUIDgroupId
- the primary key of the group- Returns:
- the matching segments experience
- Throws:
PortalException
- if a matching segments experience could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperiences
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
.- Specified by:
getSegmentsExperiences
in interfaceSegmentsExperienceLocalService
- 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
- Specified by:
getSegmentsExperiences
in interfaceSegmentsExperienceLocalService
-
getSegmentsExperiences
public List<SegmentsExperience> getSegmentsExperiences(long groupId, long plid, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSegmentsExperiences
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsExperiences
public List<SegmentsExperience> getSegmentsExperiences(long groupId, long plid, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperience> orderByComparator) - Specified by:
getSegmentsExperiences
in interfaceSegmentsExperienceLocalService
-
getSegmentsExperiences
public List<SegmentsExperience> getSegmentsExperiences(long groupId, long[] segmentsEntryIds, long plid, boolean active) - Specified by:
getSegmentsExperiences
in interfaceSegmentsExperienceLocalService
-
getSegmentsExperiences
public List<SegmentsExperience> getSegmentsExperiences(long groupId, long[] segmentsEntryIds, long plid, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperience> orderByComparator) - Specified by:
getSegmentsExperiences
in interfaceSegmentsExperienceLocalService
-
getSegmentsExperiencesByUuidAndCompanyId
public List<SegmentsExperience> getSegmentsExperiencesByUuidAndCompanyId(String uuid, long companyId) Returns all the segments experiences matching the UUID and company.- Specified by:
getSegmentsExperiencesByUuidAndCompanyId
in interfaceSegmentsExperienceLocalService
- 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
public 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.- Specified by:
getSegmentsExperiencesByUuidAndCompanyId
in interfaceSegmentsExperienceLocalService
- 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
public int getSegmentsExperiencesCount()Returns the number of segments experiences.- Specified by:
getSegmentsExperiencesCount
in interfaceSegmentsExperienceLocalService
- Returns:
- the number of segments experiences
-
getSegmentsExperiencesCount
public int getSegmentsExperiencesCount(long groupId, long plid) - Specified by:
getSegmentsExperiencesCount
in interfaceSegmentsExperienceLocalService
-
getSegmentsExperiencesCount
public int getSegmentsExperiencesCount(long groupId, long plid, boolean active) - Specified by:
getSegmentsExperiencesCount
in interfaceSegmentsExperienceLocalService
-
updateSegmentsExperience
public SegmentsExperience updateSegmentsExperience(long segmentsExperienceId, long segmentsEntryId, Map<Locale, String> nameMap, boolean active) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSegmentsExperience
public 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- Specified by:
updateSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSegmentsExperience
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.
- Specified by:
updateSegmentsExperience
in interfaceSegmentsExperienceLocalService
- Parameters:
segmentsExperience
- the segments experience- Returns:
- the segments experience that was updated
-
updateSegmentsExperienceActive
public SegmentsExperience updateSegmentsExperienceActive(long segmentsExperienceId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateSegmentsExperienceActive
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSegmentsExperiencePriority
public SegmentsExperience updateSegmentsExperiencePriority(long segmentsExperienceId, int newPriority) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateSegmentsExperiencePriority
in interfaceSegmentsExperienceLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperience> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperience>
- Specified by:
getCTPersistence
in interfaceSegmentsExperienceLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperience>
- Specified by:
getModelClass
in interfaceSegmentsExperienceLocalService
-
updateWithUnsafeFunction
public <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>
- Specified by:
updateWithUnsafeFunction
in interfaceSegmentsExperienceLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<SegmentsExperienceLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<SegmentsExperienceLocalService>
-