Class DLFileVersionPersistenceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence,com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the document library file version persistence.intcountByC_E_S(long companyId, Date expirationDate, int status) Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.intcountByC_E_S(long companyId, Date expirationDate, int[] statuses) Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = any ?.intcountByC_NotS(long companyId, int status) Returns the number of document library file versions where companyId = ? and status ≠ ?.intcountByC_SU(long companyId, String storeUUID) Returns the number of document library file versions where companyId = ? and storeUUID = ?.intcountByCompanyId(long companyId) Returns the number of document library file versions where companyId = ?.intcountByF_S(long fileEntryId, int status) Returns the number of document library file versions where fileEntryId = ? and status = ?.intcountByF_S(long fileEntryId, int[] statuses) Returns the number of document library file versions where fileEntryId = ? and status = any ?.intcountByF_V(long fileEntryId, String version) Returns the number of document library file versions where fileEntryId = ? and version = ?.intcountByFileEntryId(long fileEntryId) Returns the number of document library file versions where fileEntryId = ?.intcountByG_F_S(long groupId, long folderId, int status) Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.intcountByG_F_T_V(long groupId, long folderId, String title, String version) Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.intcountByLtD_S(Date displayDate, int status) Returns the number of document library file versions where displayDate < ? and status = ?.intcountByMimeType(String mimeType) Returns the number of document library file versions where mimeType = ?.intcountByUuid(String uuid) Returns the number of document library file versions where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of document library file versions where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of document library file versions where uuid = ? and groupId = ?.com.liferay.document.library.kernel.model.DLFileVersioncreate(long fileVersionId) Creates a new document library file version with the primary key.voiddestroy()com.liferay.document.library.kernel.model.DLFileVersionfetchByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByF_V(long fileEntryId, String version, boolean useFinderCache) Returns the document library file version where fileEntryId = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileVersionfetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByPrimaryKey(long fileVersionId) Returns the document library file version with the primary key or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileVersionfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the document library file version where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?, optionally using the finder cache.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_NotS(long companyId, int status) Returns all the document library file versions where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_NotS(long companyId, int status, int start, int end) Returns a range of all the document library file versions where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?, optionally using the finder cache.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionReturns the document library file version where fileEntryId = ? and version = ? or throws aNoSuchFileVersionExceptionif it could not be found.List<com.liferay.document.library.kernel.model.DLFileVersion>findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByLtD_S(Date displayDate, int status) Returns all the document library file versions where displayDate < ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the document library file versions where displayDate < ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByPrimaryKey(long fileVersionId) Returns the document library file version with the primary key or throws aNoSuchFileVersionExceptionif it could not be found.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByUUID_G(String uuid, long groupId) Returns the document library file version where uuid = ? and groupId = ? or throws aNoSuchFileVersionExceptionif it could not be found.getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelperprotected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.document.library.kernel.model.DLFileVersionremove(long fileVersionId) Removes the document library file version with the primary key from the database.voidremoveByC_E_S(long companyId, Date expirationDate, int status) Removes all the document library file versions where companyId = ? and expirationDate = ? and status = ? from the database.voidremoveByC_NotS(long companyId, int status) Removes all the document library file versions where companyId = ? and status ≠ ? from the database.voidremoveByC_SU(long companyId, String storeUUID) Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.voidremoveByCompanyId(long companyId) Removes all the document library file versions where companyId = ? from the database.voidremoveByF_S(long fileEntryId, int status) Removes all the document library file versions where fileEntryId = ? and status = ? from the database.com.liferay.document.library.kernel.model.DLFileVersionremoveByF_V(long fileEntryId, String version) Removes the document library file version where fileEntryId = ? and version = ? from the database.voidremoveByFileEntryId(long fileEntryId) Removes all the document library file versions where fileEntryId = ? from the database.voidremoveByG_F_S(long groupId, long folderId, int status) Removes all the document library file versions where groupId = ? and folderId = ? and status = ? from the database.voidremoveByG_F_T_V(long groupId, long folderId, String title, String version) Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.voidremoveByLtD_S(Date displayDate, int status) Removes all the document library file versions where displayDate < ? and status = ? from the database.voidremoveByMimeType(String mimeType) Removes all the document library file versions where mimeType = ? from the database.voidremoveByUuid(String uuid) Removes all the document library file versions where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the document library file versions where uuid = ? and companyId = ? from the database.com.liferay.document.library.kernel.model.DLFileVersionremoveByUUID_G(String uuid, long groupId) Removes the document library file version where uuid = ? and groupId = ? from the database.protected com.liferay.document.library.kernel.model.DLFileVersionremoveImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) com.liferay.document.library.kernel.model.DLFileVersionupdateImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, cacheResult, cacheResult, cacheUniqueFindersResult, clearCache, clearCache, clearCache, clearCache, closeSession, convertCaseFunction, convertDateFunction, convertNullFunction, countAll, countWithDynamicQuery, countWithDynamicQuery, createUniqueFinderPath, dslQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDefaultOrderBySQL, getDefaultOrderBySQLInlineDistinct, getDialect, getEntityAlias, getEntityAliasPrefix, getFilterPKColumnName, getListeners, getModelClass, getModelImplClass, getNoSuchEntityWithKeyPrefix, getPKColumnName, getPKFieldName, isPermissionsInMemoryFilterEnabled, newNoSuchModelException, openNewSession, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
fetchByF_V, fetchByUUID_G, findByC_E_S, findByC_E_S, findByC_E_S, findByC_E_S, findByC_E_S, findByC_E_S, findByC_SU, findByC_SU, findByC_SU, findByCompanyId, findByCompanyId, findByCompanyId, findByF_S, findByF_S, findByF_S, findByF_S, findByF_S, findByF_S, findByFileEntryId, findByFileEntryId, findByFileEntryId, findByG_F_S, findByG_F_S, findByG_F_S, findByG_F_T_V, findByG_F_T_V, findByG_F_T_V, findByMimeType, findByMimeType, findByMimeType, findByUuid, findByUuid, findByUuid, findByUuid_C, findByUuid_C, findByUuid_C
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
DLFileVersionPersistenceImpl
public DLFileVersionPersistenceImpl()
-
-
Method Details
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByUuid_First
public com.liferay.document.library.kernel.model.DLFileVersion findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where uuid = ?.- Specified by:
findByUuid_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByUuid_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByUuid
Removes all the document library file versions where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of document library file versions where uuid = ?.- Specified by:
countByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching document library file versions
-
findByUUID_G
public com.liferay.document.library.kernel.model.DLFileVersion findByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file version where uuid = ? and groupId = ? or throws aNoSuchFileVersionExceptionif it could not be found.- Specified by:
findByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByUUID_G
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the document library file version where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file version, or
nullif a matching document library file version could not be found
-
removeByUUID_G
public com.liferay.document.library.kernel.model.DLFileVersion removeByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Removes the document library file version where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the document library file version that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException
-
countByUUID_G
Returns the number of document library file versions where uuid = ? and groupId = ?.- Specified by:
countByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching document library file versions
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileVersion findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByUuid_C
Removes all the document library file versions where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of document library file versions where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching document library file versions
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByCompanyId_First
public com.liferay.document.library.kernel.model.DLFileVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByCompanyId_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the document library file versions where companyId = ? from the database.- Specified by:
removeByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of document library file versions where companyId = ?.- Specified by:
countByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching document library file versions
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByFileEntryId_First
public com.liferay.document.library.kernel.model.DLFileVersion findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where fileEntryId = ?.- Specified by:
findByFileEntryId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByFileEntryId_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.- Specified by:
fetchByFileEntryId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByFileEntryId
public void removeByFileEntryId(long fileEntryId) Removes all the document library file versions where fileEntryId = ? from the database.- Specified by:
removeByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry ID
-
countByFileEntryId
public int countByFileEntryId(long fileEntryId) Returns the number of document library file versions where fileEntryId = ?.- Specified by:
countByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry ID- Returns:
- the number of matching document library file versions
-
findByMimeType
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where mimeType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typestart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByMimeType_First
public com.liferay.document.library.kernel.model.DLFileVersion findByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where mimeType = ?.- Specified by:
findByMimeType_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByMimeType_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.- Specified by:
fetchByMimeType_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByMimeType
Removes all the document library file versions where mimeType = ? from the database.- Specified by:
removeByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime type
-
countByMimeType
Returns the number of document library file versions where mimeType = ?.- Specified by:
countByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime type- Returns:
- the number of matching document library file versions
-
findByC_SU
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByC_SU_First
public com.liferay.document.library.kernel.model.DLFileVersion findByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.- Specified by:
findByC_SU_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_SU_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.- Specified by:
fetchByC_SU_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByC_SU
Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.- Specified by:
removeByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuid
-
countByC_SU
Returns the number of document library file versions where companyId = ? and storeUUID = ?.- Specified by:
countByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuid- Returns:
- the number of matching document library file versions
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status) Returns all the document library file versions where companyId = ? and status ≠ ?.- Specified by:
findByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the status- Returns:
- the matching document library file versions
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end) Returns a range of all the document library file versions where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByC_NotS_First
public com.liferay.document.library.kernel.model.DLFileVersion findByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.- Specified by:
findByC_NotS_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_NotS_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.- Specified by:
fetchByC_NotS_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByC_NotS
public void removeByC_NotS(long companyId, int status) Removes all the document library file versions where companyId = ? and status ≠ ? from the database.- Specified by:
removeByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the status
-
countByC_NotS
public int countByC_NotS(long companyId, int status) Returns the number of document library file versions where companyId = ? and status ≠ ?.- Specified by:
countByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the status- Returns:
- the number of matching document library file versions
-
findByF_V
public com.liferay.document.library.kernel.model.DLFileVersion findByF_V(long fileEntryId, String version) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file version where fileEntryId = ? and version = ? or throws aNoSuchFileVersionExceptionif it could not be found.- Specified by:
findByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the version- Returns:
- the matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByF_V
public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_V(long fileEntryId, String version, boolean useFinderCache) Returns the document library file version where fileEntryId = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the versionuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file version, or
nullif a matching document library file version could not be found
-
removeByF_V
public com.liferay.document.library.kernel.model.DLFileVersion removeByF_V(long fileEntryId, String version) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Removes the document library file version where fileEntryId = ? and version = ? from the database.- Specified by:
removeByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the version- Returns:
- the document library file version that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException
-
countByF_V
Returns the number of document library file versions where fileEntryId = ? and version = ?.- Specified by:
countByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the version- Returns:
- the number of matching document library file versions
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByF_S_First
public com.liferay.document.library.kernel.model.DLFileVersion findByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.- Specified by:
findByF_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByF_S_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.- Specified by:
fetchByF_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatuses- the statusesstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
removeByF_S
public void removeByF_S(long fileEntryId, int status) Removes all the document library file versions where fileEntryId = ? and status = ? from the database.- Specified by:
removeByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the status
-
countByF_S
public int countByF_S(long fileEntryId, int status) Returns the number of document library file versions where fileEntryId = ? and status = ?.- Specified by:
countByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the status- Returns:
- the number of matching document library file versions
-
countByF_S
public int countByF_S(long fileEntryId, int[] statuses) Returns the number of document library file versions where fileEntryId = ? and status = any ?.- Specified by:
countByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatuses- the statuses- Returns:
- the number of matching document library file versions
-
findByLtD_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status) Returns all the document library file versions where displayDate < ? and status = ?.- Specified by:
findByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the status- Returns:
- the matching document library file versions
-
findByLtD_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the document library file versions where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByLtD_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByLtD_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByLtD_S_First
public com.liferay.document.library.kernel.model.DLFileVersion findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where displayDate < ? and status = ?.- Specified by:
findByLtD_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByLtD_S_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.- Specified by:
fetchByLtD_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByLtD_S
Removes all the document library file versions where displayDate < ? and status = ? from the database.- Specified by:
removeByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the status
-
countByLtD_S
Returns the number of document library file versions where displayDate < ? and status = ?.- Specified by:
countByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the status- Returns:
- the number of matching document library file versions
-
findByG_F_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByG_F_S_First
public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- Specified by:
findByG_F_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByG_F_S_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- Specified by:
fetchByG_F_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByG_F_S
public void removeByG_F_S(long groupId, long folderId, int status) Removes all the document library file versions where groupId = ? and folderId = ? and status = ? from the database.- Specified by:
removeByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the status
-
countByG_F_S
public int countByG_F_S(long groupId, long folderId, int status) Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.- Specified by:
countByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the status- Returns:
- the number of matching document library file versions
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByC_E_S_First
public com.liferay.document.library.kernel.model.DLFileVersion findByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- Specified by:
findByC_E_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_E_S_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- Specified by:
fetchByC_E_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatuses- the statusesstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
removeByC_E_S
Removes all the document library file versions where companyId = ? and expirationDate = ? and status = ? from the database.- Specified by:
removeByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the status
-
countByC_E_S
Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.- Specified by:
countByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the status- Returns:
- the number of matching document library file versions
-
countByC_E_S
Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = any ?.- Specified by:
countByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatuses- the statuses- Returns:
- the number of matching document library file versions
-
findByG_F_T_V
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByG_F_T_V_First
public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
findByG_F_T_V_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByG_F_T_V_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
fetchByG_F_T_V_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
removeByG_F_T_V
Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.- Specified by:
removeByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the version
-
countByG_F_T_V
Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
countByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the version- Returns:
- the number of matching document library file versions
-
create
public com.liferay.document.library.kernel.model.DLFileVersion create(long fileVersionId) Creates a new document library file version with the primary key. Does not add the document library file version to the database.- Specified by:
createin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key for the new document library file version- Returns:
- the new document library file version
-
remove
public com.liferay.document.library.kernel.model.DLFileVersion remove(long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Removes the document library file version with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the document library file version- Returns:
- the document library file version that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
removeImpl
protected com.liferay.document.library.kernel.model.DLFileVersion removeImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
updateImpl
public com.liferay.document.library.kernel.model.DLFileVersion updateImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) - Specified by:
updateImplin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileVersion findByPrimaryKey(long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file version with the primary key or throws aNoSuchFileVersionExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the document library file version- Returns:
- the document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getCTPersistenceHelper
protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper getCTPersistenceHelper()- Overrides:
getCTPersistenceHelperin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileVersion fetchByPrimaryKey(long fileVersionId) Returns the document library file version with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the document library file version- Returns:
- the document library file version, or
nullif a document library file version with the primary key could not be found
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
getTableNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the document library file version persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion,com.liferay.document.library.kernel.exception.NoSuchFileVersionException>
-