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.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, 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, 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.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.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.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_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.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, 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 = ?.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.DLFileEntryMetadatafindByPrimaryKey(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or throws aNoSuchFileEntryMetadataExceptionif it could not be found.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, 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_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 = ?.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.DLFileEntryMetadataremove(long fileEntryMetadataId) Removes the document library file entry metadata with the primary key 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, 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.DLFileEntryMetadataPersistence
fetchByD_F, fetchByERC_C, findByFileEntryId, findByFileEntryId, findByFileEntryId, findByFileVersionId, findByFileVersionId, findByFileVersionId, 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
-
DLFileEntryMetadataPersistenceImpl
public DLFileEntryMetadataPersistenceImpl()
-
-
Method Details
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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, 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
-
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
-
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,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
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,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
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
-
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.DLFileEntryMetadata,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
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
-
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,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
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,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
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,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>- Overrides:
getTableNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-
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,com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException>
-