|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.service.persistence.DLFileRankUtil
public class DLFileRankUtil
The persistence utility for the document library file rank service. This utility wraps DLFileRankPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DLFileRankPersistence,
DLFileRankPersistenceImpl| Constructor Summary | |
|---|---|
DLFileRankUtil()
|
|
| Method Summary | |
|---|---|
static void |
cacheResult(DLFileRank dlFileRank)
Caches the document library file rank in the entity cache if it is enabled. |
static void |
cacheResult(List<DLFileRank> dlFileRanks)
Caches the document library file ranks in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(DLFileRank dlFileRank)
|
static int |
countAll()
Returns the number of document library file ranks. |
static int |
countByC_U_F(long companyId,
long userId,
long fileEntryId)
Returns the number of document library file ranks where companyId = ? and userId = ? and fileEntryId = ?. |
static int |
countByFileEntryId(long fileEntryId)
Returns the number of document library file ranks where fileEntryId = ?. |
static int |
countByG_U_A(long groupId,
long userId,
boolean active)
Returns the number of document library file ranks where groupId = ? and userId = ? and active = ?. |
static int |
countByG_U(long groupId,
long userId)
Returns the number of document library file ranks where groupId = ? and userId = ?. |
static int |
countByUserId(long userId)
Returns the number of document library file ranks where userId = ?. |
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file ranks where uuid = ? and companyId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file ranks where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Returns the number of document library file ranks where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static DLFileRank |
create(long fileRankId)
Creates a new document library file rank with the primary key. |
static 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. |
static 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. |
static DLFileRank |
fetchByFileEntryId_First(long fileEntryId,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where fileEntryId = ?. |
static DLFileRank |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where fileEntryId = ?. |
static DLFileRank |
fetchByG_U_A_First(long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
static DLFileRank |
fetchByG_U_A_Last(long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
static DLFileRank |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ?. |
static DLFileRank |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ?. |
static DLFileRank |
fetchByPrimaryKey(long fileRankId)
Returns the document library file rank with the primary key or returns null if it could not be found. |
static DLFileRank |
fetchByUserId_First(long userId,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where userId = ?. |
static DLFileRank |
fetchByUserId_Last(long userId,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where userId = ?. |
static DLFileRank |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where uuid = ? and companyId = ?. |
static DLFileRank |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where uuid = ? and companyId = ?. |
static DLFileRank |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where uuid = ?. |
static DLFileRank |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file rank where uuid = ? and groupId = ? or returns null if it could not be found. |
static DLFileRank |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file rank where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static DLFileRank |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where uuid = ?. |
static List<DLFileRank> |
findAll()
Returns all the document library file ranks. |
static List<DLFileRank> |
findAll(int start,
int end)
Returns a range of all the document library file ranks. |
static List<DLFileRank> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks. |
static 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. |
static DLFileRank |
findByFileEntryId_First(long fileEntryId,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where fileEntryId = ?. |
static DLFileRank |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where fileEntryId = ?. |
static DLFileRank[] |
findByFileEntryId_PrevAndNext(long fileRankId,
long fileEntryId,
OrderByComparator orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where fileEntryId = ?. |
static List<DLFileRank> |
findByFileEntryId(long fileEntryId)
Returns all the document library file ranks where fileEntryId = ?. |
static List<DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file ranks where fileEntryId = ?. |
static List<DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where fileEntryId = ?. |
static DLFileRank |
findByG_U_A_First(long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
static DLFileRank |
findByG_U_A_Last(long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ? and active = ?. |
static DLFileRank[] |
findByG_U_A_PrevAndNext(long fileRankId,
long groupId,
long userId,
boolean active,
OrderByComparator 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 = ?. |
static List<DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active)
Returns all the document library file ranks where groupId = ? and userId = ? and active = ?. |
static 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 = ?. |
static List<DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ? and active = ?. |
static DLFileRank |
findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ?. |
static DLFileRank |
findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ?. |
static DLFileRank[] |
findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where groupId = ? and userId = ?. |
static List<DLFileRank> |
findByG_U(long groupId,
long userId)
Returns all the document library file ranks where groupId = ? and userId = ?. |
static 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 = ?. |
static List<DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ?. |
static DLFileRank |
findByPrimaryKey(long fileRankId)
Returns the document library file rank with the primary key or throws a NoSuchFileRankException if it could not be found. |
static DLFileRank |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where userId = ?. |
static DLFileRank |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where userId = ?. |
static DLFileRank[] |
findByUserId_PrevAndNext(long fileRankId,
long userId,
OrderByComparator orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where userId = ?. |
static List<DLFileRank> |
findByUserId(long userId)
Returns all the document library file ranks where userId = ?. |
static List<DLFileRank> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the document library file ranks where userId = ?. |
static List<DLFileRank> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where userId = ?. |
static DLFileRank |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where uuid = ? and companyId = ?. |
static DLFileRank |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where uuid = ? and companyId = ?. |
static DLFileRank[] |
findByUuid_C_PrevAndNext(long fileRankId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where uuid = ? and companyId = ?. |
static List<DLFileRank> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file ranks where uuid = ? and companyId = ?. |
static List<DLFileRank> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file ranks where uuid = ? and companyId = ?. |
static List<DLFileRank> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where uuid = ? and companyId = ?. |
static DLFileRank |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where uuid = ?. |
static DLFileRank |
findByUUID_G(String uuid,
long groupId)
Returns the document library file rank where uuid = ? and groupId = ? or throws a NoSuchFileRankException if it could not be found. |
static DLFileRank |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where uuid = ?. |
static DLFileRank[] |
findByUuid_PrevAndNext(long fileRankId,
String uuid,
OrderByComparator orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where uuid = ?. |
static List<DLFileRank> |
findByUuid(String uuid)
Returns all the document library file ranks where uuid = ?. |
static List<DLFileRank> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file ranks where uuid = ?. |
static List<DLFileRank> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where uuid = ?. |
static List<DLFileRank> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<DLFileRank> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<DLFileRank> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static DLFileRankPersistence |
getPersistence()
|
static DLFileRank |
remove(long fileRankId)
Removes the document library file rank with the primary key from the database. |
static void |
removeAll()
Removes all the document library file ranks from the database. |
static 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. |
static void |
removeByFileEntryId(long fileEntryId)
Removes all the document library file ranks where fileEntryId = ? from the database. |
static 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. |
static void |
removeByG_U(long groupId,
long userId)
Removes all the document library file ranks where groupId = ? and userId = ? from the database. |
static void |
removeByUserId(long userId)
Removes all the document library file ranks where userId = ? from the database. |
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file ranks where uuid = ? and companyId = ? from the database. |
static DLFileRank |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file rank where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the document library file ranks where uuid = ? from the database. |
void |
setPersistence(DLFileRankPersistence persistence)
Deprecated. As of 6.2.0 |
static DLFileRank |
update(DLFileRank dlFileRank)
|
static DLFileRank |
update(DLFileRank dlFileRank,
ServiceContext serviceContext)
|
static DLFileRank |
updateImpl(DLFileRank dlFileRank)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DLFileRankUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(DLFileRank dlFileRank)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<DLFileRank> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<DLFileRank> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<DLFileRank> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DLFileRank update(DLFileRank dlFileRank)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel)
public static DLFileRank update(DLFileRank dlFileRank,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)
public static List<DLFileRank> findByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
public static List<DLFileRank> 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 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.
uuid - the uuidstart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)
SystemException - if a system exception occurred
public static List<DLFileRank> 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 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.
uuid - the uuidstart - 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)
SystemException - if a system exception occurred
public static DLFileRank findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileRankException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileRankException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank[] findByUuid_PrevAndNext(long fileRankId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileRankException
fileRankId - the primary key of the current document library file rankuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a document library file rank with the primary key could not be found
SystemException - if a system exception occurred
public static void removeByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
public static int countByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
public static DLFileRank findByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchFileRankException
NoSuchFileRankException if it could not be found.
uuid - the uuidgroupId - the group ID
NoSuchFileRankException - if a matching document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank 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 document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank 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 document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank removeByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchFileRankException
uuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchFileRankException
public static int countByUUID_G(String uuid,
long groupId)
throws SystemException
uuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public static List<DLFileRank> findByUuid_C(String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public static List<DLFileRank> 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 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.
uuid - the uuidcompanyId - the company 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)
SystemException - if a system exception occurred
public static List<DLFileRank> 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 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.
uuid - the uuidcompanyId - the company 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)
SystemException - if a system exception occurred
public static DLFileRank findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileRankException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank 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 document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileRankException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileRankException - if a matching document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank 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 document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank[] findByUuid_C_PrevAndNext(long fileRankId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileRankException
fileRankId - the primary key of the current document library file rankuuid - the uuidcompanyId - the company 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
SystemException - if a system exception occurred
public static void removeByUuid_C(String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public static int countByUuid_C(String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public static List<DLFileRank> findByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
public static List<DLFileRank> findByUserId(long userId,
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 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)
SystemException - if a system exception occurred
public static List<DLFileRank> findByUserId(long userId,
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 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)
SystemException - if a system exception occurred
public static DLFileRank findByUserId_First(long userId,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByUserId_First(long userId,
OrderByComparator orderByComparator)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank findByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank[] findByUserId_PrevAndNext(long fileRankId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static void removeByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
public static int countByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
public static List<DLFileRank> findByFileEntryId(long fileEntryId)
throws SystemException
fileEntryId - the file entry ID
SystemException - if a system exception occurred
public static List<DLFileRank> findByFileEntryId(long fileEntryId,
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 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)
SystemException - if a system exception occurred
public static List<DLFileRank> findByFileEntryId(long fileEntryId,
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 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)
SystemException - if a system exception occurred
public static DLFileRank findByFileEntryId_First(long fileEntryId,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByFileEntryId_First(long fileEntryId,
OrderByComparator orderByComparator)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank findByFileEntryId_Last(long fileEntryId,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator orderByComparator)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank[] findByFileEntryId_PrevAndNext(long fileRankId,
long fileEntryId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static void removeByFileEntryId(long fileEntryId)
throws SystemException
fileEntryId - the file entry ID
SystemException - if a system exception occurred
public static int countByFileEntryId(long fileEntryId)
throws SystemException
fileEntryId - the file entry ID
SystemException - if a system exception occurred
public static List<DLFileRank> findByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
public static List<DLFileRank> findByG_U(long groupId,
long userId,
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 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)
SystemException - if a system exception occurred
public static List<DLFileRank> findByG_U(long groupId,
long userId,
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 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)
SystemException - if a system exception occurred
public static DLFileRank findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank[] findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static void removeByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
public static int countByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
public static List<DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active)
throws SystemException
groupId - the group IDuserId - the user IDactive - the active
SystemException - if a system exception occurred
public static List<DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active,
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 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)
SystemException - if a system exception occurred
public static List<DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active,
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 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)
SystemException - if a system exception occurred
public static DLFileRank findByG_U_A_First(long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByG_U_A_First(long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank findByG_U_A_Last(long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByG_U_A_Last(long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank[] findByG_U_A_PrevAndNext(long fileRankId,
long groupId,
long userId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
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
SystemException - if a system exception occurred
public static void removeByG_U_A(long groupId,
long userId,
boolean active)
throws SystemException
groupId - the group IDuserId - the user IDactive - the active
SystemException - if a system exception occurred
public static int countByG_U_A(long groupId,
long userId,
boolean active)
throws SystemException
groupId - the group IDuserId - the user IDactive - the active
SystemException - if a system exception occurred
public static DLFileRank findByC_U_F(long companyId,
long userId,
long fileEntryId)
throws SystemException,
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
SystemException - if a system exception occurred
public static DLFileRank fetchByC_U_F(long companyId,
long userId,
long fileEntryId)
throws SystemException
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
SystemException - if a system exception occurred
public static DLFileRank fetchByC_U_F(long companyId,
long userId,
long fileEntryId,
boolean retrieveFromCache)
throws SystemException
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 use the finder cache
null if a matching document library file rank could not be found
SystemException - if a system exception occurred
public static DLFileRank removeByC_U_F(long companyId,
long userId,
long fileEntryId)
throws SystemException,
NoSuchFileRankException
companyId - the company IDuserId - the user IDfileEntryId - the file entry ID
SystemException - if a system exception occurred
NoSuchFileRankException
public static int countByC_U_F(long companyId,
long userId,
long fileEntryId)
throws SystemException
companyId - the company IDuserId - the user IDfileEntryId - the file entry ID
SystemException - if a system exception occurredpublic static void cacheResult(DLFileRank dlFileRank)
dlFileRank - the document library file rankpublic static void cacheResult(List<DLFileRank> dlFileRanks)
dlFileRanks - the document library file rankspublic static DLFileRank create(long fileRankId)
fileRankId - the primary key for the new document library file rank
public static DLFileRank remove(long fileRankId)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileRank updateImpl(DLFileRank dlFileRank)
throws SystemException
SystemException
public static DLFileRank findByPrimaryKey(long fileRankId)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileRank fetchByPrimaryKey(long fileRankId)
throws SystemException
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 found
SystemException - if a system exception occurred
public static List<DLFileRank> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<DLFileRank> 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 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)
SystemException - if a system exception occurred
public static List<DLFileRank> 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 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)
SystemException - if a system exception occurred
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static DLFileRankPersistence getPersistence()
public void setPersistence(DLFileRankPersistence persistence)
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||