public class DLFileRankPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>
implements com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence
Caching information and settings can be found in portal.properties
DLFileRankPersistence,
DLFileRankUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_U_F |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_FILEENTRYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_U_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_U_F |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
DLFileRankPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the document library file rank persistence.
|
void |
cacheResult(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
Caches the document library file rank in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> dlFileRanks)
Caches the document library file ranks in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) |
void |
clearCache()
Clears the cache for all document library file ranks.
|
void |
clearCache(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
Clears the cache for the document library file rank.
|
void |
clearCache(java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> dlFileRanks) |
protected void |
clearUniqueFindersCache(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) |
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 = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
create(long fileRankId)
Creates a new document library file rank with the primary key.
|
void |
destroy() |
com.liferay.portlet.documentlibrary.model.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. |
com.liferay.portlet.documentlibrary.model.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. |
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByFileEntryId_First(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where fileEntryId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByFileEntryId_Last(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where fileEntryId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByG_U_A_First(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByG_U_A_Last(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByPrimaryKey(long fileRankId)
Returns the document library file rank with the primary key or returns
null if it could not be found. |
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the document library file rank with the primary key or returns
null if it could not be found. |
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where userId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where userId = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findAll()
Returns all the document library file ranks.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findAll(int start,
int end)
Returns a range of all the document library file ranks.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks.
|
com.liferay.portlet.documentlibrary.model.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. |
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByFileEntryId_First(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where fileEntryId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByFileEntryId_Last(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where fileEntryId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank[] |
findByFileEntryId_PrevAndNext(long fileRankId,
long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where fileEntryId = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByFileEntryId(long fileEntryId)
Returns all the document library file ranks where fileEntryId = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file ranks where fileEntryId = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where fileEntryId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByG_U_A_First(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByG_U_A_Last(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank[] |
findByG_U_A_PrevAndNext(long fileRankId,
long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.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 = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active)
Returns all the document library file ranks where groupId = ? and userId = ? and active = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.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 = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ? and active = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank[] |
findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
com.liferay.portal.kernel.util.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 = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByG_U(long groupId,
long userId)
Returns all the document library file ranks where groupId = ? and userId = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.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 = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByPrimaryKey(long fileRankId)
Returns the document library file rank with the primary key or throws a
NoSuchFileRankException if it could not be found. |
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the document library file rank with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first document library file rank in the ordered set where userId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last document library file rank in the ordered set where userId = ?.
|
com.liferay.portlet.documentlibrary.model.DLFileRank[] |
findByUserId_PrevAndNext(long fileRankId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where userId = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByUserId(long userId)
Returns all the document library file ranks where userId = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the document library file ranks where userId = ?.
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the document library file ranks where userId = ?.
|
protected java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portlet.documentlibrary.model.DLFileRank |
getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.documentlibrary.model.DLFileRank |
getByG_U_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.documentlibrary.model.DLFileRank |
getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.documentlibrary.model.DLFileRank |
getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portlet.documentlibrary.model.DLFileRank |
remove(long fileRankId)
Removes the document library file rank with the primary key from the database.
|
com.liferay.portlet.documentlibrary.model.DLFileRank |
remove(java.io.Serializable primaryKey)
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.
|
com.liferay.portlet.documentlibrary.model.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.
|
protected com.liferay.portlet.documentlibrary.model.DLFileRank |
removeImpl(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) |
protected com.liferay.portlet.documentlibrary.model.DLFileRank |
toUnwrappedModel(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) |
com.liferay.portlet.documentlibrary.model.DLFileRank |
updateImpl(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_FILEENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_U_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_U_F
public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
findByUserId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - the user IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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.
findByUserId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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.
findByUserId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByUserId_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUserId_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByUserId_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUserId_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank[] findByUserId_PrevAndNext(long fileRankId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByUserId_PrevAndNext in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileRankId - the primary key of the current document library file rankuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.documentlibrary.model.DLFileRank getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
removeByUserId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - the user IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
countByUserId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceuserId - the user IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByFileEntryId(long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException
findByFileEntryId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - the file entry IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByFileEntryId(long fileEntryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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.
findByFileEntryId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByFileEntryId(long fileEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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.
findByFileEntryId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByFileEntryId_First(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByFileEntryId_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByFileEntryId_First(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByFileEntryId_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByFileEntryId_Last(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByFileEntryId_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByFileEntryId_Last(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByFileEntryId_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank[] findByFileEntryId_PrevAndNext(long fileRankId,
long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByFileEntryId_PrevAndNext in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileRankId - the primary key of the current document library file rankfileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.documentlibrary.model.DLFileRank getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByFileEntryId(long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException
removeByFileEntryId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - the file entry IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByFileEntryId(long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException
countByFileEntryId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileEntryId - the file entry IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_U in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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.
findByG_U in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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.
findByG_U in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByG_U_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_U_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByG_U_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_U_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank[] findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByG_U_PrevAndNext in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileRankId - 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)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.documentlibrary.model.DLFileRank getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_U in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_U in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
findByG_U_A in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.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.
findByG_U_A in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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.
findByG_U_A in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_A_First(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByG_U_A_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByG_U_A_First(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_U_A_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_A_Last(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByG_U_A_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByG_U_A_Last(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_U_A_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank[] findByG_U_A_PrevAndNext(long fileRankId,
long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
findByG_U_A_PrevAndNext in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileRankId - 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)com.liferay.portlet.documentlibrary.NoSuchFileRankException - if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.documentlibrary.model.DLFileRank getByG_U_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_U_A(long groupId,
long userId,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_U_A in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_U_A(long groupId,
long userId,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
countByG_U_A in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencegroupId - the group IDuserId - the user IDactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByC_U_F(long companyId,
long userId,
long fileEntryId)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException if it could not be found.findByC_U_F in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencecompanyId - the company IDuserId - the user IDfileEntryId - the file entry IDcom.liferay.portlet.documentlibrary.NoSuchFileRankException - if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F(long companyId,
long userId,
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByC_U_F in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencecompanyId - the company IDuserId - the user IDfileEntryId - the file entry IDnull if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F(long companyId,
long userId,
long fileEntryId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByC_U_F in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencecompanyId - the company IDuserId - the user IDfileEntryId - the file entry IDretrieveFromCache - whether to use the finder cachenull if a matching document library file rank could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank removeByC_U_F(long companyId,
long userId,
long fileEntryId)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
removeByC_U_F in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencecompanyId - the company IDuserId - the user IDfileEntryId - the file entry IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.documentlibrary.NoSuchFileRankExceptionpublic int countByC_U_F(long companyId,
long userId,
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException
countByC_U_F in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencecompanyId - the company IDuserId - the user IDfileEntryId - the file entry IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
cacheResult in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencedlFileRank - the document library file rankpublic void cacheResult(java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> dlFileRanks)
cacheResult in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencedlFileRanks - the document library file rankspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLFileRank>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>public void clearCache(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLFileRank>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>public void clearCache(java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> dlFileRanks)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLFileRank>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>protected void cacheUniqueFindersCache(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
protected void clearUniqueFindersCache(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
public com.liferay.portlet.documentlibrary.model.DLFileRank create(long fileRankId)
create in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileRankId - the primary key for the new document library file rankpublic com.liferay.portlet.documentlibrary.model.DLFileRank remove(long fileRankId)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileRankId - the primary key of the document library file rankcom.liferay.portlet.documentlibrary.NoSuchFileRankException - if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLFileRank>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>primaryKey - the primary key of the document library file rankcom.liferay.portlet.documentlibrary.NoSuchFileRankException - if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.documentlibrary.model.DLFileRank removeImpl(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.documentlibrary.model.DLFileRank updateImpl(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.documentlibrary.model.DLFileRank toUnwrappedModel(com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
public com.liferay.portlet.documentlibrary.model.DLFileRank findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLFileRank>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>primaryKey - the primary key of the document library file rankcom.liferay.portlet.documentlibrary.NoSuchFileRankException - if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank findByPrimaryKey(long fileRankId)
throws com.liferay.portlet.documentlibrary.NoSuchFileRankException,
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileRankId - the primary key of the document library file rankcom.liferay.portlet.documentlibrary.NoSuchFileRankException - if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLFileRank>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>primaryKey - the primary key of the document library file ranknull if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileRank fetchByPrimaryKey(long fileRankId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencefileRankId - the primary key of the document library file ranknull if a document library file rank with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.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.
findAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencestart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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.
findAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencestart - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileRank>public void afterPropertiesSet()
public void destroy()