com.liferay.portlet.documentlibrary.service.persistence
Class DLFileRankUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.persistence.DLFileRankUtil
public class DLFileRankUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
DLFileRankPersistence
,
DLFileRankPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(DLFileRank dlFileRank)
|
static void |
cacheResult(java.util.List<DLFileRank> dlFileRanks)
|
static void |
clearCache()
|
static void |
clearCache(DLFileRank dlFileRank)
|
static int |
countAll()
|
static int |
countByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name)
|
static int |
countByF_N(long folderId,
java.lang.String name)
|
static int |
countByG_U(long groupId,
long userId)
|
static int |
countByUserId(long userId)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static DLFileRank |
create(long fileRankId)
|
static DLFileRank |
fetchByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name)
|
static DLFileRank |
fetchByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name,
boolean retrieveFromCache)
|
static DLFileRank |
fetchByPrimaryKey(long fileRankId)
|
static java.util.List<DLFileRank> |
findAll()
|
static java.util.List<DLFileRank> |
findAll(int start,
int end)
|
static java.util.List<DLFileRank> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank |
findByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name)
|
static DLFileRank |
findByF_N_First(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank |
findByF_N_Last(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank[] |
findByF_N_PrevAndNext(long fileRankId,
long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<DLFileRank> |
findByF_N(long folderId,
java.lang.String name)
|
static java.util.List<DLFileRank> |
findByF_N(long folderId,
java.lang.String name,
int start,
int end)
|
static java.util.List<DLFileRank> |
findByF_N(long folderId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank[] |
findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<DLFileRank> |
findByG_U(long groupId,
long userId)
|
static java.util.List<DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end)
|
static java.util.List<DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank |
findByPrimaryKey(long fileRankId)
|
static DLFileRank |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static DLFileRank[] |
findByUserId_PrevAndNext(long fileRankId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<DLFileRank> |
findByUserId(long userId)
|
static java.util.List<DLFileRank> |
findByUserId(long userId,
int start,
int end)
|
static java.util.List<DLFileRank> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static DLFileRankPersistence |
getPersistence()
|
static DLFileRank |
remove(DLFileRank dlFileRank)
|
static DLFileRank |
remove(long fileRankId)
|
static void |
removeAll()
|
static void |
removeByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name)
|
static void |
removeByF_N(long folderId,
java.lang.String name)
|
static void |
removeByG_U(long groupId,
long userId)
|
static void |
removeByUserId(long userId)
|
void |
setPersistence(DLFileRankPersistence persistence)
|
static DLFileRank |
update(DLFileRank dlFileRank)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static DLFileRank |
update(DLFileRank dlFileRank,
boolean merge)
|
static DLFileRank |
updateImpl(DLFileRank dlFileRank,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileRankUtil
public DLFileRankUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(DLFileRank dlFileRank)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(DLFileRank)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static DLFileRank remove(DLFileRank dlFileRank)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static DLFileRank update(DLFileRank dlFileRank,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(DLFileRank dlFileRank)
cacheResult
public static void cacheResult(java.util.List<DLFileRank> dlFileRanks)
create
public static DLFileRank create(long fileRankId)
remove
public static DLFileRank remove(long fileRankId)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
update
public static DLFileRank update(DLFileRank dlFileRank)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static DLFileRank updateImpl(DLFileRank dlFileRank,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static DLFileRank findByPrimaryKey(long fileRankId)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
fetchByPrimaryKey
public static DLFileRank fetchByPrimaryKey(long fileRankId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List<DLFileRank> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List<DLFileRank> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List<DLFileRank> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
public static DLFileRank findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByUserId_Last
public static DLFileRank findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByUserId_PrevAndNext
public static DLFileRank[] findByUserId_PrevAndNext(long fileRankId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByG_U
public static java.util.List<DLFileRank> findByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public static java.util.List<DLFileRank> findByG_U(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public static java.util.List<DLFileRank> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U_First
public static DLFileRank findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByG_U_Last
public static DLFileRank findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByG_U_PrevAndNext
public static DLFileRank[] findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByF_N
public static java.util.List<DLFileRank> findByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_N
public static java.util.List<DLFileRank> findByF_N(long folderId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_N
public static java.util.List<DLFileRank> findByF_N(long folderId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_N_First
public static DLFileRank findByF_N_First(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByF_N_Last
public static DLFileRank findByF_N_Last(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByF_N_PrevAndNext
public static DLFileRank[] findByF_N_PrevAndNext(long fileRankId,
long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
findByC_U_F_N
public static DLFileRank findByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
fetchByC_U_F_N
public static DLFileRank fetchByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_U_F_N
public static DLFileRank fetchByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<DLFileRank> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<DLFileRank> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<DLFileRank> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
public static void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_U
public static void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByF_N
public static void removeByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_U_F_N
public static void removeByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchFileRankException
- Throws:
com.liferay.portal.SystemException
NoSuchFileRankException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
public static int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_U
public static int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByF_N
public static int countByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_U_F_N
public static int countByC_U_F_N(long companyId,
long userId,
long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static DLFileRankPersistence getPersistence()
setPersistence
public void setPersistence(DLFileRankPersistence persistence)