@ProviderType public interface ReadingTimeEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ReadingTimeEntry>
Caching information and settings can be found in portal.properties
ReadingTimeEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ReadingTimeEntry> readingTimeEntries)
Caches the reading time entries in the entity cache if it is enabled.
|
void |
cacheResult(ReadingTimeEntry readingTimeEntry)
Caches the reading time entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of reading time entries.
|
int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of reading time entries where groupId = ? and classNameId = ? and classPK = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of reading time entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of reading time entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of reading time entries where uuid = ?.
|
ReadingTimeEntry |
create(long readingTimeEntryId)
Creates a new reading time entry with the primary key.
|
ReadingTimeEntry |
fetchByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the reading time entry where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
ReadingTimeEntry |
fetchByG_C_C(long groupId,
long classNameId,
long classPK,
boolean useFinderCache)
Returns the reading time entry where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
ReadingTimeEntry |
fetchByPrimaryKey(long readingTimeEntryId)
Returns the reading time entry with the primary key or returns
null if it could not be found. |
ReadingTimeEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the first reading time entry in the ordered set where uuid = ? and companyId = ?.
|
ReadingTimeEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the last reading time entry in the ordered set where uuid = ? and companyId = ?.
|
ReadingTimeEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the first reading time entry in the ordered set where uuid = ?.
|
ReadingTimeEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the reading time entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
ReadingTimeEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the reading time entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
ReadingTimeEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the last reading time entry in the ordered set where uuid = ?.
|
java.util.List<ReadingTimeEntry> |
findAll()
Returns all the reading time entries.
|
java.util.List<ReadingTimeEntry> |
findAll(int start,
int end)
Returns a range of all the reading time entries.
|
java.util.List<ReadingTimeEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns an ordered range of all the reading time entries.
|
java.util.List<ReadingTimeEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the reading time entries.
|
ReadingTimeEntry |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the reading time entry where groupId = ? and classNameId = ? and classPK = ? or throws a
NoSuchEntryException if it could not be found. |
ReadingTimeEntry |
findByPrimaryKey(long readingTimeEntryId)
Returns the reading time entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
ReadingTimeEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the first reading time entry in the ordered set where uuid = ? and companyId = ?.
|
ReadingTimeEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the last reading time entry in the ordered set where uuid = ? and companyId = ?.
|
ReadingTimeEntry[] |
findByUuid_C_PrevAndNext(long readingTimeEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the reading time entries before and after the current reading time entry in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ReadingTimeEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the reading time entries where uuid = ? and companyId = ?.
|
java.util.List<ReadingTimeEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the reading time entries where uuid = ? and companyId = ?.
|
java.util.List<ReadingTimeEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns an ordered range of all the reading time entries where uuid = ? and companyId = ?.
|
java.util.List<ReadingTimeEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the reading time entries where uuid = ? and companyId = ?.
|
ReadingTimeEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the first reading time entry in the ordered set where uuid = ?.
|
ReadingTimeEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the reading time entry where uuid = ? and groupId = ? or throws a
NoSuchEntryException if it could not be found. |
ReadingTimeEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the last reading time entry in the ordered set where uuid = ?.
|
ReadingTimeEntry[] |
findByUuid_PrevAndNext(long readingTimeEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns the reading time entries before and after the current reading time entry in the ordered set where uuid = ?.
|
java.util.List<ReadingTimeEntry> |
findByUuid(java.lang.String uuid)
Returns all the reading time entries where uuid = ?.
|
java.util.List<ReadingTimeEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the reading time entries where uuid = ?.
|
java.util.List<ReadingTimeEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
Returns an ordered range of all the reading time entries where uuid = ?.
|
java.util.List<ReadingTimeEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the reading time entries where uuid = ?.
|
ReadingTimeEntry |
remove(long readingTimeEntryId)
Removes the reading time entry with the primary key from the database.
|
void |
removeAll()
Removes all the reading time entries from the database.
|
ReadingTimeEntry |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes the reading time entry where groupId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the reading time entries where uuid = ? and companyId = ? from the database.
|
ReadingTimeEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the reading time entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the reading time entries where uuid = ? from the database.
|
ReadingTimeEntry |
updateImpl(ReadingTimeEntry readingTimeEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ReadingTimeEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ReadingTimeEntry> 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, then the query will include the default ORDER BY logic from ReadingTimeEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)java.util.List<ReadingTimeEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> 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 ReadingTimeEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReadingTimeEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> 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 ReadingTimeEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheReadingTimeEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching reading time entry could not be foundReadingTimeEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching reading time entry could not be foundReadingTimeEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching reading time entry could not be foundReadingTimeEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching reading time entry could not be foundReadingTimeEntry[] findByUuid_PrevAndNext(long readingTimeEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator) throws NoSuchEntryException
readingTimeEntryId
- the primary key of the current reading time entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a reading time entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidReadingTimeEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchEntryException
- if a matching reading time entry could not be foundReadingTimeEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching reading time entry could not be foundReadingTimeEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching reading time entry could not be foundReadingTimeEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
uuid
- the uuidgroupId
- the group IDNoSuchEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<ReadingTimeEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ReadingTimeEntry> 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, then the query will include the default ORDER BY logic from ReadingTimeEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)java.util.List<ReadingTimeEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> 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 ReadingTimeEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReadingTimeEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> 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 ReadingTimeEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheReadingTimeEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching reading time entry could not be foundReadingTimeEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching reading time entry could not be foundReadingTimeEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching reading time entry could not be foundReadingTimeEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching reading time entry could not be foundReadingTimeEntry[] findByUuid_C_PrevAndNext(long readingTimeEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator) throws NoSuchEntryException
readingTimeEntryId
- the primary key of the current reading time entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a reading time entry 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 IDReadingTimeEntry findByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchEntryException
- if a matching reading time entry could not be foundReadingTimeEntry fetchByG_C_C(long groupId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching reading time entry could not be foundReadingTimeEntry fetchByG_C_C(long groupId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching reading time entry could not be foundReadingTimeEntry removeByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchEntryException
int countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkvoid cacheResult(ReadingTimeEntry readingTimeEntry)
readingTimeEntry
- the reading time entryvoid cacheResult(java.util.List<ReadingTimeEntry> readingTimeEntries)
readingTimeEntries
- the reading time entriesReadingTimeEntry create(long readingTimeEntryId)
readingTimeEntryId
- the primary key for the new reading time entryReadingTimeEntry remove(long readingTimeEntryId) throws NoSuchEntryException
readingTimeEntryId
- the primary key of the reading time entryNoSuchEntryException
- if a reading time entry with the primary key could not be foundReadingTimeEntry updateImpl(ReadingTimeEntry readingTimeEntry)
ReadingTimeEntry findByPrimaryKey(long readingTimeEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.readingTimeEntryId
- the primary key of the reading time entryNoSuchEntryException
- if a reading time entry with the primary key could not be foundReadingTimeEntry fetchByPrimaryKey(long readingTimeEntryId)
null
if it could not be found.readingTimeEntryId
- the primary key of the reading time entrynull
if a reading time entry with the primary key could not be foundjava.util.List<ReadingTimeEntry> findAll()
java.util.List<ReadingTimeEntry> 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 ReadingTimeEntryModelImpl
.
start
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)java.util.List<ReadingTimeEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> 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 ReadingTimeEntryModelImpl
.
start
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReadingTimeEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> 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 ReadingTimeEntryModelImpl
.
start
- the lower bound of the range of reading time entriesend
- the upper bound of the range of reading time entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()