Class DLFileEntryMetadataPersistenceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence,com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
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 entry metadata persistence.voidcacheResult(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) Caches the document library file entry metadata in the entity cache if it is enabled.voidcacheResult(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas) Caches the document library file entry metadatas in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl) voidClears the cache for all document library file entry metadatas.voidclearCache(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) Clears the cache for the document library file entry metadata.voidclearCache(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of document library file entry metadatas.intcountByD_F(long DDMStructureId, long fileVersionId) Returns the number of document library file entry metadatas where DDMStructureId = ? and fileVersionId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of document library file entry metadatas where externalReferenceCode = ? and companyId = ?.intcountByFileEntryId(long fileEntryId) Returns the number of document library file entry metadatas where fileEntryId = ?.intcountByFileVersionId(long fileVersionId) Returns the number of document library file entry metadatas where fileVersionId = ?.intcountByUuid(String uuid) Returns the number of document library file entry metadatas where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of document library file entry metadatas where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatacreate(long fileEntryMetadataId) Creates a new document library file entry metadata with the primary key.voiddestroy()com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByD_F(long DDMStructureId, long fileVersionId) Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByD_F(long DDMStructureId, long fileVersionId, boolean useFinderCache) Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByERC_C(String externalReferenceCode, long companyId) Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByPrimaryKey(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByPrimaryKey(Serializable primaryKey) Returns the document library file entry metadata with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.document.library.kernel.model.DLFileEntryMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys) com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findAll()Returns all the document library file entry metadatas.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findAll(int start, int end) Returns a range of all the document library file entry metadatas.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByD_F(long DDMStructureId, long fileVersionId) Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or throws aNoSuchFileEntryMetadataExceptionif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByERC_C(String externalReferenceCode, long companyId) Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or throws aNoSuchFileEntryMetadataExceptionif it could not be found.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByFileEntryId(long fileEntryId) Returns all the document library file entry metadatas where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByFileEntryId(long fileEntryId, int start, int end) Returns a range of all the document library file entry metadatas where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadata[]findByFileEntryId_PrevAndNext(long fileEntryMetadataId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByFileVersionId(long fileVersionId) Returns all the document library file entry metadatas where fileVersionId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByFileVersionId(long fileVersionId, int start, int end) Returns a range of all the document library file entry metadatas where fileVersionId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadata[]findByFileVersionId_PrevAndNext(long fileEntryMetadataId, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileVersionId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByPrimaryKey(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or throws aNoSuchFileEntryMetadataExceptionif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByPrimaryKey(Serializable primaryKey) Returns the document library file entry metadata with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByUuid(String uuid) Returns all the document library file entry metadatas where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByUuid(String uuid, int start, int end) Returns a range of all the document library file entry metadatas where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByUuid_C(String uuid, long companyId) Returns all the document library file entry metadatas where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the document library file entry metadatas where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadata[]findByUuid_C_PrevAndNext(long fileEntryMetadataId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadatafindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadata[]findByUuid_PrevAndNext(long fileEntryMetadataId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ?.protected com.liferay.document.library.kernel.model.DLFileEntryMetadatagetByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntryMetadatagetByFileVersionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntryMetadatagetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntryMetadatagetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.document.library.kernel.model.DLFileEntryMetadataremove(long fileEntryMetadataId) Removes the document library file entry metadata with the primary key from the database.com.liferay.document.library.kernel.model.DLFileEntryMetadataremove(Serializable primaryKey) Removes the document library file entry metadata with the primary key from the database.voidRemoves all the document library file entry metadatas from the database.com.liferay.document.library.kernel.model.DLFileEntryMetadataremoveByD_F(long DDMStructureId, long fileVersionId) Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database.com.liferay.document.library.kernel.model.DLFileEntryMetadataremoveByERC_C(String externalReferenceCode, long companyId) Removes the document library file entry metadata where externalReferenceCode = ? and companyId = ? from the database.voidremoveByFileEntryId(long fileEntryId) Removes all the document library file entry metadatas where fileEntryId = ? from the database.voidremoveByFileVersionId(long fileVersionId) Removes all the document library file entry metadatas where fileVersionId = ? from the database.voidremoveByUuid(String uuid) Removes all the document library file entry metadatas where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the document library file entry metadatas where uuid = ? and companyId = ? from the database.protected com.liferay.document.library.kernel.model.DLFileEntryMetadataremoveImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) com.liferay.document.library.kernel.model.DLFileEntryMetadataupdateImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, 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
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
DLFileEntryMetadataPersistenceImpl
public DLFileEntryMetadataPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the document library file entry metadatas where uuid = ?.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuid- Returns:
- the matching document library file entry metadatas
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid(String uuid, int start, int end) Returns a range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)- Returns:
- the range of matching document library file entry metadatas
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file entry metadatas
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (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 entry metadatas
-
findByUuid_First
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the first document library file entry metadata in the ordered set where uuid = ?.- Specified by:
findByUuid_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByUuid_First
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
findByUuid_Last
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the last document library file entry metadata in the ordered set where uuid = ?.- Specified by:
findByUuid_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByUuid_Last
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
findByUuid_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryMetadataId- the primary key of the current document library file entry metadatauuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a document library file entry metadata with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryMetadata getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous) -
removeByUuid
Removes all the document library file entry metadatas where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of document library file entry metadatas where uuid = ?.- Specified by:
countByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching document library file entry metadatas
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid_C(String uuid, long companyId) Returns all the document library file entry metadatas where uuid = ? and companyId = ?.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching document library file entry metadatas
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)- Returns:
- the range of matching document library file entry metadatas
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file entry metadatas
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (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 entry metadatas
-
findByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
findByUuid_C_Last
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByUuid_C_Last
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryMetadata[] findByUuid_C_PrevAndNext(long fileEntryMetadataId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryMetadataId- the primary key of the current document library file entry metadatauuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a document library file entry metadata with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryMetadata getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the document library file entry metadatas where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of document library file entry metadatas where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching document library file entry metadatas
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId) Returns all the document library file entry metadatas where fileEntryId = ?.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry ID- Returns:
- the matching document library file entry metadatas
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end) Returns a range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)- Returns:
- the range of matching document library file entry metadatas
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file entry metadatas
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas 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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (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 entry metadatas
-
findByFileEntryId_First
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.- Specified by:
findByFileEntryId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByFileEntryId_First
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.- Specified by:
fetchByFileEntryId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
findByFileEntryId_Last
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.- Specified by:
findByFileEntryId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByFileEntryId_Last
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.- Specified by:
fetchByFileEntryId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
findByFileEntryId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileEntryId = ?.- Specified by:
findByFileEntryId_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryMetadataId- the primary key of the current document library file entry metadatafileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a document library file entry metadata with the primary key could not be found
-
getByFileEntryId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryMetadata getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous) -
removeByFileEntryId
public void removeByFileEntryId(long fileEntryId) Removes all the document library file entry metadatas where fileEntryId = ? from the database.- Specified by:
removeByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry ID
-
countByFileEntryId
public int countByFileEntryId(long fileEntryId) Returns the number of document library file entry metadatas where fileEntryId = ?.- Specified by:
countByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryId- the file entry ID- Returns:
- the number of matching document library file entry metadatas
-
findByFileVersionId
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId) Returns all the document library file entry metadatas where fileVersionId = ?.- Specified by:
findByFileVersionIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version ID- Returns:
- the matching document library file entry metadatas
-
findByFileVersionId
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end) Returns a range of all the document library file entry metadatas where fileVersionId = ?.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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByFileVersionIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)- Returns:
- the range of matching document library file entry metadatas
-
findByFileVersionId
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByFileVersionIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file entry metadatas
-
findByFileVersionId
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.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 fromDLFileEntryMetadataModelImpl.- Specified by:
findByFileVersionIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version IDstart- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (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 entry metadatas
-
findByFileVersionId_First
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.- Specified by:
findByFileVersionId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByFileVersionId_First
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.- Specified by:
fetchByFileVersionId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
findByFileVersionId_Last
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.- Specified by:
findByFileVersionId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByFileVersionId_Last
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.- Specified by:
fetchByFileVersionId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
findByFileVersionId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileVersionId = ?.- Specified by:
findByFileVersionId_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryMetadataId- the primary key of the current document library file entry metadatafileVersionId- the file version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a document library file entry metadata with the primary key could not be found
-
getByFileVersionId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryMetadata getByFileVersionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous) -
removeByFileVersionId
public void removeByFileVersionId(long fileVersionId) Removes all the document library file entry metadatas where fileVersionId = ? from the database.- Specified by:
removeByFileVersionIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version ID
-
countByFileVersionId
public int countByFileVersionId(long fileVersionId) Returns the number of document library file entry metadatas where fileVersionId = ?.- Specified by:
countByFileVersionIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileVersionId- the file version ID- Returns:
- the number of matching document library file entry metadatas
-
findByD_F
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByD_F(long DDMStructureId, long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or throws aNoSuchFileEntryMetadataExceptionif it could not be found.- Specified by:
findByD_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
DDMStructureId- the ddm structure IDfileVersionId- the file version ID- Returns:
- the matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByD_F
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId) Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByD_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
DDMStructureId- the ddm structure IDfileVersionId- the file version ID- Returns:
- the matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
fetchByD_F
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId, boolean useFinderCache) Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByD_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
DDMStructureId- the ddm structure IDfileVersionId- the file version IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
removeByD_F
public com.liferay.document.library.kernel.model.DLFileEntryMetadata removeByD_F(long DDMStructureId, long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database.- Specified by:
removeByD_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
DDMStructureId- the ddm structure IDfileVersionId- the file version ID- Returns:
- the document library file entry metadata that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
-
countByD_F
public int countByD_F(long DDMStructureId, long fileVersionId) Returns the number of document library file entry metadatas where DDMStructureId = ? and fileVersionId = ?.- Specified by:
countByD_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
DDMStructureId- the ddm structure IDfileVersionId- the file version ID- Returns:
- the number of matching document library file entry metadatas
-
findByERC_C
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByERC_C(String externalReferenceCode, long companyId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or throws aNoSuchFileEntryMetadataExceptionif it could not be found.- Specified by:
findByERC_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a matching document library file entry metadata could not be found
-
fetchByERC_C
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByERC_C(String externalReferenceCode, long companyId) Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByERC_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
fetchByERC_C
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file entry metadata, or
nullif a matching document library file entry metadata could not be found
-
removeByERC_C
public com.liferay.document.library.kernel.model.DLFileEntryMetadata removeByERC_C(String externalReferenceCode, long companyId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Removes the document library file entry metadata where externalReferenceCode = ? and companyId = ? from the database.- Specified by:
removeByERC_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the document library file entry metadata that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
-
countByERC_C
Returns the number of document library file entry metadatas where externalReferenceCode = ? and companyId = ?.- Specified by:
countByERC_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching document library file entry metadatas
-
cacheResult
public void cacheResult(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) Caches the document library file entry metadata in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Parameters:
dlFileEntryMetadata- the document library file entry metadata
-
cacheResult
public void cacheResult(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas) Caches the document library file entry metadatas in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
dlFileEntryMetadatas- the document library file entry metadatas
-
clearCache
public void clearCache()Clears the cache for all document library file entry metadatas.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
clearCache
public void clearCache(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) Clears the cache for the document library file entry metadata.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
clearCache
public void clearCache(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas) - Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
cacheUniqueFindersCache
-
create
public com.liferay.document.library.kernel.model.DLFileEntryMetadata create(long fileEntryMetadataId) Creates a new document library file entry metadata with the primary key. Does not add the document library file entry metadata to the database.- Specified by:
createin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryMetadataId- the primary key for the new document library file entry metadata- Returns:
- the new document library file entry metadata
-
remove
public com.liferay.document.library.kernel.model.DLFileEntryMetadata remove(long fileEntryMetadataId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Removes the document library file entry metadata with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryMetadataId- the primary key of the document library file entry metadata- Returns:
- the document library file entry metadata that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a document library file entry metadata with the primary key could not be found
-
remove
public com.liferay.document.library.kernel.model.DLFileEntryMetadata remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Removes the document library file entry metadata with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Parameters:
primaryKey- the primary key of the document library file entry metadata- Returns:
- the document library file entry metadata that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a document library file entry metadata with the primary key could not be found
-
removeImpl
protected com.liferay.document.library.kernel.model.DLFileEntryMetadata removeImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
updateImpl
public com.liferay.document.library.kernel.model.DLFileEntryMetadata updateImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) - Specified by:
updateImplin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the document library file entry metadata with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Parameters:
primaryKey- the primary key of the document library file entry metadata- Returns:
- the document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a document library file entry metadata with the primary key could not be found
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException Returns the document library file entry metadata with the primary key or throws aNoSuchFileEntryMetadataExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryMetadataId- the primary key of the document library file entry metadata- Returns:
- the document library file entry metadata
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException- if a document library file entry metadata with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByPrimaryKey(Serializable primaryKey) Returns the document library file entry metadata with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Parameters:
primaryKey- the primary key of the document library file entry metadata- Returns:
- the document library file entry metadata, or
nullif a document library file entry metadata with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByPrimaryKey(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
fileEntryMetadataId- the primary key of the document library file entry metadata- Returns:
- the document library file entry metadata, or
nullif a document library file entry metadata with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.document.library.kernel.model.DLFileEntryMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
findAll
Returns all the document library file entry metadatas.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Returns:
- the document library file entry metadatas
-
findAll
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findAll(int start, int end) Returns a range of all the document library file entry metadatas.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 fromDLFileEntryMetadataModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
start- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)- Returns:
- the range of document library file entry metadatas
-
findAll
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas.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 fromDLFileEntryMetadataModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
start- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of document library file entry metadatas
-
findAll
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas.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 fromDLFileEntryMetadataModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Parameters:
start- the lower bound of the range of document library file entry metadatasend- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of document library file entry metadatas
-
removeAll
public void removeAll()Removes all the document library file entry metadatas from the database.- Specified by:
removeAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
-
countAll
public int countAll()Returns the number of document library file entry metadatas.- Specified by:
countAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence- Returns:
- the number of document library file entry metadatas
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
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.DLFileEntryMetadata>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
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.DLFileEntryMetadata>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the document library file entry metadata 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.DLFileEntryMetadata>
-