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 TypeMethodDescriptionvoid
Initializes the document library file entry metadata persistence.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.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.protected void
cacheUniqueFindersCache
(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl) void
Clears the cache for all document library file entry metadatas.void
clearCache
(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) Clears the cache for the document library file entry metadata.void
clearCache
(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of document library file entry metadatas.int
countByD_F
(long DDMStructureId, long fileVersionId) Returns the number of document library file entry metadatas where DDMStructureId = ? and fileVersionId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of document library file entry metadatas where externalReferenceCode = ? and companyId = ?.int
countByFileEntryId
(long fileEntryId) Returns the number of document library file entry metadatas where fileEntryId = ?.int
countByFileVersionId
(long fileVersionId) Returns the number of document library file entry metadatas where fileVersionId = ?.int
countByUuid
(String uuid) Returns the number of document library file entry metadatas where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of document library file entry metadatas where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadata
create
(long fileEntryMetadataId) Creates a new document library file entry metadata with the primary key.void
destroy()
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 returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.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 returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.com.liferay.document.library.kernel.model.DLFileEntryMetadata
fetchByPrimaryKey
(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntryMetadata
fetchByPrimaryKey
(Serializable primaryKey) Returns the document library file entry metadata with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.document.library.kernel.model.DLFileEntryMetadata> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.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 = ?.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.DLFileEntryMetadata
findByD_F
(long DDMStructureId, long fileVersionId) Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or throws aNoSuchFileEntryMetadataException
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntryMetadata
findByERC_C
(String externalReferenceCode, long companyId) Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or throws aNoSuchFileEntryMetadataException
if 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.DLFileEntryMetadata
findByFileEntryId_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.DLFileEntryMetadata
findByFileEntryId_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.DLFileEntryMetadata
findByFileVersionId_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.DLFileEntryMetadata
findByFileVersionId_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.DLFileEntryMetadata
findByPrimaryKey
(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or throws aNoSuchFileEntryMetadataException
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntryMetadata
findByPrimaryKey
(Serializable primaryKey) Returns the document library file entry metadata with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if 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.DLFileEntryMetadata
findByUuid_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.DLFileEntryMetadata
findByUuid_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.DLFileEntryMetadata
findByUuid_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.DLFileEntryMetadata
findByUuid_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.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) 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) 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) 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) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.document.library.kernel.model.DLFileEntryMetadata
remove
(long fileEntryMetadataId) Removes the document library file entry metadata with the primary key from the database.com.liferay.document.library.kernel.model.DLFileEntryMetadata
remove
(Serializable primaryKey) Removes the document library file entry metadata with the primary key from the database.void
Removes all the document library file entry metadatas from the database.com.liferay.document.library.kernel.model.DLFileEntryMetadata
removeByD_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.DLFileEntryMetadata
removeByERC_C
(String externalReferenceCode, long companyId) Removes the document library file entry metadata where externalReferenceCode = ? and companyId = ? from the database.void
removeByFileEntryId
(long fileEntryId) Removes all the document library file entry metadatas where fileEntryId = ? from the database.void
removeByFileVersionId
(long fileVersionId) Removes all the document library file entry metadatas where fileVersionId = ? from the database.void
removeByUuid
(String uuid) Removes all the document library file entry metadatas where uuid = ? from the database.void
removeByUuid_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.DLFileEntryMetadata
removeImpl
(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata) com.liferay.document.library.kernel.model.DLFileEntryMetadata
updateImpl
(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, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByUuid
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByUuid
in 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:
countByUuid
in 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_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByUuid_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByUuid_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByUuid_C
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_C
in 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_C
in 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:
findByFileEntryId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByFileEntryId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByFileEntryId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByFileEntryId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByFileEntryId
in 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:
countByFileEntryId
in 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:
findByFileVersionId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByFileVersionId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByFileVersionId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findByFileVersionId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByFileVersionId
in 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:
countByFileVersionId
in 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 aNoSuchFileEntryMetadataException
if it could not be found.- Specified by:
findByD_F
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByD_F
in 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
null
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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByD_F
in 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
null
if 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_F
in 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_F
in 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 aNoSuchFileEntryMetadataException
if it could not be found.- Specified by:
findByERC_C
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByERC_C
in 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
null
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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_C
in 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
null
if 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_C
in 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_C
in 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:
cacheResult
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
- Overrides:
cacheResult
in 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:
cacheResult
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
clearCache
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
clearCache
in 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:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
clearCache
- Specified by:
clearCache
in 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:
create
in 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:
remove
in 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:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
remove
in 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:
removeImpl
in 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:
updateImpl
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
- Overrides:
updateImpl
in 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.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
findByPrimaryKey
in 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 aNoSuchFileEntryMetadataException
if it could not be found.- Specified by:
findByPrimaryKey
in 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
fetchByPrimaryKey
in 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
null
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(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in 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
null
if 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:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
fetchByPrimaryKeys
in 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:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryMetadataModelImpl
.- Specified by:
findAll
in 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:
removeAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
-
countAll
public int countAll()Returns the number of document library file entry metadatas.- Specified by:
countAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
- Returns:
- the number of document library file entry metadatas
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
getBadColumnNames
in 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:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getSelectSQL
- Overrides:
getSelectSQL
in 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:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in 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:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
-