Interface SegmentsExperimentPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SegmentsExperiment>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperiment>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(SegmentsExperiment segmentsExperiment) Caches the segments experiment in the entity cache if it is enabled.void
cacheResult
(List<SegmentsExperiment> segmentsExperiments) Caches the segments experiments in the entity cache if it is enabled.int
countAll()
Returns the number of segments experiments.int
countByG_S
(long groupId, String segmentsExperimentKey) Returns the number of segments experiments where groupId = ? and segmentsExperimentKey = ?.int
countByG_S_P
(long groupId, long segmentsExperienceId, long plid) Returns the number of segments experiments where groupId = ? and segmentsExperienceId = ? and plid = ?.int
countByGroupId
(long groupId) Returns the number of segments experiments where groupId = ?.int
countBySegmentsExperimentKey
(String segmentsExperimentKey) Returns the number of segments experiments where segmentsExperimentKey = ?.int
countByUuid
(String uuid) Returns the number of segments experiments where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of segments experiments where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of segments experiments where uuid = ? and groupId = ?.create
(long segmentsExperimentId) Creates a new segments experiment with the primary key.fetchByG_S
(long groupId, String segmentsExperimentKey) Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returnsnull
if it could not be found.fetchByG_S
(long groupId, String segmentsExperimentKey, boolean useFinderCache) Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_S_P
(long groupId, long segmentsExperienceId, long plid) Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returnsnull
if it could not be found.fetchByG_S_P
(long groupId, long segmentsExperienceId, long plid, boolean useFinderCache) Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where groupId = ?.fetchByPrimaryKey
(long segmentsExperimentId) Returns the segments experiment with the primary key or returnsnull
if it could not be found.fetchBySegmentsExperimentKey_First
(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.fetchBySegmentsExperimentKey_Last
(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.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 = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the segments experiment where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the segments experiment where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where uuid = ?.int
filterCountByGroupId
(long groupId) Returns the number of segments experiments that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId) Returns all the segments experiments that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the segments experiments that the user has permission to view where groupId = ?.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 = ?.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 = ?.findAll()
Returns all the segments experiments.findAll
(int start, int end) Returns a range of all the segments experiments.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns an ordered range of all the segments experiments.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments experiments.Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or throws aNoSuchExperimentException
if it could not be found.findByG_S_P
(long groupId, long segmentsExperienceId, long plid) Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or throws aNoSuchExperimentException
if it could not be found.findByGroupId
(long groupId) Returns all the segments experiments where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the segments experiments where groupId = ?.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 = ?.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 = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long segmentsExperimentId) Returns the segments experiment with the primary key or throws aNoSuchExperimentException
if it could not be found.findBySegmentsExperimentKey
(String segmentsExperimentKey) Returns all the segments experiments where segmentsExperimentKey = ?.findBySegmentsExperimentKey
(String segmentsExperimentKey, int start, int end) Returns a range of all the segments experiments where segmentsExperimentKey = ?.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 = ?.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 = ?.findBySegmentsExperimentKey_First
(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.findBySegmentsExperimentKey_Last
(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.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 = ?.findByUuid
(String uuid) Returns all the segments experiments where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the segments experiments where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the segments experiments where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the segments experiments where uuid = ? and companyId = ?.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 = ?.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 = ?.findByUuid_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 = ?.findByUuid_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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the first segments experiment in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the segments experiment where uuid = ? and groupId = ? or throws aNoSuchExperimentException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) Returns the last segments experiment in the ordered set where uuid = ?.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 = ?.remove
(long segmentsExperimentId) Removes the segments experiment with the primary key from the database.void
Removes all the segments experiments from the database.removeByG_S
(long groupId, String segmentsExperimentKey) Removes the segments experiment where groupId = ? and segmentsExperimentKey = ? from the database.removeByG_S_P
(long groupId, long segmentsExperienceId, long plid) Removes the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? from the database.void
removeByGroupId
(long groupId) Removes all the segments experiments where groupId = ? from the database.void
removeBySegmentsExperimentKey
(String segmentsExperimentKey) Removes all the segments experiments where segmentsExperimentKey = ? from the database.void
removeByUuid
(String uuid) Removes all the segments experiments where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the segments experiments where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the segments experiment where uuid = ? and groupId = ? from the database.updateImpl
(SegmentsExperiment segmentsExperiment) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 found
-
fetchByUuid_First
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
null
if a matching segments experiment could not be found
-
findByUuid_Last
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 found
-
fetchByUuid_Last
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
null
if a matching segments experiment could not be found
-
findByUuid_PrevAndNext
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 found
-
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
Returns the segments experiment where uuid = ? and groupId = ? or throws aNoSuchExperimentException
if 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 found
-
fetchByUUID_G
Returns the segments experiment where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching segments experiment, or
null
if a matching segments experiment could not be found
-
fetchByUUID_G
Returns the segments experiment where uuid = ? and groupId = ? or returnsnull
if 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
null
if a matching segments experiment could not be found
-
removeByUUID_G
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
Returns a range of all the segments experiments where uuid = ? and companyId = ?.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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 found
-
fetchByUuid_C_First
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
null
if a matching segments experiment could not be found
-
findByUuid_C_Last
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 found
-
fetchByUuid_C_Last
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
null
if a matching segments experiment could not be found
-
findByUuid_C_PrevAndNext
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 found
-
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 found
-
fetchByGroupId_First
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
null
if a matching segments experiment could not be found
-
findByGroupId_Last
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 found
-
fetchByGroupId_Last
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
null
if a matching segments experiment could not be found
-
findByGroupId_PrevAndNext
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 found
-
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the segments experiments where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
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
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
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 found
-
fetchBySegmentsExperimentKey_First
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
null
if a matching segments experiment could not be found
-
findBySegmentsExperimentKey_Last
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 found
-
fetchBySegmentsExperimentKey_Last
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
null
if a matching segments experiment could not be found
-
findBySegmentsExperimentKey_PrevAndNext
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 found
-
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
SegmentsExperiment findByG_S(long groupId, String segmentsExperimentKey) throws NoSuchExperimentException Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or throws aNoSuchExperimentException
if 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 found
-
fetchByG_S
Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDsegmentsExperimentKey
- the segments experiment key- Returns:
- the matching segments experiment, or
null
if a matching segments experiment could not be found
-
fetchByG_S
Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returnsnull
if 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
null
if a matching segments experiment could not be found
-
removeByG_S
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
SegmentsExperiment findByG_S_P(long groupId, long segmentsExperienceId, long plid) throws NoSuchExperimentException Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or throws aNoSuchExperimentException
if 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 found
-
fetchByG_S_P
Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returnsnull
if 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
null
if a matching segments experiment could not be found
-
fetchByG_S_P
SegmentsExperiment fetchByG_S_P(long groupId, long segmentsExperienceId, long plid, boolean useFinderCache) Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returnsnull
if 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
null
if a matching segments experiment could not be found
-
removeByG_S_P
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
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 found
-
updateImpl
-
findByPrimaryKey
Returns the segments experiment with the primary key or throws aNoSuchExperimentException
if 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 found
-
fetchByPrimaryKey
Returns the segments experiment with the primary key or returnsnull
if it could not be found.- Parameters:
segmentsExperimentId
- the primary key of the segments experiment- Returns:
- the segments experiment, or
null
if a segments experiment with the primary key could not be found
-
findAll
List<SegmentsExperiment> 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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
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 - 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
toQueryUtil#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 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
void removeAll()Removes all the segments experiments from the database. -
countAll
int countAll()Returns the number of segments experiments.- Returns:
- the number of segments experiments
-