@ProviderType public interface RatingsEntryPersistence extends BasePersistence<RatingsEntry>, CTPersistence<RatingsEntry>
Caching information and settings can be found in portal.properties
RatingsEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<RatingsEntry> ratingsEntries)
Caches the ratings entries in the entity cache if it is enabled.
|
void |
cacheResult(RatingsEntry ratingsEntry)
Caches the ratings entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ratings entries.
|
int |
countByC_C_S(long classNameId,
long classPK,
double score)
Returns the number of ratings entries where classNameId = ? and classPK = ? and score = ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of ratings entries where classNameId = ? and classPK = ?.
|
int |
countByU_C_C(long userId,
long classNameId,
long classPK)
Returns the number of ratings entries where userId = ? and classNameId = ? and classPK = ?.
|
int |
countByU_C_C(long userId,
long classNameId,
long[] classPKs)
Returns the number of ratings entries where userId = ? and classNameId = ? and classPK = any ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of ratings entries where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of ratings entries where uuid = ?.
|
RatingsEntry |
create(long entryId)
Creates a new ratings entry with the primary key.
|
RatingsEntry |
fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the first ratings entry in the ordered set where classNameId = ? and classPK = ?.
|
RatingsEntry |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the last ratings entry in the ordered set where classNameId = ? and classPK = ?.
|
RatingsEntry |
fetchByC_C_S_First(long classNameId,
long classPK,
double score,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the first ratings entry in the ordered set where classNameId = ? and classPK = ? and score = ?.
|
RatingsEntry |
fetchByC_C_S_Last(long classNameId,
long classPK,
double score,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the last ratings entry in the ordered set where classNameId = ? and classPK = ? and score = ?.
|
RatingsEntry |
fetchByPrimaryKey(long entryId)
Returns the ratings entry with the primary key or returns
null if it could not be found. |
RatingsEntry |
fetchByU_C_C(long userId,
long classNameId,
long classPK)
Returns the ratings entry where userId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
RatingsEntry |
fetchByU_C_C(long userId,
long classNameId,
long classPK,
boolean useFinderCache)
Returns the ratings entry where userId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
RatingsEntry |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the first ratings entry in the ordered set where uuid = ? and companyId = ?.
|
RatingsEntry |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the last ratings entry in the ordered set where uuid = ? and companyId = ?.
|
RatingsEntry |
fetchByUuid_First(String uuid,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the first ratings entry in the ordered set where uuid = ?.
|
RatingsEntry |
fetchByUuid_Last(String uuid,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the last ratings entry in the ordered set where uuid = ?.
|
List<RatingsEntry> |
findAll()
Returns all the ratings entries.
|
List<RatingsEntry> |
findAll(int start,
int end)
Returns a range of all the ratings entries.
|
List<RatingsEntry> |
findAll(int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator)
Returns an ordered range of all the ratings entries.
|
List<RatingsEntry> |
findAll(int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ratings entries.
|
RatingsEntry |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the first ratings entry in the ordered set where classNameId = ? and classPK = ?.
|
RatingsEntry |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the last ratings entry in the ordered set where classNameId = ? and classPK = ?.
|
RatingsEntry[] |
findByC_C_PrevAndNext(long entryId,
long classNameId,
long classPK,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the ratings entries before and after the current ratings entry in the ordered set where classNameId = ? and classPK = ?.
|
RatingsEntry |
findByC_C_S_First(long classNameId,
long classPK,
double score,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the first ratings entry in the ordered set where classNameId = ? and classPK = ? and score = ?.
|
RatingsEntry |
findByC_C_S_Last(long classNameId,
long classPK,
double score,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the last ratings entry in the ordered set where classNameId = ? and classPK = ? and score = ?.
|
RatingsEntry[] |
findByC_C_S_PrevAndNext(long entryId,
long classNameId,
long classPK,
double score,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the ratings entries before and after the current ratings entry in the ordered set where classNameId = ? and classPK = ? and score = ?.
|
List<RatingsEntry> |
findByC_C_S(long classNameId,
long classPK,
double score)
Returns all the ratings entries where classNameId = ? and classPK = ? and score = ?.
|
List<RatingsEntry> |
findByC_C_S(long classNameId,
long classPK,
double score,
int start,
int end)
Returns a range of all the ratings entries where classNameId = ? and classPK = ? and score = ?.
|
List<RatingsEntry> |
findByC_C_S(long classNameId,
long classPK,
double score,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator)
Returns an ordered range of all the ratings entries where classNameId = ? and classPK = ? and score = ?.
|
List<RatingsEntry> |
findByC_C_S(long classNameId,
long classPK,
double score,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ratings entries where classNameId = ? and classPK = ? and score = ?.
|
List<RatingsEntry> |
findByC_C(long classNameId,
long classPK)
Returns all the ratings entries where classNameId = ? and classPK = ?.
|
List<RatingsEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the ratings entries where classNameId = ? and classPK = ?.
|
List<RatingsEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator)
Returns an ordered range of all the ratings entries where classNameId = ? and classPK = ?.
|
List<RatingsEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ratings entries where classNameId = ? and classPK = ?.
|
RatingsEntry |
findByPrimaryKey(long entryId)
Returns the ratings entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
RatingsEntry |
findByU_C_C(long userId,
long classNameId,
long classPK)
Returns the ratings entry where userId = ? and classNameId = ? and classPK = ? or throws a
NoSuchEntryException if it could not be found. |
List<RatingsEntry> |
findByU_C_C(long userId,
long classNameId,
long[] classPKs)
Returns all the ratings entries where userId = ? and classNameId = ? and classPK = any ?.
|
List<RatingsEntry> |
findByU_C_C(long userId,
long classNameId,
long[] classPKs,
int start,
int end)
Returns a range of all the ratings entries where userId = ? and classNameId = ? and classPK = any ?.
|
List<RatingsEntry> |
findByU_C_C(long userId,
long classNameId,
long[] classPKs,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator)
Returns an ordered range of all the ratings entries where userId = ? and classNameId = ? and classPK = any ?.
|
List<RatingsEntry> |
findByU_C_C(long userId,
long classNameId,
long[] classPKs,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ratings entries where userId = ? and classNameId = ? and classPK = ?, optionally using the finder cache.
|
RatingsEntry |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the first ratings entry in the ordered set where uuid = ? and companyId = ?.
|
RatingsEntry |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the last ratings entry in the ordered set where uuid = ? and companyId = ?.
|
RatingsEntry[] |
findByUuid_C_PrevAndNext(long entryId,
String uuid,
long companyId,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the ratings entries before and after the current ratings entry in the ordered set where uuid = ? and companyId = ?.
|
List<RatingsEntry> |
findByUuid_C(String uuid,
long companyId)
Returns all the ratings entries where uuid = ? and companyId = ?.
|
List<RatingsEntry> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the ratings entries where uuid = ? and companyId = ?.
|
List<RatingsEntry> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator)
Returns an ordered range of all the ratings entries where uuid = ? and companyId = ?.
|
List<RatingsEntry> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ratings entries where uuid = ? and companyId = ?.
|
RatingsEntry |
findByUuid_First(String uuid,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the first ratings entry in the ordered set where uuid = ?.
|
RatingsEntry |
findByUuid_Last(String uuid,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the last ratings entry in the ordered set where uuid = ?.
|
RatingsEntry[] |
findByUuid_PrevAndNext(long entryId,
String uuid,
OrderByComparator<RatingsEntry> orderByComparator)
Returns the ratings entries before and after the current ratings entry in the ordered set where uuid = ?.
|
List<RatingsEntry> |
findByUuid(String uuid)
Returns all the ratings entries where uuid = ?.
|
List<RatingsEntry> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the ratings entries where uuid = ?.
|
List<RatingsEntry> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator)
Returns an ordered range of all the ratings entries where uuid = ?.
|
List<RatingsEntry> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<RatingsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ratings entries where uuid = ?.
|
RatingsEntry |
remove(long entryId)
Removes the ratings entry with the primary key from the database.
|
void |
removeAll()
Removes all the ratings entries from the database.
|
void |
removeByC_C_S(long classNameId,
long classPK,
double score)
Removes all the ratings entries where classNameId = ? and classPK = ? and score = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the ratings entries where classNameId = ? and classPK = ? from the database.
|
RatingsEntry |
removeByU_C_C(long userId,
long classNameId,
long classPK)
Removes the ratings entry where userId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the ratings entries where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the ratings entries where uuid = ? from the database.
|
RatingsEntry |
updateImpl(RatingsEntry ratingsEntry) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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, setDataSource, unregisterListener, update, update
List<RatingsEntry> findByUuid(String uuid)
uuid
- the uuidList<RatingsEntry> findByUuid(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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)List<RatingsEntry> findByUuid(String uuid, int start, int end, OrderByComparator<RatingsEntry> 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RatingsEntry> findByUuid(String uuid, int start, int end, OrderByComparator<RatingsEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheRatingsEntry findByUuid_First(String uuid, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByUuid_First(String uuid, OrderByComparator<RatingsEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ratings entry could not be foundRatingsEntry findByUuid_Last(String uuid, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByUuid_Last(String uuid, OrderByComparator<RatingsEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ratings entry could not be foundRatingsEntry[] findByUuid_PrevAndNext(long entryId, String uuid, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current ratings entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a ratings entry with the primary key could not be foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidList<RatingsEntry> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<RatingsEntry> findByUuid_C(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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)List<RatingsEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<RatingsEntry> 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RatingsEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<RatingsEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheRatingsEntry findByUuid_C_First(String uuid, long companyId, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<RatingsEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ratings entry could not be foundRatingsEntry findByUuid_C_Last(String uuid, long companyId, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<RatingsEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ratings entry could not be foundRatingsEntry[] findByUuid_C_PrevAndNext(long entryId, String uuid, long companyId, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current ratings entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a ratings entry with the primary key could not be foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<RatingsEntry> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkList<RatingsEntry> findByC_C(long classNameId, long classPK, 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)List<RatingsEntry> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<RatingsEntry> 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RatingsEntry> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<RatingsEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheRatingsEntry findByC_C_First(long classNameId, long classPK, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByC_C_First(long classNameId, long classPK, OrderByComparator<RatingsEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ratings entry could not be foundRatingsEntry findByC_C_Last(long classNameId, long classPK, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByC_C_Last(long classNameId, long classPK, OrderByComparator<RatingsEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ratings entry could not be foundRatingsEntry[] findByC_C_PrevAndNext(long entryId, long classNameId, long classPK, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current ratings entryclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a ratings entry with the primary key could not be foundvoid removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkint countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkList<RatingsEntry> findByU_C_C(long userId, long classNameId, long[] classPKs)
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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
userId
- the user IDclassNameId
- the class name IDclassPKs
- the class pksList<RatingsEntry> findByU_C_C(long userId, long classNameId, long[] classPKs, 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
userId
- the user IDclassNameId
- the class name IDclassPKs
- the class pksstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)List<RatingsEntry> findByU_C_C(long userId, long classNameId, long[] classPKs, int start, int end, OrderByComparator<RatingsEntry> 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
userId
- the user IDclassNameId
- the class name IDclassPKs
- the class pksstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RatingsEntry> findByU_C_C(long userId, long classNameId, long[] classPKs, int start, int end, OrderByComparator<RatingsEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheRatingsEntry findByU_C_C(long userId, long classNameId, long classPK) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkNoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByU_C_C(long userId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.userId
- the user IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching ratings entry could not be foundRatingsEntry fetchByU_C_C(long userId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching ratings entry could not be foundRatingsEntry removeByU_C_C(long userId, long classNameId, long classPK) throws NoSuchEntryException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkNoSuchEntryException
int countByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkint countByU_C_C(long userId, long classNameId, long[] classPKs)
userId
- the user IDclassNameId
- the class name IDclassPKs
- the class pksList<RatingsEntry> findByC_C_S(long classNameId, long classPK, double score)
classNameId
- the class name IDclassPK
- the class pkscore
- the scoreList<RatingsEntry> findByC_C_S(long classNameId, long classPK, double score, 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkscore
- the scorestart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)List<RatingsEntry> findByC_C_S(long classNameId, long classPK, double score, int start, int end, OrderByComparator<RatingsEntry> 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkscore
- the scorestart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RatingsEntry> findByC_C_S(long classNameId, long classPK, double score, int start, int end, OrderByComparator<RatingsEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkscore
- the scorestart
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheRatingsEntry findByC_C_S_First(long classNameId, long classPK, double score, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkscore
- the scoreorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByC_C_S_First(long classNameId, long classPK, double score, OrderByComparator<RatingsEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkscore
- the scoreorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ratings entry could not be foundRatingsEntry findByC_C_S_Last(long classNameId, long classPK, double score, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkscore
- the scoreorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching ratings entry could not be foundRatingsEntry fetchByC_C_S_Last(long classNameId, long classPK, double score, OrderByComparator<RatingsEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkscore
- the scoreorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ratings entry could not be foundRatingsEntry[] findByC_C_S_PrevAndNext(long entryId, long classNameId, long classPK, double score, OrderByComparator<RatingsEntry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current ratings entryclassNameId
- the class name IDclassPK
- the class pkscore
- the scoreorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a ratings entry with the primary key could not be foundvoid removeByC_C_S(long classNameId, long classPK, double score)
classNameId
- the class name IDclassPK
- the class pkscore
- the scoreint countByC_C_S(long classNameId, long classPK, double score)
classNameId
- the class name IDclassPK
- the class pkscore
- the scorevoid cacheResult(RatingsEntry ratingsEntry)
ratingsEntry
- the ratings entryvoid cacheResult(List<RatingsEntry> ratingsEntries)
ratingsEntries
- the ratings entriesRatingsEntry create(long entryId)
entryId
- the primary key for the new ratings entryRatingsEntry remove(long entryId) throws NoSuchEntryException
entryId
- the primary key of the ratings entryNoSuchEntryException
- if a ratings entry with the primary key could not be foundRatingsEntry updateImpl(RatingsEntry ratingsEntry)
RatingsEntry findByPrimaryKey(long entryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.entryId
- the primary key of the ratings entryNoSuchEntryException
- if a ratings entry with the primary key could not be foundRatingsEntry fetchByPrimaryKey(long entryId)
null
if it could not be found.entryId
- the primary key of the ratings entrynull
if a ratings entry with the primary key could not be foundList<RatingsEntry> findAll()
List<RatingsEntry> 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
start
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)List<RatingsEntry> findAll(int start, int end, OrderByComparator<RatingsEntry> 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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
start
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RatingsEntry> findAll(int start, int end, OrderByComparator<RatingsEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RatingsEntryModelImpl
.
start
- the lower bound of the range of ratings entriesend
- the upper bound of the range of ratings entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()