Interface RepositoryEntryPersistence
- All Superinterfaces:
BasePersistence<RepositoryEntry>
,CTPersistence<RepositoryEntry>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(RepositoryEntry repositoryEntry) Caches the repository entry in the entity cache if it is enabled.void
cacheResult
(List<RepositoryEntry> repositoryEntries) Caches the repository entries in the entity cache if it is enabled.int
countAll()
Returns the number of repository entries.int
countByR_M
(long repositoryId, String mappedId) Returns the number of repository entries where repositoryId = ? and mappedId = ?.int
countByRepositoryId
(long repositoryId) Returns the number of repository entries where repositoryId = ?.int
countByUuid
(String uuid) Returns the number of repository entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of repository entries where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of repository entries where uuid = ? and groupId = ?.create
(long repositoryEntryId) Creates a new repository entry with the primary key.fetchByPrimaryKey
(long repositoryEntryId) Returns the repository entry with the primary key or returnsnull
if it could not be found.fetchByR_M
(long repositoryId, String mappedId) Returns the repository entry where repositoryId = ? and mappedId = ? or returnsnull
if it could not be found.fetchByR_M
(long repositoryId, String mappedId, boolean useFinderCache) Returns the repository entry where repositoryId = ? and mappedId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByRepositoryId_First
(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where repositoryId = ?.fetchByRepositoryId_Last
(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the last repository entry in the ordered set where repositoryId = ?.fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the repository entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the repository entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) Returns the last repository entry in the ordered set where uuid = ?.findAll()
Returns all the repository entries.findAll
(int start, int end) Returns a range of all the repository entries.findAll
(int start, int end, OrderByComparator<RepositoryEntry> orderByComparator) Returns an ordered range of all the repository entries.findAll
(int start, int end, OrderByComparator<RepositoryEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the repository entries.findByPrimaryKey
(long repositoryEntryId) Returns the repository entry with the primary key or throws aNoSuchRepositoryEntryException
if it could not be found.Returns the repository entry where repositoryId = ? and mappedId = ? or throws aNoSuchRepositoryEntryException
if it could not be found.findByRepositoryId
(long repositoryId) Returns all the repository entries where repositoryId = ?.findByRepositoryId
(long repositoryId, int start, int end) Returns a range of all the repository entries where repositoryId = ?.findByRepositoryId
(long repositoryId, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator) Returns an ordered range of all the repository entries where repositoryId = ?.findByRepositoryId
(long repositoryId, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the repository entries where repositoryId = ?.findByRepositoryId_First
(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where repositoryId = ?.findByRepositoryId_Last
(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the last repository entry in the ordered set where repositoryId = ?.findByRepositoryId_PrevAndNext
(long repositoryEntryId, long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the repository entries before and after the current repository entry in the ordered set where repositoryId = ?.findByUuid
(String uuid) Returns all the repository entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the repository entries where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator) Returns an ordered range of all the repository entries where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the repository entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the repository entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the repository entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator) Returns an ordered range of all the repository entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the repository entries where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long repositoryEntryId, String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the repository entries before and after the current repository entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the repository entry where uuid = ? and groupId = ? or throws aNoSuchRepositoryEntryException
if it could not be found.findByUuid_Last
(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) Returns the last repository entry in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long repositoryEntryId, String uuid, OrderByComparator<RepositoryEntry> orderByComparator) Returns the repository entries before and after the current repository entry in the ordered set where uuid = ?.remove
(long repositoryEntryId) Removes the repository entry with the primary key from the database.void
Removes all the repository entries from the database.removeByR_M
(long repositoryId, String mappedId) Removes the repository entry where repositoryId = ? and mappedId = ? from the database.void
removeByRepositoryId
(long repositoryId) Removes all the repository entries where repositoryId = ? from the database.void
removeByUuid
(String uuid) Removes all the repository entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the repository entries where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the repository entry where uuid = ? and groupId = ? from the database.updateImpl
(RepositoryEntry repositoryEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the repository entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching repository entries
-
findByUuid
Returns a range of all the repository entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)- Returns:
- the range of matching repository entries
-
findByUuid
List<RepositoryEntry> findByUuid(String uuid, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator) Returns an ordered range of all the repository entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching repository entries
-
findByUuid
List<RepositoryEntry> findByUuid(String uuid, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the repository entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching repository entries
-
findByUuid_First
RepositoryEntry findByUuid_First(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the first repository entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching repository entry
- Throws:
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
-
fetchByUuid_First
RepositoryEntry fetchByUuid_First(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching repository entry, or
null
if a matching repository entry could not be found
-
findByUuid_Last
RepositoryEntry findByUuid_Last(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the last repository entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching repository entry
- Throws:
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
-
fetchByUuid_Last
Returns the last repository entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching repository entry, or
null
if a matching repository entry could not be found
-
findByUuid_PrevAndNext
RepositoryEntry[] findByUuid_PrevAndNext(long repositoryEntryId, String uuid, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the repository entries before and after the current repository entry in the ordered set where uuid = ?.- Parameters:
repositoryEntryId
- the primary key of the current repository entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next repository entry
- Throws:
NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be found
-
removeByUuid
Removes all the repository entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of repository entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching repository entries
-
findByUUID_G
Returns the repository entry where uuid = ? and groupId = ? or throws aNoSuchRepositoryEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching repository entry
- Throws:
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
-
fetchByUUID_G
Returns the repository entry where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching repository entry, or
null
if a matching repository entry could not be found
-
fetchByUUID_G
Returns the repository entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching repository entry, or
null
if a matching repository entry could not be found
-
removeByUUID_G
Removes the repository entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the repository entry that was removed
- Throws:
NoSuchRepositoryEntryException
-
countByUUID_G
Returns the number of repository entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching repository entries
-
findByUuid_C
Returns all the repository entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching repository entries
-
findByUuid_C
Returns a range of all the repository entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)- Returns:
- the range of matching repository entries
-
findByUuid_C
List<RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator) Returns an ordered range of all the repository entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching repository entries
-
findByUuid_C
List<RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the repository entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching repository entries
-
findByUuid_C_First
RepositoryEntry findByUuid_C_First(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching repository entry
- Throws:
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
-
fetchByUuid_C_First
RepositoryEntry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching repository entry, or
null
if a matching repository entry could not be found
-
findByUuid_C_Last
RepositoryEntry findByUuid_C_Last(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching repository entry
- Throws:
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
-
fetchByUuid_C_Last
RepositoryEntry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching repository entry, or
null
if a matching repository entry could not be found
-
findByUuid_C_PrevAndNext
RepositoryEntry[] findByUuid_C_PrevAndNext(long repositoryEntryId, String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the repository entries before and after the current repository entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
repositoryEntryId
- the primary key of the current repository entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next repository entry
- Throws:
NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be found
-
removeByUuid_C
Removes all the repository entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of repository entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching repository entries
-
findByRepositoryId
Returns all the repository entries where repositoryId = ?.- Parameters:
repositoryId
- the repository ID- Returns:
- the matching repository entries
-
findByRepositoryId
Returns a range of all the repository entries where repositoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
repositoryId
- the repository IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)- Returns:
- the range of matching repository entries
-
findByRepositoryId
List<RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator) Returns an ordered range of all the repository entries where repositoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
repositoryId
- the repository IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching repository entries
-
findByRepositoryId
List<RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<RepositoryEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the repository entries where repositoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
repositoryId
- the repository IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching repository entries
-
findByRepositoryId_First
RepositoryEntry findByRepositoryId_First(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the first repository entry in the ordered set where repositoryId = ?.- Parameters:
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching repository entry
- Throws:
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
-
fetchByRepositoryId_First
RepositoryEntry fetchByRepositoryId_First(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the first repository entry in the ordered set where repositoryId = ?.- Parameters:
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching repository entry, or
null
if a matching repository entry could not be found
-
findByRepositoryId_Last
RepositoryEntry findByRepositoryId_Last(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the last repository entry in the ordered set where repositoryId = ?.- Parameters:
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching repository entry
- Throws:
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
-
fetchByRepositoryId_Last
RepositoryEntry fetchByRepositoryId_Last(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) Returns the last repository entry in the ordered set where repositoryId = ?.- Parameters:
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching repository entry, or
null
if a matching repository entry could not be found
-
findByRepositoryId_PrevAndNext
RepositoryEntry[] findByRepositoryId_PrevAndNext(long repositoryEntryId, long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException Returns the repository entries before and after the current repository entry in the ordered set where repositoryId = ?.- Parameters:
repositoryEntryId
- the primary key of the current repository entryrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next repository entry
- Throws:
NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be found
-
removeByRepositoryId
void removeByRepositoryId(long repositoryId) Removes all the repository entries where repositoryId = ? from the database.- Parameters:
repositoryId
- the repository ID
-
countByRepositoryId
int countByRepositoryId(long repositoryId) Returns the number of repository entries where repositoryId = ?.- Parameters:
repositoryId
- the repository ID- Returns:
- the number of matching repository entries
-
findByR_M
Returns the repository entry where repositoryId = ? and mappedId = ? or throws aNoSuchRepositoryEntryException
if it could not be found.- Parameters:
repositoryId
- the repository IDmappedId
- the mapped ID- Returns:
- the matching repository entry
- Throws:
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
-
fetchByR_M
Returns the repository entry where repositoryId = ? and mappedId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
repositoryId
- the repository IDmappedId
- the mapped ID- Returns:
- the matching repository entry, or
null
if a matching repository entry could not be found
-
fetchByR_M
Returns the repository entry where repositoryId = ? and mappedId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
repositoryId
- the repository IDmappedId
- the mapped IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching repository entry, or
null
if a matching repository entry could not be found
-
removeByR_M
RepositoryEntry removeByR_M(long repositoryId, String mappedId) throws NoSuchRepositoryEntryException Removes the repository entry where repositoryId = ? and mappedId = ? from the database.- Parameters:
repositoryId
- the repository IDmappedId
- the mapped ID- Returns:
- the repository entry that was removed
- Throws:
NoSuchRepositoryEntryException
-
countByR_M
Returns the number of repository entries where repositoryId = ? and mappedId = ?.- Parameters:
repositoryId
- the repository IDmappedId
- the mapped ID- Returns:
- the number of matching repository entries
-
cacheResult
Caches the repository entry in the entity cache if it is enabled.- Parameters:
repositoryEntry
- the repository entry
-
cacheResult
Caches the repository entries in the entity cache if it is enabled.- Parameters:
repositoryEntries
- the repository entries
-
create
Creates a new repository entry with the primary key. Does not add the repository entry to the database.- Parameters:
repositoryEntryId
- the primary key for the new repository entry- Returns:
- the new repository entry
-
remove
Removes the repository entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
repositoryEntryId
- the primary key of the repository entry- Returns:
- the repository entry that was removed
- Throws:
NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the repository entry with the primary key or throws aNoSuchRepositoryEntryException
if it could not be found.- Parameters:
repositoryEntryId
- the primary key of the repository entry- Returns:
- the repository entry
- Throws:
NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the repository entry with the primary key or returnsnull
if it could not be found.- Parameters:
repositoryEntryId
- the primary key of the repository entry- Returns:
- the repository entry, or
null
if a repository entry with the primary key could not be found
-
findAll
List<RepositoryEntry> findAll()Returns all the repository entries.- Returns:
- the repository entries
-
findAll
Returns a range of all the repository entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
start
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)- Returns:
- the range of repository entries
-
findAll
List<RepositoryEntry> findAll(int start, int end, OrderByComparator<RepositoryEntry> orderByComparator) Returns an ordered range of all the repository entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
start
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of repository entries
-
findAll
List<RepositoryEntry> findAll(int start, int end, OrderByComparator<RepositoryEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the repository entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl
.- Parameters:
start
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of repository entries
-
removeAll
void removeAll()Removes all the repository entries from the database. -
countAll
int countAll()Returns the number of repository entries.- Returns:
- the number of repository entries
-