@ProviderType public interface ScorePointPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ScorePoint>
Caching information and settings can be found in portal.properties
com.liferay.content.targeting.rule.score.points.service.persistence.impl.ScorePointPersistenceImpl
,
ScorePointUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ScorePoint> scorePoints)
Caches the score points in the entity cache if it is enabled.
|
void |
cacheResult(ScorePoint scorePoint)
Caches the score point in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of score points.
|
int |
countByC_U(long anonymousUserId,
long userSegmentId)
Returns the number of score points where anonymousUserId = ? and userSegmentId = ?.
|
int |
countByUserSegmentId(long userSegmentId)
Returns the number of score points where userSegmentId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of score points where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of score points where uuid = ?.
|
ScorePoint |
create(long scorePointId)
Creates a new score point with the primary key.
|
ScorePoint |
fetchByC_U(long anonymousUserId,
long userSegmentId)
Returns the score point where anonymousUserId = ? and userSegmentId = ? or returns
null if it could not be found. |
ScorePoint |
fetchByC_U(long anonymousUserId,
long userSegmentId,
boolean retrieveFromCache)
Returns the score point where anonymousUserId = ? and userSegmentId = ? or returns
null if it could not be found, optionally using the finder cache. |
ScorePoint |
fetchByPrimaryKey(long scorePointId)
Returns the score point with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,ScorePoint> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
ScorePoint |
fetchByUserSegmentId_First(long userSegmentId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the first score point in the ordered set where userSegmentId = ?.
|
ScorePoint |
fetchByUserSegmentId_Last(long userSegmentId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the last score point in the ordered set where userSegmentId = ?.
|
ScorePoint |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the first score point in the ordered set where uuid = ? and companyId = ?.
|
ScorePoint |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the last score point in the ordered set where uuid = ? and companyId = ?.
|
ScorePoint |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the first score point in the ordered set where uuid = ?.
|
ScorePoint |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the last score point in the ordered set where uuid = ?.
|
java.util.List<ScorePoint> |
findAll()
Returns all the score points.
|
java.util.List<ScorePoint> |
findAll(int start,
int end)
Returns a range of all the score points.
|
java.util.List<ScorePoint> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns an ordered range of all the score points.
|
java.util.List<ScorePoint> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the score points.
|
ScorePoint |
findByC_U(long anonymousUserId,
long userSegmentId)
Returns the score point where anonymousUserId = ? and userSegmentId = ? or throws a
NoSuchScorePointException if it could not be found. |
ScorePoint |
findByPrimaryKey(long scorePointId)
Returns the score point with the primary key or throws a
NoSuchScorePointException if it could not be found. |
ScorePoint |
findByUserSegmentId_First(long userSegmentId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the first score point in the ordered set where userSegmentId = ?.
|
ScorePoint |
findByUserSegmentId_Last(long userSegmentId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the last score point in the ordered set where userSegmentId = ?.
|
ScorePoint[] |
findByUserSegmentId_PrevAndNext(long scorePointId,
long userSegmentId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the score points before and after the current score point in the ordered set where userSegmentId = ?.
|
java.util.List<ScorePoint> |
findByUserSegmentId(long userSegmentId)
Returns all the score points where userSegmentId = ?.
|
java.util.List<ScorePoint> |
findByUserSegmentId(long userSegmentId,
int start,
int end)
Returns a range of all the score points where userSegmentId = ?.
|
java.util.List<ScorePoint> |
findByUserSegmentId(long userSegmentId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns an ordered range of all the score points where userSegmentId = ?.
|
java.util.List<ScorePoint> |
findByUserSegmentId(long userSegmentId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the score points where userSegmentId = ?.
|
ScorePoint |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the first score point in the ordered set where uuid = ? and companyId = ?.
|
ScorePoint |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the last score point in the ordered set where uuid = ? and companyId = ?.
|
ScorePoint[] |
findByUuid_C_PrevAndNext(long scorePointId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the score points before and after the current score point in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ScorePoint> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the score points where uuid = ? and companyId = ?.
|
java.util.List<ScorePoint> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the score points where uuid = ? and companyId = ?.
|
java.util.List<ScorePoint> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns an ordered range of all the score points where uuid = ? and companyId = ?.
|
java.util.List<ScorePoint> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the score points where uuid = ? and companyId = ?.
|
ScorePoint |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the first score point in the ordered set where uuid = ?.
|
ScorePoint |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the last score point in the ordered set where uuid = ?.
|
ScorePoint[] |
findByUuid_PrevAndNext(long scorePointId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns the score points before and after the current score point in the ordered set where uuid = ?.
|
java.util.List<ScorePoint> |
findByUuid(java.lang.String uuid)
Returns all the score points where uuid = ?.
|
java.util.List<ScorePoint> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the score points where uuid = ?.
|
java.util.List<ScorePoint> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Returns an ordered range of all the score points where uuid = ?.
|
java.util.List<ScorePoint> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the score points where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
ScorePoint |
remove(long scorePointId)
Removes the score point with the primary key from the database.
|
void |
removeAll()
Removes all the score points from the database.
|
ScorePoint |
removeByC_U(long anonymousUserId,
long userSegmentId)
Removes the score point where anonymousUserId = ? and userSegmentId = ? from the database.
|
void |
removeByUserSegmentId(long userSegmentId)
Removes all the score points where userSegmentId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the score points where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the score points where uuid = ? from the database.
|
ScorePoint |
updateImpl(ScorePoint scorePoint) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ScorePoint> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ScorePoint> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)java.util.List<ScorePoint> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ScorePoint> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheScorePoint findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a matching score point could not be foundScorePoint fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching score point could not be foundScorePoint findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a matching score point could not be foundScorePoint fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching score point could not be foundScorePoint[] findByUuid_PrevAndNext(long scorePointId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
scorePointId
- the primary key of the current score pointuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a score point with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ScorePoint> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ScorePoint> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)java.util.List<ScorePoint> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ScorePoint> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheScorePoint findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a matching score point could not be foundScorePoint fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching score point could not be foundScorePoint findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a matching score point could not be foundScorePoint fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching score point could not be foundScorePoint[] findByUuid_C_PrevAndNext(long scorePointId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
scorePointId
- the primary key of the current score pointuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a score point with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ScorePoint> findByUserSegmentId(long userSegmentId)
userSegmentId
- the user segment IDjava.util.List<ScorePoint> findByUserSegmentId(long userSegmentId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userSegmentId
- the user segment IDstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)java.util.List<ScorePoint> findByUserSegmentId(long userSegmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userSegmentId
- the user segment IDstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ScorePoint> findByUserSegmentId(long userSegmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userSegmentId
- the user segment IDstart
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheScorePoint findByUserSegmentId_First(long userSegmentId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
userSegmentId
- the user segment IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a matching score point could not be foundScorePoint fetchByUserSegmentId_First(long userSegmentId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
userSegmentId
- the user segment IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching score point could not be foundScorePoint findByUserSegmentId_Last(long userSegmentId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
userSegmentId
- the user segment IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a matching score point could not be foundScorePoint fetchByUserSegmentId_Last(long userSegmentId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
userSegmentId
- the user segment IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching score point could not be foundScorePoint[] findByUserSegmentId_PrevAndNext(long scorePointId, long userSegmentId, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator) throws NoSuchScorePointException
scorePointId
- the primary key of the current score pointuserSegmentId
- the user segment IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchScorePointException
- if a score point with the primary key could not be foundvoid removeByUserSegmentId(long userSegmentId)
userSegmentId
- the user segment IDint countByUserSegmentId(long userSegmentId)
userSegmentId
- the user segment IDScorePoint findByC_U(long anonymousUserId, long userSegmentId) throws NoSuchScorePointException
NoSuchScorePointException
if it could not be found.anonymousUserId
- the anonymous user IDuserSegmentId
- the user segment IDNoSuchScorePointException
- if a matching score point could not be foundScorePoint fetchByC_U(long anonymousUserId, long userSegmentId)
null
if it could not be found. Uses the finder cache.anonymousUserId
- the anonymous user IDuserSegmentId
- the user segment IDnull
if a matching score point could not be foundScorePoint fetchByC_U(long anonymousUserId, long userSegmentId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.anonymousUserId
- the anonymous user IDuserSegmentId
- the user segment IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching score point could not be foundScorePoint removeByC_U(long anonymousUserId, long userSegmentId) throws NoSuchScorePointException
anonymousUserId
- the anonymous user IDuserSegmentId
- the user segment IDNoSuchScorePointException
int countByC_U(long anonymousUserId, long userSegmentId)
anonymousUserId
- the anonymous user IDuserSegmentId
- the user segment IDvoid cacheResult(ScorePoint scorePoint)
scorePoint
- the score pointvoid cacheResult(java.util.List<ScorePoint> scorePoints)
scorePoints
- the score pointsScorePoint create(long scorePointId)
scorePointId
- the primary key for the new score pointScorePoint remove(long scorePointId) throws NoSuchScorePointException
scorePointId
- the primary key of the score pointNoSuchScorePointException
- if a score point with the primary key could not be foundScorePoint updateImpl(ScorePoint scorePoint)
ScorePoint findByPrimaryKey(long scorePointId) throws NoSuchScorePointException
NoSuchScorePointException
if it could not be found.scorePointId
- the primary key of the score pointNoSuchScorePointException
- if a score point with the primary key could not be foundScorePoint fetchByPrimaryKey(long scorePointId)
null
if it could not be found.scorePointId
- the primary key of the score pointnull
if a score point with the primary key could not be foundjava.util.Map<java.io.Serializable,ScorePoint> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<ScorePoint>
java.util.List<ScorePoint> findAll()
java.util.List<ScorePoint> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)java.util.List<ScorePoint> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ScorePoint> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ScorePoint> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ScorePointModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of score pointsend
- the upper bound of the range of score points (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<ScorePoint>