|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface DLFileRankPersistence
The persistence interface for the document library file rank service.
Caching information and settings can be found in portal.properties
DLFileRankPersistenceImpl,
DLFileRankUtil| Method Summary | |
|---|---|
void |
cacheResult(DLFileRank dlFileRank)
Caches the document library file rank in the entity cache if it is enabled. |
void |
cacheResult(List<DLFileRank> dlFileRanks)
Caches the document library file ranks in the entity cache if it is enabled. |
int |
countAll()
Returns the number of document library file ranks. |
int |
countByC_U_F(long companyId,
long userId,
long fileEntryId)
Returns the number of document library file ranks where companyId = ? and userId = ? and fileEntryId = ?. |
int |
countByFileEntryId(long fileEntryId)
Returns the number of document library file ranks where fileEntryId = ?. |
int |
countByG_U_A(long groupId,
long userId,
boolean active)
Returns the number of document library file ranks where groupId = ? and userId = ? and active = ?. |
int |
countByG_U(long groupId,
long userId)
Returns the number of document library file ranks where groupId = ? and userId = ?. |
int |
countByUserId(long userId)
Returns the number of document library file ranks where userId = ?. |
DLFileRank |
create(long fileRankId)
Creates a new document library file rank with the primary key. |
DLFileRank |
fetchByC_U_F(long companyId,
long userId,
long fileEntryId)
Returns the document library file rank where companyId = ? and userId = ? and fileEntryId = ? or returns null if it could not be found. |
DLFileRank |
fetchByC_U_F(long companyId,
long userId,
long fileEntryId,
boolean retrieveFromCache)
Returns the document library file rank where companyId = ? and userId = ? and fileEntryId = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileRank |
fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where fileEntryId = ?. |
DLFileRank |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where fileEntryId = ?. |
DLFileRank |
fetchByG_U_A_First(long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
DLFileRank |
fetchByG_U_A_Last(long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
DLFileRank |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ?. |
DLFileRank |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ?. |
DLFileRank |
fetchByPrimaryKey(long fileRankId)
Returns the document library file rank with the primary key or returns null if it could not be found. |
Map<Serializable,DLFileRank> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
DLFileRank |
fetchByUserId_First(long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where userId = ?. |
DLFileRank |
fetchByUserId_Last(long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where userId = ?. |
List<DLFileRank> |
findAll()
Returns all the document library file ranks. |
List<DLFileRank> |
findAll(int start,
int end)
Returns a range of all the document library file ranks. |
List<DLFileRank> |
findAll(int start,
int end,
OrderByComparator<DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks. |
List<DLFileRank> |
findAll(int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks. |
DLFileRank |
findByC_U_F(long companyId,
long userId,
long fileEntryId)
Returns the document library file rank where companyId = ? and userId = ? and fileEntryId = ? or throws a NoSuchFileRankException if it could not be found. |
DLFileRank |
findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where fileEntryId = ?. |
DLFileRank |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where fileEntryId = ?. |
DLFileRank[] |
findByFileEntryId_PrevAndNext(long fileRankId,
long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where fileEntryId = ?. |
List<DLFileRank> |
findByFileEntryId(long fileEntryId)
Returns all the document library file ranks where fileEntryId = ?. |
List<DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file ranks where fileEntryId = ?. |
List<DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks where fileEntryId = ?. |
List<DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks where fileEntryId = ?. |
DLFileRank |
findByG_U_A_First(long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
DLFileRank |
findByG_U_A_Last(long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
DLFileRank[] |
findByG_U_A_PrevAndNext(long fileRankId,
long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
List<DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active)
Returns all the document library file ranks where groupId = ? and userId = ? and active = ?. |
List<DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end)
Returns a range of all the document library file ranks where groupId = ? and userId = ? and active = ?. |
List<DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ? and active = ?. |
List<DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ? and active = ?. |
DLFileRank |
findByG_U_First(long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ?. |
DLFileRank |
findByG_U_Last(long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ?. |
DLFileRank[] |
findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where groupId = ? and userId = ?. |
List<DLFileRank> |
findByG_U(long groupId,
long userId)
Returns all the document library file ranks where groupId = ? and userId = ?. |
List<DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the document library file ranks where groupId = ? and userId = ?. |
List<DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ?. |
List<DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ?. |
DLFileRank |
findByPrimaryKey(long fileRankId)
Returns the document library file rank with the primary key or throws a NoSuchFileRankException if it could not be found. |
DLFileRank |
findByUserId_First(long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where userId = ?. |
DLFileRank |
findByUserId_Last(long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where userId = ?. |
DLFileRank[] |
findByUserId_PrevAndNext(long fileRankId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where userId = ?. |
List<DLFileRank> |
findByUserId(long userId)
Returns all the document library file ranks where userId = ?. |
List<DLFileRank> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the document library file ranks where userId = ?. |
List<DLFileRank> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks where userId = ?. |
List<DLFileRank> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks where userId = ?. |
Set<String> |
getBadColumnNames()
|
DLFileRank |
remove(long fileRankId)
Removes the document library file rank with the primary key from the database. |
void |
removeAll()
Removes all the document library file ranks from the database. |
DLFileRank |
removeByC_U_F(long companyId,
long userId,
long fileEntryId)
Removes the document library file rank where companyId = ? and userId = ? and fileEntryId = ? from the database. |
void |
removeByFileEntryId(long fileEntryId)
Removes all the document library file ranks where fileEntryId = ? from the database. |
void |
removeByG_U_A(long groupId,
long userId,
boolean active)
Removes all the document library file ranks where groupId = ? and userId = ? and active = ? from the database. |
void |
removeByG_U(long groupId,
long userId)
Removes all the document library file ranks where groupId = ? and userId = ? from the database. |
void |
removeByUserId(long userId)
Removes all the document library file ranks where userId = ? from the database. |
DLFileRank |
updateImpl(DLFileRank dlFileRank)
|
| 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<DLFileRank> findByUserId(long userId)
userId - the user ID
List<DLFileRank> findByUserId(long userId,
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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.
userId - the user IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)
List<DLFileRank> findByUserId(long userId,
int start,
int end,
OrderByComparator<DLFileRank> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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.
userId - the user IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<DLFileRank> findByUserId(long userId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
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 DLFileRankModelImpl. 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.
userId - the user IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
DLFileRank findByUserId_First(long userId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByUserId_First(long userId,
OrderByComparator<DLFileRank> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
DLFileRank findByUserId_Last(long userId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByUserId_Last(long userId,
OrderByComparator<DLFileRank> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
DLFileRank[] findByUserId_PrevAndNext(long fileRankId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
fileRankId - the primary key of the current document library file rankuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a document library file rank with the primary key could not be foundvoid removeByUserId(long userId)
userId - the user IDint countByUserId(long userId)
userId - the user ID
List<DLFileRank> findByFileEntryId(long fileEntryId)
fileEntryId - the file entry ID
List<DLFileRank> findByFileEntryId(long fileEntryId,
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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.
fileEntryId - the file entry IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)
List<DLFileRank> findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileRank> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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.
fileEntryId - the file entry IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<DLFileRank> findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
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 DLFileRankModelImpl. 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.
fileEntryId - the file entry IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
DLFileRank findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
fileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
fileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
DLFileRank findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
fileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
fileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
DLFileRank[] findByFileEntryId_PrevAndNext(long fileRankId,
long fileEntryId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
fileRankId - the primary key of the current document library file rankfileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a document library file rank with the primary key could not be foundvoid removeByFileEntryId(long fileEntryId)
fileEntryId - the file entry IDint countByFileEntryId(long fileEntryId)
fileEntryId - the file entry ID
List<DLFileRank> findByG_U(long groupId,
long userId)
groupId - the group IDuserId - the user ID
List<DLFileRank> findByG_U(long groupId,
long userId,
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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.
groupId - the group IDuserId - the user IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)
List<DLFileRank> findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<DLFileRank> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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.
groupId - the group IDuserId - the user IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<DLFileRank> findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
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 DLFileRankModelImpl. 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.
groupId - the group IDuserId - the user IDstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
DLFileRank findByG_U_First(long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
groupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByG_U_First(long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
groupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
DLFileRank findByG_U_Last(long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
groupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByG_U_Last(long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
groupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
DLFileRank[] findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
fileRankId - the primary key of the current document library file rankgroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a document library file rank with the primary key could not be found
void removeByG_U(long groupId,
long userId)
groupId - the group IDuserId - the user ID
int countByG_U(long groupId,
long userId)
groupId - the group IDuserId - the user ID
List<DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active)
groupId - the group IDuserId - the user IDactive - the active
List<DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active,
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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.
groupId - the group IDuserId - the user IDactive - the activestart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)
List<DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
OrderByComparator<DLFileRank> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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.
groupId - the group IDuserId - the user IDactive - the activestart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
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 DLFileRankModelImpl. 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.
groupId - the group IDuserId - the user IDactive - the activestart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
DLFileRank findByG_U_A_First(long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
groupId - the group IDuserId - the user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByG_U_A_First(long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
groupId - the group IDuserId - the user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
DLFileRank findByG_U_A_Last(long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
groupId - the group IDuserId - the user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByG_U_A_Last(long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
groupId - the group IDuserId - the user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
DLFileRank[] findByG_U_A_PrevAndNext(long fileRankId,
long groupId,
long userId,
boolean active,
OrderByComparator<DLFileRank> orderByComparator)
throws NoSuchFileRankException
fileRankId - the primary key of the current document library file rankgroupId - the group IDuserId - the user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a document library file rank with the primary key could not be found
void removeByG_U_A(long groupId,
long userId,
boolean active)
groupId - the group IDuserId - the user IDactive - the active
int countByG_U_A(long groupId,
long userId,
boolean active)
groupId - the group IDuserId - the user IDactive - the active
DLFileRank findByC_U_F(long companyId,
long userId,
long fileEntryId)
throws NoSuchFileRankException
NoSuchFileRankException if it could not be found.
companyId - the company IDuserId - the user IDfileEntryId - the file entry ID
NoSuchFileRankException - if a matching document library file rank could not be found
DLFileRank fetchByC_U_F(long companyId,
long userId,
long fileEntryId)
null if it could not be found. Uses the finder cache.
companyId - the company IDuserId - the user IDfileEntryId - the file entry ID
null if a matching document library file rank could not be found
DLFileRank fetchByC_U_F(long companyId,
long userId,
long fileEntryId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
companyId - the company IDuserId - the user IDfileEntryId - the file entry IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching document library file rank could not be found
DLFileRank removeByC_U_F(long companyId,
long userId,
long fileEntryId)
throws NoSuchFileRankException
companyId - the company IDuserId - the user IDfileEntryId - the file entry ID
NoSuchFileRankException
int countByC_U_F(long companyId,
long userId,
long fileEntryId)
companyId - the company IDuserId - the user IDfileEntryId - the file entry ID
void cacheResult(DLFileRank dlFileRank)
dlFileRank - the document library file rankvoid cacheResult(List<DLFileRank> dlFileRanks)
dlFileRanks - the document library file ranksDLFileRank create(long fileRankId)
fileRankId - the primary key for the new document library file rank
DLFileRank remove(long fileRankId)
throws NoSuchFileRankException
fileRankId - the primary key of the document library file rank
NoSuchFileRankException - if a document library file rank with the primary key could not be foundDLFileRank updateImpl(DLFileRank dlFileRank)
DLFileRank findByPrimaryKey(long fileRankId)
throws NoSuchFileRankException
NoSuchFileRankException if it could not be found.
fileRankId - the primary key of the document library file rank
NoSuchFileRankException - if a document library file rank with the primary key could not be foundDLFileRank fetchByPrimaryKey(long fileRankId)
null if it could not be found.
fileRankId - the primary key of the document library file rank
null if a document library file rank with the primary key could not be foundMap<Serializable,DLFileRank> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<DLFileRank>List<DLFileRank> findAll()
List<DLFileRank> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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 document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)
List<DLFileRank> findAll(int start,
int end,
OrderByComparator<DLFileRank> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileRankModelImpl. 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 document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<DLFileRank> findAll(int start,
int end,
OrderByComparator<DLFileRank> orderByComparator,
boolean retrieveFromCache)
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 DLFileRankModelImpl. 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 document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
void removeAll()
int countAll()
Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<DLFileRank>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||