@ProviderType public interface RepositoryEntryPersistence extends BasePersistence<RepositoryEntry>
Caching information and settings can be found in portal.properties
RepositoryEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<RepositoryEntry> repositoryEntries)
Caches the repository entries in the entity cache if it is enabled.
|
void |
cacheResult(RepositoryEntry repositoryEntry)
Caches the repository entry 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_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 = ?.
|
int |
countByUuid(String uuid)
Returns the number of repository entries where uuid = ?.
|
RepositoryEntry |
create(long repositoryEntryId)
Creates a new repository entry with the primary key.
|
RepositoryEntry |
fetchByPrimaryKey(long repositoryEntryId)
Returns the repository entry with the primary key or returns
null if it could not be found. |
RepositoryEntry |
fetchByR_M(long repositoryId,
String mappedId)
Returns the repository entry where repositoryId = ? and mappedId = ? or returns
null if it could not be found. |
RepositoryEntry |
fetchByR_M(long repositoryId,
String mappedId,
boolean useFinderCache)
Returns the repository entry where repositoryId = ? and mappedId = ? or returns
null if it could not be found, optionally using the finder cache. |
RepositoryEntry |
fetchByRepositoryId_First(long repositoryId,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the first repository entry in the ordered set where repositoryId = ?.
|
RepositoryEntry |
fetchByRepositoryId_Last(long repositoryId,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the last repository entry in the ordered set where repositoryId = ?.
|
RepositoryEntry |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.
|
RepositoryEntry |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.
|
RepositoryEntry |
fetchByUuid_First(String uuid,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the first repository entry in the ordered set where uuid = ?.
|
RepositoryEntry |
fetchByUUID_G(String uuid,
long groupId)
Returns the repository entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
RepositoryEntry |
fetchByUUID_G(String uuid,
long groupId,
boolean useFinderCache)
Returns the repository entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
RepositoryEntry |
fetchByUuid_Last(String uuid,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the last repository entry in the ordered set where uuid = ?.
|
List<RepositoryEntry> |
findAll()
Returns all the repository entries.
|
List<RepositoryEntry> |
findAll(int start,
int end)
Returns a range of all the repository entries.
|
List<RepositoryEntry> |
findAll(int start,
int end,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns an ordered range of all the repository entries.
|
List<RepositoryEntry> |
findAll(int start,
int end,
OrderByComparator<RepositoryEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the repository entries.
|
RepositoryEntry |
findByPrimaryKey(long repositoryEntryId)
Returns the repository entry with the primary key or throws a
NoSuchRepositoryEntryException if it could not be found. |
RepositoryEntry |
findByR_M(long repositoryId,
String mappedId)
Returns the repository entry where repositoryId = ? and mappedId = ? or throws a
NoSuchRepositoryEntryException if it could not be found. |
RepositoryEntry |
findByRepositoryId_First(long repositoryId,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the first repository entry in the ordered set where repositoryId = ?.
|
RepositoryEntry |
findByRepositoryId_Last(long repositoryId,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the last repository entry in the ordered set where repositoryId = ?.
|
RepositoryEntry[] |
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 = ?.
|
List<RepositoryEntry> |
findByRepositoryId(long repositoryId)
Returns all the repository entries where repositoryId = ?.
|
List<RepositoryEntry> |
findByRepositoryId(long repositoryId,
int start,
int end)
Returns a range of all the repository entries where repositoryId = ?.
|
List<RepositoryEntry> |
findByRepositoryId(long repositoryId,
int start,
int end,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns an ordered range of all the repository entries where repositoryId = ?.
|
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 = ?.
|
RepositoryEntry |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.
|
RepositoryEntry |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.
|
RepositoryEntry[] |
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 = ?.
|
List<RepositoryEntry> |
findByUuid_C(String uuid,
long companyId)
Returns all the repository entries where uuid = ? and companyId = ?.
|
List<RepositoryEntry> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the repository entries where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
RepositoryEntry |
findByUuid_First(String uuid,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the first repository entry in the ordered set where uuid = ?.
|
RepositoryEntry |
findByUUID_G(String uuid,
long groupId)
Returns the repository entry where uuid = ? and groupId = ? or throws a
NoSuchRepositoryEntryException if it could not be found. |
RepositoryEntry |
findByUuid_Last(String uuid,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns the last repository entry in the ordered set where uuid = ?.
|
RepositoryEntry[] |
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 = ?.
|
List<RepositoryEntry> |
findByUuid(String uuid)
Returns all the repository entries where uuid = ?.
|
List<RepositoryEntry> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the repository entries where uuid = ?.
|
List<RepositoryEntry> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<RepositoryEntry> orderByComparator)
Returns an ordered range of all the repository entries where uuid = ?.
|
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 = ?.
|
RepositoryEntry |
remove(long repositoryEntryId)
Removes the repository entry with the primary key from the database.
|
void |
removeAll()
Removes all the repository entries from the database.
|
RepositoryEntry |
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_C(String uuid,
long companyId)
Removes all the repository entries where uuid = ? and companyId = ? from the database.
|
RepositoryEntry |
removeByUUID_G(String uuid,
long groupId)
Removes the repository entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the repository entries where uuid = ? from the database.
|
RepositoryEntry |
updateImpl(RepositoryEntry repositoryEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<RepositoryEntry> findByUuid(String uuid)
uuid
- the uuidList<RepositoryEntry> 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 RepositoryEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)List<RepositoryEntry> findByUuid(String uuid, int start, int end, OrderByComparator<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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 (optionally null
)List<RepositoryEntry> findByUuid(String uuid, int start, int end, OrderByComparator<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheRepositoryEntry findByUuid_First(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a matching repository entry could not be foundRepositoryEntry fetchByUuid_First(String uuid, OrderByComparator<RepositoryEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching repository entry could not be foundRepositoryEntry findByUuid_Last(String uuid, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a matching repository entry could not be foundRepositoryEntry fetchByUuid_Last(String uuid, OrderByComparator<RepositoryEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching repository entry could not be foundRepositoryEntry[] findByUuid_PrevAndNext(long repositoryEntryId, String uuid, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
repositoryEntryId
- the primary key of the current repository entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidRepositoryEntry findByUUID_G(String uuid, long groupId) throws NoSuchRepositoryEntryException
NoSuchRepositoryEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchRepositoryEntryException
- if a matching repository entry could not be foundRepositoryEntry fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching repository entry could not be foundRepositoryEntry fetchByUUID_G(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 repository entry could not be foundRepositoryEntry removeByUUID_G(String uuid, long groupId) throws NoSuchRepositoryEntryException
uuid
- the uuidgroupId
- the group IDNoSuchRepositoryEntryException
int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDList<RepositoryEntry> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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)List<RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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 (optionally null
)List<RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheRepositoryEntry findByUuid_C_First(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a matching repository entry could not be foundRepositoryEntry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching repository entry could not be foundRepositoryEntry findByUuid_C_Last(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a matching repository entry could not be foundRepositoryEntry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching repository entry could not be foundRepositoryEntry[] findByUuid_C_PrevAndNext(long repositoryEntryId, String uuid, long companyId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
repositoryEntryId
- the primary key of the current repository entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a repository 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<RepositoryEntry> findByRepositoryId(long repositoryId)
repositoryId
- the repository IDList<RepositoryEntry> findByRepositoryId(long repositoryId, 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 RepositoryEntryModelImpl
.
repositoryId
- the repository IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)List<RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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 (optionally null
)List<RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheRepositoryEntry findByRepositoryId_First(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a matching repository entry could not be foundRepositoryEntry fetchByRepositoryId_First(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator)
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching repository entry could not be foundRepositoryEntry findByRepositoryId_Last(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a matching repository entry could not be foundRepositoryEntry fetchByRepositoryId_Last(long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator)
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching repository entry could not be foundRepositoryEntry[] findByRepositoryId_PrevAndNext(long repositoryEntryId, long repositoryId, OrderByComparator<RepositoryEntry> orderByComparator) throws NoSuchRepositoryEntryException
repositoryEntryId
- the primary key of the current repository entryrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be foundvoid removeByRepositoryId(long repositoryId)
repositoryId
- the repository IDint countByRepositoryId(long repositoryId)
repositoryId
- the repository IDRepositoryEntry findByR_M(long repositoryId, String mappedId) throws NoSuchRepositoryEntryException
NoSuchRepositoryEntryException
if it could not be found.repositoryId
- the repository IDmappedId
- the mapped IDNoSuchRepositoryEntryException
- if a matching repository entry could not be foundRepositoryEntry fetchByR_M(long repositoryId, String mappedId)
null
if it could not be found. Uses the finder cache.repositoryId
- the repository IDmappedId
- the mapped IDnull
if a matching repository entry could not be foundRepositoryEntry fetchByR_M(long repositoryId, String mappedId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.repositoryId
- the repository IDmappedId
- the mapped IDuseFinderCache
- whether to use the finder cachenull
if a matching repository entry could not be foundRepositoryEntry removeByR_M(long repositoryId, String mappedId) throws NoSuchRepositoryEntryException
repositoryId
- the repository IDmappedId
- the mapped IDNoSuchRepositoryEntryException
int countByR_M(long repositoryId, String mappedId)
repositoryId
- the repository IDmappedId
- the mapped IDvoid cacheResult(RepositoryEntry repositoryEntry)
repositoryEntry
- the repository entryvoid cacheResult(List<RepositoryEntry> repositoryEntries)
repositoryEntries
- the repository entriesRepositoryEntry create(long repositoryEntryId)
repositoryEntryId
- the primary key for the new repository entryRepositoryEntry remove(long repositoryEntryId) throws NoSuchRepositoryEntryException
repositoryEntryId
- the primary key of the repository entryNoSuchRepositoryEntryException
- if a repository entry with the primary key could not be foundRepositoryEntry updateImpl(RepositoryEntry repositoryEntry)
RepositoryEntry findByPrimaryKey(long repositoryEntryId) throws NoSuchRepositoryEntryException
NoSuchRepositoryEntryException
if it could not be found.repositoryEntryId
- the primary key of the repository entryNoSuchRepositoryEntryException
- if a repository entry with the primary key could not be foundRepositoryEntry fetchByPrimaryKey(long repositoryEntryId)
null
if it could not be found.repositoryEntryId
- the primary key of the repository entrynull
if a repository entry with the primary key could not be foundList<RepositoryEntry> findAll()
List<RepositoryEntry> 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 RepositoryEntryModelImpl
.
start
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)List<RepositoryEntry> findAll(int start, int end, OrderByComparator<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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 (optionally null
)List<RepositoryEntry> findAll(int start, int end, OrderByComparator<RepositoryEntry> 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 RepositoryEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()