@ProviderType
public class DLFileRankPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
implements com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
Caching information and settings can be found in portal.properties
DLFileRankPersistence
,
DLFileRankUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static 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 |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, 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.document.library.kernel.model.DLFileRank dlFileRank)
Caches the document library file rank in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.document.library.kernel.model.DLFileRank> dlFileRanks)
Caches the document library file ranks in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(DLFileRankModelImpl dlFileRankModelImpl) |
void |
clearCache()
Clears the cache for all document library file ranks.
|
void |
clearCache(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
Clears the cache for the document library file rank.
|
void |
clearCache(List<com.liferay.document.library.kernel.model.DLFileRank> dlFileRanks) |
protected void |
clearUniqueFindersCache(DLFileRankModelImpl dlFileRankModelImpl,
boolean clearCurrent) |
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.document.library.kernel.model.DLFileRank |
create(long fileRankId)
Creates a new document library file rank with the primary key.
|
void |
destroy() |
com.liferay.document.library.kernel.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.document.library.kernel.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.document.library.kernel.model.DLFileRank |
fetchByFileEntryId_First(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where fileEntryId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
fetchByFileEntryId_Last(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where fileEntryId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
fetchByG_U_A_First(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
fetchByG_U_A_Last(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
fetchByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
fetchByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ?.
|
com.liferay.document.library.kernel.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.document.library.kernel.model.DLFileRank |
fetchByPrimaryKey(Serializable primaryKey)
Returns the document library file rank with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.document.library.kernel.model.DLFileRank> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.document.library.kernel.model.DLFileRank |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where userId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where userId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findAll()
Returns all the document library file ranks.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findAll(int start,
int end)
Returns a range of all the document library file ranks.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks.
|
com.liferay.document.library.kernel.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.document.library.kernel.model.DLFileRank |
findByFileEntryId_First(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where fileEntryId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
findByFileEntryId_Last(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where fileEntryId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank[] |
findByFileEntryId_PrevAndNext(long fileRankId,
long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where fileEntryId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByFileEntryId(long fileEntryId)
Returns all the document library file ranks where fileEntryId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file ranks where fileEntryId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks where fileEntryId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByFileEntryId(long fileEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks where fileEntryId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
findByG_U_A_First(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
findByG_U_A_Last(long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
com.liferay.document.library.kernel.model.DLFileRank[] |
findByG_U_A_PrevAndNext(long fileRankId,
long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where groupId = ? and userId = ? and active = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active)
Returns all the document library file ranks where groupId = ? and userId = ? and active = ?.
|
List<com.liferay.document.library.kernel.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 = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ? and active = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByG_U_A(long groupId,
long userId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ? and active = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where groupId = ? and userId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where groupId = ? and userId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank[] |
findByG_U_PrevAndNext(long fileRankId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where groupId = ? and userId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByG_U(long groupId,
long userId)
Returns all the document library file ranks where groupId = ? and userId = ?.
|
List<com.liferay.document.library.kernel.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 = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks where groupId = ? and userId = ?.
|
com.liferay.document.library.kernel.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.document.library.kernel.model.DLFileRank |
findByPrimaryKey(Serializable primaryKey)
Returns the document library file rank with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.document.library.kernel.model.DLFileRank |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the first document library file rank in the ordered set where userId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the last document library file rank in the ordered set where userId = ?.
|
com.liferay.document.library.kernel.model.DLFileRank[] |
findByUserId_PrevAndNext(long fileRankId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns the document library file ranks before and after the current document library file rank in the ordered set where userId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByUserId(long userId)
Returns all the document library file ranks where userId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the document library file ranks where userId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Returns an ordered range of all the document library file ranks where userId = ?.
|
List<com.liferay.document.library.kernel.model.DLFileRank> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file ranks where userId = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.document.library.kernel.model.DLFileRank |
getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.document.library.kernel.model.DLFileRank dlFileRank,
long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean previous) |
protected com.liferay.document.library.kernel.model.DLFileRank |
getByG_U_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.document.library.kernel.model.DLFileRank dlFileRank,
long groupId,
long userId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean previous) |
protected com.liferay.document.library.kernel.model.DLFileRank |
getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.document.library.kernel.model.DLFileRank dlFileRank,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean previous) |
protected com.liferay.document.library.kernel.model.DLFileRank |
getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.document.library.kernel.model.DLFileRank dlFileRank,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.document.library.kernel.model.DLFileRank |
remove(long fileRankId)
Removes the document library file rank with the primary key from the database.
|
com.liferay.document.library.kernel.model.DLFileRank |
remove(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.document.library.kernel.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.document.library.kernel.model.DLFileRank |
removeImpl(com.liferay.document.library.kernel.model.DLFileRank dlFileRank) |
com.liferay.document.library.kernel.model.DLFileRank |
updateImpl(com.liferay.document.library.kernel.model.DLFileRank dlFileRank) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final 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
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public List<com.liferay.document.library.kernel.model.DLFileRank> findByUserId(long userId)
findByUserId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
userId
- the user IDpublic List<com.liferay.document.library.kernel.model.DLFileRank> findByUserId(long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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)public List<com.liferay.document.library.kernel.model.DLFileRank> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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
)public List<com.liferay.document.library.kernel.model.DLFileRank> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
userId
- the user IDstart
- the lower bound of the range of document library file ranksend
- the upper bound of the range of document library file ranks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.document.library.kernel.model.DLFileRank findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByUserId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
fetchByUserId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByUserId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
fetchByUserId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank[] findByUserId_PrevAndNext(long fileRankId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByUserId_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileRankId
- the primary key of the current document library file rankuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a document library file rank with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLFileRank getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileRank dlFileRank, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean previous)
public void removeByUserId(long userId)
removeByUserId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
userId
- the user IDpublic int countByUserId(long userId)
countByUserId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
userId
- the user IDpublic List<com.liferay.document.library.kernel.model.DLFileRank> findByFileEntryId(long fileEntryId)
findByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileEntryId
- the file entry IDpublic List<com.liferay.document.library.kernel.model.DLFileRank> findByFileEntryId(long fileEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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)public List<com.liferay.document.library.kernel.model.DLFileRank> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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
)public List<com.liferay.document.library.kernel.model.DLFileRank> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileEntryId
- the file entry IDstart
- the lower bound of the range of document library file ranksend
- the upper bound of the range of document library file ranks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.document.library.kernel.model.DLFileRank findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByFileEntryId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
fetchByFileEntryId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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 foundpublic com.liferay.document.library.kernel.model.DLFileRank findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByFileEntryId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
fetchByFileEntryId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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 foundpublic com.liferay.document.library.kernel.model.DLFileRank[] findByFileEntryId_PrevAndNext(long fileRankId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByFileEntryId_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileRankId
- 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.document.library.kernel.exception.NoSuchFileRankException
- if a document library file rank with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLFileRank getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileRank dlFileRank, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean previous)
public void removeByFileEntryId(long fileEntryId)
removeByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileEntryId
- the file entry IDpublic int countByFileEntryId(long fileEntryId)
countByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileEntryId
- the file entry IDpublic List<com.liferay.document.library.kernel.model.DLFileRank> findByG_U(long groupId, long userId)
findByG_U
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDpublic List<com.liferay.document.library.kernel.model.DLFileRank> findByG_U(long groupId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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)public List<com.liferay.document.library.kernel.model.DLFileRank> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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
)public List<com.liferay.document.library.kernel.model.DLFileRank> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file ranksend
- the upper bound of the range of document library file ranks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.document.library.kernel.model.DLFileRank findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByG_U_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
fetchByG_U_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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 foundpublic com.liferay.document.library.kernel.model.DLFileRank findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByG_U_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
fetchByG_U_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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 foundpublic com.liferay.document.library.kernel.model.DLFileRank[] findByG_U_PrevAndNext(long fileRankId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByG_U_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a document library file rank with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLFileRank getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileRank dlFileRank, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean previous)
public void removeByG_U(long groupId, long userId)
removeByG_U
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDpublic int countByG_U(long groupId, long userId)
countByG_U
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDpublic List<com.liferay.document.library.kernel.model.DLFileRank> findByG_U_A(long groupId, long userId, boolean active)
findByG_U_A
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDactive
- the activepublic List<com.liferay.document.library.kernel.model.DLFileRank> findByG_U_A(long groupId, long userId, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_A
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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)public List<com.liferay.document.library.kernel.model.DLFileRank> findByG_U_A(long groupId, long userId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_A
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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
)public List<com.liferay.document.library.kernel.model.DLFileRank> findByG_U_A(long groupId, long userId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_A
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDactive
- the activestart
- the lower bound of the range of document library file ranksend
- the upper bound of the range of document library file ranks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.document.library.kernel.model.DLFileRank findByG_U_A_First(long groupId, long userId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByG_U_A_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByG_U_A_First(long groupId, long userId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
fetchByG_U_A_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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 foundpublic com.liferay.document.library.kernel.model.DLFileRank findByG_U_A_Last(long groupId, long userId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByG_U_A_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByG_U_A_Last(long groupId, long userId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
fetchByG_U_A_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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 foundpublic com.liferay.document.library.kernel.model.DLFileRank[] findByG_U_A_PrevAndNext(long fileRankId, long groupId, long userId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
findByG_U_A_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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
)com.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a document library file rank with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLFileRank getByG_U_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileRank dlFileRank, long groupId, long userId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean previous)
public void removeByG_U_A(long groupId, long userId, boolean active)
removeByG_U_A
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDactive
- the activepublic int countByG_U_A(long groupId, long userId, boolean active)
countByG_U_A
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
groupId
- the group IDuserId
- the user IDactive
- the activepublic com.liferay.document.library.kernel.model.DLFileRank findByC_U_F(long companyId, long userId, long fileEntryId) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
NoSuchFileRankException
if it could not be found.findByC_U_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
companyId
- the company IDuserId
- the user IDfileEntryId
- the file entry IDcom.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByC_U_F(long companyId, long userId, long fileEntryId)
null
if it could not be found. Uses the finder cache.fetchByC_U_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
companyId
- the company IDuserId
- the user IDfileEntryId
- the file entry IDnull
if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByC_U_F(long companyId, long userId, long fileEntryId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByC_U_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
companyId
- the company IDuserId
- the user IDfileEntryId
- the file entry IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file rank could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank removeByC_U_F(long companyId, long userId, long fileEntryId) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
removeByC_U_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
companyId
- the company IDuserId
- the user IDfileEntryId
- the file entry IDcom.liferay.document.library.kernel.exception.NoSuchFileRankException
public int countByC_U_F(long companyId, long userId, long fileEntryId)
countByC_U_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
companyId
- the company IDuserId
- the user IDfileEntryId
- the file entry IDpublic void cacheResult(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
cacheResult
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
dlFileRank
- the document library file rankpublic void cacheResult(List<com.liferay.document.library.kernel.model.DLFileRank> dlFileRanks)
cacheResult
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
dlFileRanks
- the document library file rankspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileRank>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
public void clearCache(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileRank>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
public void clearCache(List<com.liferay.document.library.kernel.model.DLFileRank> dlFileRanks)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileRank>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
protected void cacheUniqueFindersCache(DLFileRankModelImpl dlFileRankModelImpl)
protected void clearUniqueFindersCache(DLFileRankModelImpl dlFileRankModelImpl, boolean clearCurrent)
public com.liferay.document.library.kernel.model.DLFileRank create(long fileRankId)
create
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileRankId
- the primary key for the new document library file rankpublic com.liferay.document.library.kernel.model.DLFileRank remove(long fileRankId) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
remove
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileRankId
- the primary key of the document library file rankcom.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a document library file rank with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileRank>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
primaryKey
- the primary key of the document library file rankcom.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a document library file rank with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLFileRank removeImpl(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
public com.liferay.document.library.kernel.model.DLFileRank updateImpl(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
updateImpl
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
public com.liferay.document.library.kernel.model.DLFileRank findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileRank>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
primaryKey
- the primary key of the document library file rankcom.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a document library file rank with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank findByPrimaryKey(long fileRankId) throws com.liferay.document.library.kernel.exception.NoSuchFileRankException
NoSuchFileRankException
if it could not be found.findByPrimaryKey
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileRankId
- the primary key of the document library file rankcom.liferay.document.library.kernel.exception.NoSuchFileRankException
- if a document library file rank with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileRank>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.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 foundpublic com.liferay.document.library.kernel.model.DLFileRank fetchByPrimaryKey(long fileRankId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fileRankId
- the primary key of the document library file ranknull
if a document library file rank with the primary key could not be foundpublic Map<Serializable,com.liferay.document.library.kernel.model.DLFileRank> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileRank>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
public List<com.liferay.document.library.kernel.model.DLFileRank> findAll()
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
public List<com.liferay.document.library.kernel.model.DLFileRank> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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)public List<com.liferay.document.library.kernel.model.DLFileRank> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
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
)public List<com.liferay.document.library.kernel.model.DLFileRank> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileRank> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileRankModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
start
- the lower bound of the range of document library file ranksend
- the upper bound of the range of document library file ranks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
public int countAll()
countAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileRank>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileRank>
public void afterPropertiesSet()
public void destroy()