Interface DLFileEntryMetadataPersistence
- All Superinterfaces:
BasePersistence<DLFileEntryMetadata>
,CTPersistence<DLFileEntryMetadata>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DLFileEntryMetadata dlFileEntryMetadata) Caches the document library file entry metadata in the entity cache if it is enabled.void
cacheResult
(List<DLFileEntryMetadata> dlFileEntryMetadatas) Caches the document library file entry metadatas in the entity cache if it is enabled.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 = ?.create
(long fileEntryMetadataId) Creates a new document library file entry metadata with the primary key.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.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.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.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.fetchByFileEntryId_First
(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.fetchByFileEntryId_Last
(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.fetchByFileVersionId_First
(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.fetchByFileVersionId_Last
(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.fetchByPrimaryKey
(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ?.findAll()
Returns all the document library file entry metadatas.findAll
(int start, int end) Returns a range of all the document library file entry metadatas.findAll
(int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas.findAll
(int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas.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.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.findByFileEntryId
(long fileEntryId) Returns all the document library file entry metadatas where fileEntryId = ?.findByFileEntryId
(long fileEntryId, int start, int end) Returns a range of all the document library file entry metadatas where fileEntryId = ?.findByFileEntryId
(long fileEntryId, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.findByFileEntryId
(long fileEntryId, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.findByFileEntryId_First
(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.findByFileEntryId_Last
(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.findByFileEntryId_PrevAndNext
(long fileEntryMetadataId, long fileEntryId, OrderByComparator<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 = ?.findByFileVersionId
(long fileVersionId) Returns all the document library file entry metadatas where fileVersionId = ?.findByFileVersionId
(long fileVersionId, int start, int end) Returns a range of all the document library file entry metadatas where fileVersionId = ?.findByFileVersionId
(long fileVersionId, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.findByFileVersionId
(long fileVersionId, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.findByFileVersionId_First
(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.findByFileVersionId_Last
(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.findByFileVersionId_PrevAndNext
(long fileEntryMetadataId, long fileVersionId, OrderByComparator<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 = ?.findByPrimaryKey
(long fileEntryMetadataId) Returns the document library file entry metadata with the primary key or throws aNoSuchFileEntryMetadataException
if it could not be found.findByUuid
(String uuid) Returns all the document library file entry metadatas where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the document library file entry metadatas where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the document library file entry metadatas where uuid = ? and companyId = ?.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 = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long fileEntryMetadataId, String uuid, long companyId, OrderByComparator<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 = ?.findByUuid_First
(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ?.findByUuid_Last
(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long fileEntryMetadataId, String uuid, OrderByComparator<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 = ?.remove
(long fileEntryMetadataId) 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.removeByD_F
(long DDMStructureId, long fileVersionId) Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database.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.updateImpl
(DLFileEntryMetadata dlFileEntryMetadata) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the document library file entry metadatas where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching document library file entry metadatas
-
findByUuid
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
.- 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
List<DLFileEntryMetadata> findByUuid(String uuid, int start, int end, OrderByComparator<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
.- 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
List<DLFileEntryMetadata> findByUuid(String uuid, int start, int end, OrderByComparator<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
.- 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
DLFileEntryMetadata findByUuid_First(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the first document library file entry metadata in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByUuid_First
DLFileEntryMetadata fetchByUuid_First(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ?.- 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
DLFileEntryMetadata findByUuid_Last(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the last document library file entry metadata in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByUuid_Last
DLFileEntryMetadata fetchByUuid_Last(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ?.- 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
DLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId, String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ?.- 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:
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
-
removeByUuid
Removes all the document library file entry metadatas where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of document library file entry metadatas where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching document library file entry metadatas
-
findByUuid_C
Returns all the document library file entry metadatas where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching document library file entry metadatas
-
findByUuid_C
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
.- 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
List<DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<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
.- 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
List<DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<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
.- 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
DLFileEntryMetadata findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- 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:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByUuid_C_First
DLFileEntryMetadata fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- 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
DLFileEntryMetadata findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- 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:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByUuid_C_Last
DLFileEntryMetadata fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.- 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
DLFileEntryMetadata[] findByUuid_C_PrevAndNext(long fileEntryMetadataId, String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws 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 = ?.- 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:
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
-
removeByUuid_C
Removes all the document library file entry metadatas where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of document library file entry metadatas where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching document library file entry metadatas
-
findByFileEntryId
Returns all the document library file entry metadatas where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry ID- Returns:
- the matching document library file entry metadatas
-
findByFileEntryId
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
.- 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
List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<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
.- 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
List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<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
.- 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
DLFileEntryMetadata findByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByFileEntryId_First
DLFileEntryMetadata fetchByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.- 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
DLFileEntryMetadata findByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByFileEntryId_Last
DLFileEntryMetadata fetchByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.- 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
DLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId, long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileEntryId = ?.- 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:
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
-
removeByFileEntryId
void removeByFileEntryId(long fileEntryId) Removes all the document library file entry metadatas where fileEntryId = ? from the database.- Parameters:
fileEntryId
- the file entry ID
-
countByFileEntryId
int countByFileEntryId(long fileEntryId) Returns the number of document library file entry metadatas where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry ID- Returns:
- the number of matching document library file entry metadatas
-
findByFileVersionId
Returns all the document library file entry metadatas where fileVersionId = ?.- Parameters:
fileVersionId
- the file version ID- Returns:
- the matching document library file entry metadatas
-
findByFileVersionId
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
.- 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
List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end, OrderByComparator<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
.- 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
List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end, OrderByComparator<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
.- 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
DLFileEntryMetadata findByFileVersionId_First(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.- Parameters:
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByFileVersionId_First
DLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.- 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
DLFileEntryMetadata findByFileVersionId_Last(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.- Parameters:
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByFileVersionId_Last
DLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.- 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
DLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId, long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileVersionId = ?.- 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:
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
-
removeByFileVersionId
void removeByFileVersionId(long fileVersionId) Removes all the document library file entry metadatas where fileVersionId = ? from the database.- Parameters:
fileVersionId
- the file version ID
-
countByFileVersionId
int countByFileVersionId(long fileVersionId) Returns the number of document library file entry metadatas where fileVersionId = ?.- Parameters:
fileVersionId
- the file version ID- Returns:
- the number of matching document library file entry metadatas
-
findByD_F
DLFileEntryMetadata findByD_F(long DDMStructureId, long fileVersionId) throws NoSuchFileEntryMetadataException Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or throws aNoSuchFileEntryMetadataException
if it could not be found.- Parameters:
DDMStructureId
- the ddm structure IDfileVersionId
- the file version ID- Returns:
- the matching document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByD_F
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returnsnull
if it could not be found. Uses the finder cache.- 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
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- 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
DLFileEntryMetadata removeByD_F(long DDMStructureId, long fileVersionId) throws NoSuchFileEntryMetadataException Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database.- Parameters:
DDMStructureId
- the ddm structure IDfileVersionId
- the file version ID- Returns:
- the document library file entry metadata that was removed
- Throws:
NoSuchFileEntryMetadataException
-
countByD_F
int countByD_F(long DDMStructureId, long fileVersionId) Returns the number of document library file entry metadatas where DDMStructureId = ? and fileVersionId = ?.- Parameters:
DDMStructureId
- the ddm structure IDfileVersionId
- the file version ID- Returns:
- the number of matching document library file entry metadatas
-
findByERC_C
DLFileEntryMetadata findByERC_C(String externalReferenceCode, long companyId) throws NoSuchFileEntryMetadataException Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or throws aNoSuchFileEntryMetadataException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
-
fetchByERC_C
Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- 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
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.- 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
DLFileEntryMetadata removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchFileEntryMetadataException Removes the document library file entry metadata where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the document library file entry metadata that was removed
- Throws:
NoSuchFileEntryMetadataException
-
countByERC_C
Returns the number of document library file entry metadatas where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching document library file entry metadatas
-
cacheResult
Caches the document library file entry metadata in the entity cache if it is enabled.- Parameters:
dlFileEntryMetadata
- the document library file entry metadata
-
cacheResult
Caches the document library file entry metadatas in the entity cache if it is enabled.- Parameters:
dlFileEntryMetadatas
- the document library file entry metadatas
-
create
Creates a new document library file entry metadata with the primary key. Does not add the document library file entry metadata to the database.- Parameters:
fileEntryMetadataId
- the primary key for the new document library file entry metadata- Returns:
- the new document library file entry metadata
-
remove
Removes the document library file entry metadata with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
fileEntryMetadataId
- the primary key of the document library file entry metadata- Returns:
- the document library file entry metadata that was removed
- Throws:
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId) throws NoSuchFileEntryMetadataException Returns the document library file entry metadata with the primary key or throws aNoSuchFileEntryMetadataException
if it could not be found.- Parameters:
fileEntryMetadataId
- the primary key of the document library file entry metadata- Returns:
- the document library file entry metadata
- Throws:
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
-
fetchByPrimaryKey
Returns the document library file entry metadata with the primary key or returnsnull
if it could not be found.- 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
-
findAll
List<DLFileEntryMetadata> findAll()Returns all the document library file entry metadatas.- Returns:
- the document library file entry metadatas
-
findAll
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
.- 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
List<DLFileEntryMetadata> findAll(int start, int end, OrderByComparator<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
.- 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
List<DLFileEntryMetadata> findAll(int start, int end, OrderByComparator<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
.- 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
void removeAll()Removes all the document library file entry metadatas from the database. -
countAll
int countAll()Returns the number of document library file entry metadatas.- Returns:
- the number of document library file entry metadatas
-