|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType public interface RepositoryEntryPersistence
The persistence interface for the repository entry service.
Caching information and settings can be found in portal.properties
RepositoryEntryPersistenceImpl
,
RepositoryEntryUtil
Method Summary | |
---|---|
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 retrieveFromCache)
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 orderByComparator)
Returns the first repository entry in the ordered set where repositoryId = ?. |
RepositoryEntry |
fetchByRepositoryId_Last(long repositoryId,
OrderByComparator orderByComparator)
Returns the last repository entry in the ordered set where repositoryId = ?. |
RepositoryEntry |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first repository entry in the ordered set where uuid = ? and companyId = ?. |
RepositoryEntry |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last repository entry in the ordered set where uuid = ? and companyId = ?. |
RepositoryEntry |
fetchByUuid_First(String uuid,
OrderByComparator 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 retrieveFromCache)
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 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 orderByComparator)
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 orderByComparator)
Returns the first repository entry in the ordered set where repositoryId = ?. |
RepositoryEntry |
findByRepositoryId_Last(long repositoryId,
OrderByComparator orderByComparator)
Returns the last repository entry in the ordered set where repositoryId = ?. |
RepositoryEntry[] |
findByRepositoryId_PrevAndNext(long repositoryEntryId,
long repositoryId,
OrderByComparator 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 orderByComparator)
Returns an ordered range of all the repository entries where repositoryId = ?. |
RepositoryEntry |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first repository entry in the ordered set where uuid = ? and companyId = ?. |
RepositoryEntry |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator 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 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 orderByComparator)
Returns an ordered range of all the repository entries where uuid = ? and companyId = ?. |
RepositoryEntry |
findByUuid_First(String uuid,
OrderByComparator 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 orderByComparator)
Returns the last repository entry in the ordered set where uuid = ?. |
RepositoryEntry[] |
findByUuid_PrevAndNext(long repositoryEntryId,
String uuid,
OrderByComparator 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 orderByComparator)
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)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
Method Detail |
---|
List<RepositoryEntry> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<RepositoryEntry> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)
SystemException
- if a system exception occurredList<RepositoryEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredRepositoryEntry findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry[] findByUuid_PrevAndNext(long repositoryEntryId, String uuid, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
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 found
SystemException
- if a system exception occurredvoid removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredRepositoryEntry findByUUID_G(String uuid, long groupId) throws NoSuchRepositoryEntryException, SystemException
NoSuchRepositoryEntryException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry removeByUUID_G(String uuid, long groupId) throws NoSuchRepositoryEntryException, SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchRepositoryEntryException
int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredList<RepositoryEntry> findByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredList<RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)
SystemException
- if a system exception occurredList<RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredRepositoryEntry findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry[] findByUuid_C_PrevAndNext(long repositoryEntryId, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
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 found
SystemException
- if a system exception occurredvoid removeByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredint countByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredList<RepositoryEntry> findByRepositoryId(long repositoryId) throws SystemException
repositoryId
- the repository ID
SystemException
- if a system exception occurredList<RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
repositoryId
- the repository IDstart
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)
SystemException
- if a system exception occurredList<RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)
SystemException
- if a system exception occurredRepositoryEntry findByRepositoryId_First(long repositoryId, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByRepositoryId_First(long repositoryId, OrderByComparator orderByComparator) throws SystemException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry findByRepositoryId_Last(long repositoryId, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByRepositoryId_Last(long repositoryId, OrderByComparator orderByComparator) throws SystemException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry[] findByRepositoryId_PrevAndNext(long repositoryEntryId, long repositoryId, OrderByComparator orderByComparator) throws NoSuchRepositoryEntryException, SystemException
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 found
SystemException
- if a system exception occurredvoid removeByRepositoryId(long repositoryId) throws SystemException
repositoryId
- the repository ID
SystemException
- if a system exception occurredint countByRepositoryId(long repositoryId) throws SystemException
repositoryId
- the repository ID
SystemException
- if a system exception occurredRepositoryEntry findByR_M(long repositoryId, String mappedId) throws NoSuchRepositoryEntryException, SystemException
NoSuchRepositoryEntryException
if it could not be found.
repositoryId
- the repository IDmappedId
- the mapped ID
NoSuchRepositoryEntryException
- if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByR_M(long repositoryId, String mappedId) throws SystemException
null
if it could not be found. Uses the finder cache.
repositoryId
- the repository IDmappedId
- the mapped ID
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByR_M(long repositoryId, String mappedId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
repositoryId
- the repository IDmappedId
- the mapped IDretrieveFromCache
- whether to use the finder cache
null
if a matching repository entry could not be found
SystemException
- if a system exception occurredRepositoryEntry removeByR_M(long repositoryId, String mappedId) throws NoSuchRepositoryEntryException, SystemException
repositoryId
- the repository IDmappedId
- the mapped ID
SystemException
- if a system exception occurred
NoSuchRepositoryEntryException
int countByR_M(long repositoryId, String mappedId) throws SystemException
repositoryId
- the repository IDmappedId
- the mapped ID
SystemException
- if a system exception occurredvoid 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 entry
RepositoryEntry remove(long repositoryEntryId) throws NoSuchRepositoryEntryException, SystemException
repositoryEntryId
- the primary key of the repository entry
NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be found
SystemException
- if a system exception occurredRepositoryEntry updateImpl(RepositoryEntry repositoryEntry) throws SystemException
SystemException
RepositoryEntry findByPrimaryKey(long repositoryEntryId) throws NoSuchRepositoryEntryException, SystemException
NoSuchRepositoryEntryException
if it could not be found.
repositoryEntryId
- the primary key of the repository entry
NoSuchRepositoryEntryException
- if a repository entry with the primary key could not be found
SystemException
- if a system exception occurredRepositoryEntry fetchByPrimaryKey(long repositoryEntryId) throws SystemException
null
if it could not be found.
repositoryEntryId
- the primary key of the repository entry
null
if a repository entry with the primary key could not be found
SystemException
- if a system exception occurredList<RepositoryEntry> findAll() throws SystemException
SystemException
- if a system exception occurredList<RepositoryEntry> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)
SystemException
- if a system exception occurredList<RepositoryEntry> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of repository entriesend
- the upper bound of the range of repository entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |