Class SegmentsExperimentUtil
com.liferay.segments.service.persistence.impl.SegmentsExperimentPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(SegmentsExperiment segmentsExperiment) Caches the segments experiment in the entity cache if it is enabled.static voidcacheResult(List<SegmentsExperiment> segmentsExperiments) Caches the segments experiments in the entity cache if it is enabled.static voidstatic voidclearCache(SegmentsExperiment segmentsExperiment) static intcountAll()Returns the number of segments experiments.static intcountByG_S(long groupId, String segmentsExperimentKey) Returns the number of segments experiments where groupId = ? and segmentsExperimentKey = ?.static intcountByG_S_P(long groupId, long segmentsExperienceId, long plid) Returns the number of segments experiments where groupId = ? and segmentsExperienceId = ? and plid = ?.static intcountByGroupId(long groupId) Returns the number of segments experiments where groupId = ?.static intcountBySegmentsExperimentKey(String segmentsExperimentKey) Returns the number of segments experiments where segmentsExperimentKey = ?.static intcountByUuid(String uuid) Returns the number of segments experiments where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of segments experiments where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of segments experiments where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SegmentsExperimentcreate(long segmentsExperimentId) Creates a new segments experiment with the primary key.static SegmentsExperimentfetchByG_S(long groupId, String segmentsExperimentKey) Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returnsnullif it could not be found.static SegmentsExperimentfetchByG_S(long groupId, String segmentsExperimentKey, boolean useFinderCache) Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returnsnullif it could not be found, optionally using the finder cache.static SegmentsExperimentfetchByG_S_P(long groupId, long segmentsExperienceId, long plid) Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returnsnullif it could not be found.static SegmentsExperimentfetchByG_S_P(long groupId, long segmentsExperienceId, long plid, boolean useFinderCache) Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returnsnullif it could not be found, optionally using the finder cache.static SegmentsExperimentfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where groupId = ?.static SegmentsExperimentfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where groupId = ?.static SegmentsExperimentfetchByPrimaryKey(long segmentsExperimentId) Returns the segments experiment with the primary key or returnsnullif it could not be found.static Map<Serializable,SegmentsExperiment> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static SegmentsExperimentfetchBySegmentsExperimentKey_First(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.static SegmentsExperimentfetchBySegmentsExperimentKey_Last(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.static SegmentsExperimentfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where uuid = ? and companyId = ?.static SegmentsExperimentfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where uuid = ? and companyId = ?.static SegmentsExperimentfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where uuid = ?.static SegmentsExperimentfetchByUUID_G(String uuid, long groupId) Returns the segments experiment where uuid = ? and groupId = ? or returnsnullif it could not be found.static SegmentsExperimentfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the segments experiment where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static SegmentsExperimentfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where uuid = ?.static intfilterCountByGroupId(long groupId) Returns the number of segments experiments that the user has permission to view where groupId = ?.static List<SegmentsExperiment>filterFindByGroupId(long groupId) Returns all the segments experiments that the user has permission to view where groupId = ?.static List<SegmentsExperiment>filterFindByGroupId(long groupId, int start, int end) Returns a range of all the segments experiments that the user has permission to view where groupId = ?.static List<SegmentsExperiment>filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments that the user has permissions to view where groupId = ?.static SegmentsExperiment[]filterFindByGroupId_PrevAndNext(long segmentsExperimentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the segments experiments before and after the current segments experiment in the ordered set of segments experiments that the user has permission to view where groupId = ?.static List<SegmentsExperiment>findAll()Returns all the segments experiments.static List<SegmentsExperiment>findAll(int start, int end) Returns a range of all the segments experiments.static List<SegmentsExperiment>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments.static List<SegmentsExperiment>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments.static SegmentsExperimentReturns the segments experiment where groupId = ? and segmentsExperimentKey = ? or throws aNoSuchExperimentExceptionif it could not be found.static SegmentsExperimentfindByG_S_P(long groupId, long segmentsExperienceId, long plid) Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or throws aNoSuchExperimentExceptionif it could not be found.static List<SegmentsExperiment>findByGroupId(long groupId) Returns all the segments experiments where groupId = ?.static List<SegmentsExperiment>findByGroupId(long groupId, int start, int end) Returns a range of all the segments experiments where groupId = ?.static List<SegmentsExperiment>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments where groupId = ?.static List<SegmentsExperiment>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments where groupId = ?.static SegmentsExperimentfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where groupId = ?.static SegmentsExperimentfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where groupId = ?.static SegmentsExperiment[]findByGroupId_PrevAndNext(long segmentsExperimentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the segments experiments before and after the current segments experiment in the ordered set where groupId = ?.static SegmentsExperimentfindByPrimaryKey(long segmentsExperimentId) Returns the segments experiment with the primary key or throws aNoSuchExperimentExceptionif it could not be found.static List<SegmentsExperiment>findBySegmentsExperimentKey(String segmentsExperimentKey) Returns all the segments experiments where segmentsExperimentKey = ?.static List<SegmentsExperiment>findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end) Returns a range of all the segments experiments where segmentsExperimentKey = ?.static List<SegmentsExperiment>findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments where segmentsExperimentKey = ?.static List<SegmentsExperiment>findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments where segmentsExperimentKey = ?.static SegmentsExperimentfindBySegmentsExperimentKey_First(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.static SegmentsExperimentfindBySegmentsExperimentKey_Last(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.static SegmentsExperiment[]findBySegmentsExperimentKey_PrevAndNext(long segmentsExperimentId, String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the segments experiments before and after the current segments experiment in the ordered set where segmentsExperimentKey = ?.static List<SegmentsExperiment>findByUuid(String uuid) Returns all the segments experiments where uuid = ?.static List<SegmentsExperiment>findByUuid(String uuid, int start, int end) Returns a range of all the segments experiments where uuid = ?.static List<SegmentsExperiment>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments where uuid = ?.static List<SegmentsExperiment>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments where uuid = ?.static List<SegmentsExperiment>findByUuid_C(String uuid, long companyId) Returns all the segments experiments where uuid = ? and companyId = ?.static List<SegmentsExperiment>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the segments experiments where uuid = ? and companyId = ?.static List<SegmentsExperiment>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments where uuid = ? and companyId = ?.static List<SegmentsExperiment>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments where uuid = ? and companyId = ?.static SegmentsExperimentfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where uuid = ? and companyId = ?.static SegmentsExperimentfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where uuid = ? and companyId = ?.static SegmentsExperiment[]findByUuid_C_PrevAndNext(long segmentsExperimentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the segments experiments before and after the current segments experiment in the ordered set where uuid = ? and companyId = ?.static SegmentsExperimentfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where uuid = ?.static SegmentsExperimentfindByUUID_G(String uuid, long groupId) Returns the segments experiment where uuid = ? and groupId = ? or throws aNoSuchExperimentExceptionif it could not be found.static SegmentsExperimentfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where uuid = ?.static SegmentsExperiment[]findByUuid_PrevAndNext(long segmentsExperimentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the segments experiments before and after the current segments experiment in the ordered set where uuid = ?.static List<SegmentsExperiment>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SegmentsExperiment>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SegmentsExperiment>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) static SegmentsExperimentremove(long segmentsExperimentId) Removes the segments experiment with the primary key from the database.static voidRemoves all the segments experiments from the database.static SegmentsExperimentremoveByG_S(long groupId, String segmentsExperimentKey) Removes the segments experiment where groupId = ? and segmentsExperimentKey = ? from the database.static SegmentsExperimentremoveByG_S_P(long groupId, long segmentsExperienceId, long plid) Removes the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? from the database.static voidremoveByGroupId(long groupId) Removes all the segments experiments where groupId = ? from the database.static voidremoveBySegmentsExperimentKey(String segmentsExperimentKey) Removes all the segments experiments where segmentsExperimentKey = ? from the database.static voidremoveByUuid(String uuid) Removes all the segments experiments where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the segments experiments where uuid = ? and companyId = ? from the database.static SegmentsExperimentremoveByUUID_G(String uuid, long groupId) Removes the segments experiment where uuid = ? and groupId = ? from the database.static voidsetPersistence(SegmentsExperimentPersistence persistence) static SegmentsExperimentupdate(SegmentsExperiment segmentsExperiment) static SegmentsExperimentupdate(SegmentsExperiment segmentsExperiment, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SegmentsExperimentupdateImpl(SegmentsExperiment segmentsExperiment)
-
Constructor Details
-
SegmentsExperimentUtil
public SegmentsExperimentUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,SegmentsExperiment> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<SegmentsExperiment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<SegmentsExperiment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<SegmentsExperiment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static SegmentsExperiment update(SegmentsExperiment segmentsExperiment, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the segments experiments where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching segments experiments
-
findByUuid
Returns a range of all the segments experiments where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)- Returns:
- the range of matching segments experiments
-
findByUuid
public static List<SegmentsExperiment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments experiments
-
findByUuid
public static List<SegmentsExperiment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments experiments
-
findByUuid_First
public static SegmentsExperiment findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the first segments experiment in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByUuid_First
public static SegmentsExperiment fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments experiment, or
nullif a matching segments experiment could not be found
-
findByUuid_Last
public static SegmentsExperiment findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the last segments experiment in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByUuid_Last
public static SegmentsExperiment fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching segments experiment, or
nullif a matching segments experiment could not be found
-
findByUuid_PrevAndNext
public static SegmentsExperiment[] findByUuid_PrevAndNext(long segmentsExperimentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the segments experiments before and after the current segments experiment in the ordered set where uuid = ?.- Parameters:
segmentsExperimentId- the primary key of the current segments experimentuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next segments experiment
- Throws:
NoSuchExperimentException- if a segments experiment with the primary key could not be foundNoSuchExperimentException
-
removeByUuid
Removes all the segments experiments where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of segments experiments where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching segments experiments
-
findByUUID_G
public static SegmentsExperiment findByUUID_G(String uuid, long groupId) throws NoSuchExperimentException Returns the segments experiment where uuid = ? and groupId = ? or throws aNoSuchExperimentExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByUUID_G
Returns the segments experiment where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching segments experiment, or
nullif a matching segments experiment could not be found
-
fetchByUUID_G
Returns the segments experiment where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching segments experiment, or
nullif a matching segments experiment could not be found
-
removeByUUID_G
public static SegmentsExperiment removeByUUID_G(String uuid, long groupId) throws NoSuchExperimentException Removes the segments experiment where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the segments experiment that was removed
- Throws:
NoSuchExperimentException
-
countByUUID_G
Returns the number of segments experiments where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching segments experiments
-
findByUuid_C
Returns all the segments experiments where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching segments experiments
-
findByUuid_C
public static List<SegmentsExperiment> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the segments experiments where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)- Returns:
- the range of matching segments experiments
-
findByUuid_C
public static List<SegmentsExperiment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments experiments
-
findByUuid_C
public static List<SegmentsExperiment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments experiments
-
findByUuid_C_First
public static SegmentsExperiment findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the first segments experiment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByUuid_C_First
public static SegmentsExperiment fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments experiment, or
nullif a matching segments experiment could not be found
-
findByUuid_C_Last
public static SegmentsExperiment findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the last segments experiment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByUuid_C_Last
public static SegmentsExperiment fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching segments experiment, or
nullif a matching segments experiment could not be found
-
findByUuid_C_PrevAndNext
public static SegmentsExperiment[] findByUuid_C_PrevAndNext(long segmentsExperimentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the segments experiments before and after the current segments experiment in the ordered set where uuid = ? and companyId = ?.- Parameters:
segmentsExperimentId- the primary key of the current segments experimentuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next segments experiment
- Throws:
NoSuchExperimentException- if a segments experiment with the primary key could not be foundNoSuchExperimentException
-
removeByUuid_C
Removes all the segments experiments where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of segments experiments where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching segments experiments
-
findByGroupId
Returns all the segments experiments where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching segments experiments
-
findByGroupId
Returns a range of all the segments experiments where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)- Returns:
- the range of matching segments experiments
-
findByGroupId
public static List<SegmentsExperiment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments experiments
-
findByGroupId
public static List<SegmentsExperiment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments experiments
-
findByGroupId_First
public static SegmentsExperiment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the first segments experiment in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByGroupId_First
public static SegmentsExperiment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments experiment, or
nullif a matching segments experiment could not be found
-
findByGroupId_Last
public static SegmentsExperiment findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the last segments experiment in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByGroupId_Last
public static SegmentsExperiment fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching segments experiment, or
nullif a matching segments experiment could not be found
-
findByGroupId_PrevAndNext
public static SegmentsExperiment[] findByGroupId_PrevAndNext(long segmentsExperimentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the segments experiments before and after the current segments experiment in the ordered set where groupId = ?.- Parameters:
segmentsExperimentId- the primary key of the current segments experimentgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next segments experiment
- Throws:
NoSuchExperimentException- if a segments experiment with the primary key could not be foundNoSuchExperimentException
-
filterFindByGroupId
Returns all the segments experiments that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching segments experiments that the user has permission to view
-
filterFindByGroupId
Returns a range of all the segments experiments that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)- Returns:
- the range of matching segments experiments that the user has permission to view
-
filterFindByGroupId
public static List<SegmentsExperiment> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments experiments that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static SegmentsExperiment[] filterFindByGroupId_PrevAndNext(long segmentsExperimentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the segments experiments before and after the current segments experiment in the ordered set of segments experiments that the user has permission to view where groupId = ?.- Parameters:
segmentsExperimentId- the primary key of the current segments experimentgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next segments experiment
- Throws:
NoSuchExperimentException- if a segments experiment with the primary key could not be foundNoSuchExperimentException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the segments experiments where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of segments experiments where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching segments experiments
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of segments experiments that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching segments experiments that the user has permission to view
-
findBySegmentsExperimentKey
Returns all the segments experiments where segmentsExperimentKey = ?.- Parameters:
segmentsExperimentKey- the segments experiment key- Returns:
- the matching segments experiments
-
findBySegmentsExperimentKey
public static List<SegmentsExperiment> findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end) Returns a range of all the segments experiments where segmentsExperimentKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
segmentsExperimentKey- the segments experiment keystart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)- Returns:
- the range of matching segments experiments
-
findBySegmentsExperimentKey
public static List<SegmentsExperiment> findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments where segmentsExperimentKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
segmentsExperimentKey- the segments experiment keystart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments experiments
-
findBySegmentsExperimentKey
public static List<SegmentsExperiment> findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments where segmentsExperimentKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
segmentsExperimentKey- the segments experiment keystart- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments experiments
-
findBySegmentsExperimentKey_First
public static SegmentsExperiment findBySegmentsExperimentKey_First(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.- Parameters:
segmentsExperimentKey- the segments experiment keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchBySegmentsExperimentKey_First
public static SegmentsExperiment fetchBySegmentsExperimentKey_First(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.- Parameters:
segmentsExperimentKey- the segments experiment keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments experiment, or
nullif a matching segments experiment could not be found
-
findBySegmentsExperimentKey_Last
public static SegmentsExperiment findBySegmentsExperimentKey_Last(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.- Parameters:
segmentsExperimentKey- the segments experiment keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchBySegmentsExperimentKey_Last
public static SegmentsExperiment fetchBySegmentsExperimentKey_Last(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.- Parameters:
segmentsExperimentKey- the segments experiment keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching segments experiment, or
nullif a matching segments experiment could not be found
-
findBySegmentsExperimentKey_PrevAndNext
public static SegmentsExperiment[] findBySegmentsExperimentKey_PrevAndNext(long segmentsExperimentId, String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException Returns the segments experiments before and after the current segments experiment in the ordered set where segmentsExperimentKey = ?.- Parameters:
segmentsExperimentId- the primary key of the current segments experimentsegmentsExperimentKey- the segments experiment keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next segments experiment
- Throws:
NoSuchExperimentException- if a segments experiment with the primary key could not be foundNoSuchExperimentException
-
removeBySegmentsExperimentKey
Removes all the segments experiments where segmentsExperimentKey = ? from the database.- Parameters:
segmentsExperimentKey- the segments experiment key
-
countBySegmentsExperimentKey
Returns the number of segments experiments where segmentsExperimentKey = ?.- Parameters:
segmentsExperimentKey- the segments experiment key- Returns:
- the number of matching segments experiments
-
findByG_S
public static SegmentsExperiment findByG_S(long groupId, String segmentsExperimentKey) throws NoSuchExperimentException Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or throws aNoSuchExperimentExceptionif it could not be found.- Parameters:
groupId- the group IDsegmentsExperimentKey- the segments experiment key- Returns:
- the matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByG_S
Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDsegmentsExperimentKey- the segments experiment key- Returns:
- the matching segments experiment, or
nullif a matching segments experiment could not be found
-
fetchByG_S
public static SegmentsExperiment fetchByG_S(long groupId, String segmentsExperimentKey, boolean useFinderCache) Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDsegmentsExperimentKey- the segments experiment keyuseFinderCache- whether to use the finder cache- Returns:
- the matching segments experiment, or
nullif a matching segments experiment could not be found
-
removeByG_S
public static SegmentsExperiment removeByG_S(long groupId, String segmentsExperimentKey) throws NoSuchExperimentException Removes the segments experiment where groupId = ? and segmentsExperimentKey = ? from the database.- Parameters:
groupId- the group IDsegmentsExperimentKey- the segments experiment key- Returns:
- the segments experiment that was removed
- Throws:
NoSuchExperimentException
-
countByG_S
Returns the number of segments experiments where groupId = ? and segmentsExperimentKey = ?.- Parameters:
groupId- the group IDsegmentsExperimentKey- the segments experiment key- Returns:
- the number of matching segments experiments
-
findByG_S_P
public static SegmentsExperiment findByG_S_P(long groupId, long segmentsExperienceId, long plid) throws NoSuchExperimentException Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or throws aNoSuchExperimentExceptionif it could not be found.- Parameters:
groupId- the group IDsegmentsExperienceId- the segments experience IDplid- the plid- Returns:
- the matching segments experiment
- Throws:
NoSuchExperimentException- if a matching segments experiment could not be foundNoSuchExperimentException
-
fetchByG_S_P
Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDsegmentsExperienceId- the segments experience IDplid- the plid- Returns:
- the matching segments experiment, or
nullif a matching segments experiment could not be found
-
fetchByG_S_P
public static SegmentsExperiment fetchByG_S_P(long groupId, long segmentsExperienceId, long plid, boolean useFinderCache) Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDsegmentsExperienceId- the segments experience IDplid- the pliduseFinderCache- whether to use the finder cache- Returns:
- the matching segments experiment, or
nullif a matching segments experiment could not be found
-
removeByG_S_P
public static SegmentsExperiment removeByG_S_P(long groupId, long segmentsExperienceId, long plid) throws NoSuchExperimentException Removes the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? from the database.- Parameters:
groupId- the group IDsegmentsExperienceId- the segments experience IDplid- the plid- Returns:
- the segments experiment that was removed
- Throws:
NoSuchExperimentException
-
countByG_S_P
public static int countByG_S_P(long groupId, long segmentsExperienceId, long plid) Returns the number of segments experiments where groupId = ? and segmentsExperienceId = ? and plid = ?.- Parameters:
groupId- the group IDsegmentsExperienceId- the segments experience IDplid- the plid- Returns:
- the number of matching segments experiments
-
cacheResult
Caches the segments experiment in the entity cache if it is enabled.- Parameters:
segmentsExperiment- the segments experiment
-
cacheResult
Caches the segments experiments in the entity cache if it is enabled.- Parameters:
segmentsExperiments- the segments experiments
-
create
Creates a new segments experiment with the primary key. Does not add the segments experiment to the database.- Parameters:
segmentsExperimentId- the primary key for the new segments experiment- Returns:
- the new segments experiment
-
remove
Removes the segments experiment with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
segmentsExperimentId- the primary key of the segments experiment- Returns:
- the segments experiment that was removed
- Throws:
NoSuchExperimentException- if a segments experiment with the primary key could not be foundNoSuchExperimentException
-
updateImpl
-
findByPrimaryKey
public static SegmentsExperiment findByPrimaryKey(long segmentsExperimentId) throws NoSuchExperimentException Returns the segments experiment with the primary key or throws aNoSuchExperimentExceptionif it could not be found.- Parameters:
segmentsExperimentId- the primary key of the segments experiment- Returns:
- the segments experiment
- Throws:
NoSuchExperimentException- if a segments experiment with the primary key could not be foundNoSuchExperimentException
-
fetchByPrimaryKey
Returns the segments experiment with the primary key or returnsnullif it could not be found.- Parameters:
segmentsExperimentId- the primary key of the segments experiment- Returns:
- the segments experiment, or
nullif a segments experiment with the primary key could not be found
-
findAll
Returns all the segments experiments.- Returns:
- the segments experiments
-
findAll
Returns a range of all the segments experiments.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
start- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)- Returns:
- the range of segments experiments
-
findAll
public static List<SegmentsExperiment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
start- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of segments experiments
-
findAll
public static List<SegmentsExperiment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSegmentsExperimentModelImpl.- Parameters:
start- the lower bound of the range of segments experimentsend- the upper bound of the range of segments experiments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of segments experiments
-
removeAll
public static void removeAll()Removes all the segments experiments from the database. -
countAll
public static int countAll()Returns the number of segments experiments.- Returns:
- the number of segments experiments
-
getPersistence
-
setPersistence
-