public class DLFileEntryMetadataPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
implements com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
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 and Description |
---|
DLFileEntryMetadataPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
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 |
clearCache()
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 |
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_C(String uuid,
long companyId)
Returns the number of document library file entry metadatas where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of document library file entry metadatas where uuid = ?.
|
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 returns
null 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 returns
null 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 returns
null 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 returns
null 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 a
NoSuchFileEntryMetadataException if it could not be found. |
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> |
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 |
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 = ?.
|
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 |
findByPrimaryKey(long fileEntryMetadataId)
Returns the document library file entry metadata with the primary key or throws a
NoSuchFileEntryMetadataException 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 a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
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 = ?.
|
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_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 = ?.
|
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 = ?.
|
Set<String> |
getBadColumnNames() |
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) |
Set<String> |
getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
List<String> |
getMappingTableNames() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
Map<String,Integer> |
getTableColumnsMap() |
String |
getTableName() |
List<String[]> |
getUniqueIndexColumnNames() |
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 |
removeAll()
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.
|
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_C(String uuid,
long companyId)
Removes all the document library file entry metadatas where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the document library file entry metadatas where uuid = ? 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) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid(String uuid)
findByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidpublic List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByUuid_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic 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)
fetchByUuid_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic 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
findByUuid_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic 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)
fetchByUuid_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic 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
findByUuid_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryMetadataId
- the primary key of the current document library file entry metadatauuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundprotected 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)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidpublic List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByUuid_C_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic 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)
fetchByUuid_C_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic 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
findByUuid_C_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic 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)
fetchByUuid_C_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic 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
findByUuid_C_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryMetadataId
- the primary key of the current document library file entry metadatauuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundprotected 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)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId)
findByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryId
- the file entry IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByFileEntryId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic 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)
fetchByFileEntryId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic 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
findByFileEntryId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic 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)
fetchByFileEntryId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic 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
findByFileEntryId_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryMetadataId
- the primary key of the current document library file entry metadatafileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundprotected 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)
public void removeByFileEntryId(long fileEntryId)
removeByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryId
- the file entry IDpublic int countByFileEntryId(long fileEntryId)
countByFileEntryId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryId
- the file entry IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId)
findByFileVersionId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileVersionId
- the file version IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByFileVersionId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByFileVersionId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findByFileVersionId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
findByFileVersionId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic 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)
fetchByFileVersionId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic 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
findByFileVersionId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic 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)
fetchByFileVersionId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic 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
findByFileVersionId_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryMetadataId
- the primary key of the current document library file entry metadatafileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundprotected 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)
public void removeByFileVersionId(long fileVersionId)
removeByFileVersionId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileVersionId
- the file version IDpublic int countByFileVersionId(long fileVersionId)
countByFileVersionId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileVersionId
- the file version IDpublic com.liferay.document.library.kernel.model.DLFileEntryMetadata findByD_F(long DDMStructureId, long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException
if it could not be found.findByD_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDcom.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId)
null
if it could not be found. Uses the finder cache.fetchByD_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDnull
if a matching document library file entry metadata could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fetchByD_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDuseFinderCache
- whether to use the finder cachenull
if a matching document library file entry metadata could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryMetadata removeByD_F(long DDMStructureId, long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
removeByD_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDcom.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
public int countByD_F(long DDMStructureId, long fileVersionId)
countByD_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDpublic void cacheResult(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
cacheResult
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
dlFileEntryMetadata
- the document library file entry metadatapublic void cacheResult(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas)
cacheResult
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
dlFileEntryMetadatas
- the document library file entry metadataspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public void clearCache(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public void clearCache(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public void clearCache(Set<Serializable> primaryKeys)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
protected void cacheUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl)
public com.liferay.document.library.kernel.model.DLFileEntryMetadata create(long fileEntryMetadataId)
create
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryMetadataId
- the primary key for the new document library file entry metadatapublic com.liferay.document.library.kernel.model.DLFileEntryMetadata remove(long fileEntryMetadataId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
remove
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryMetadataId
- the primary key of the document library file entry metadatacom.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryMetadata remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
primaryKey
- the primary key of the document library file entry metadatacom.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLFileEntryMetadata removeImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public com.liferay.document.library.kernel.model.DLFileEntryMetadata updateImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
updateImpl
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
primaryKey
- the primary key of the document library file entry metadatacom.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException
if it could not be found.findByPrimaryKey
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryMetadataId
- the primary key of the document library file entry metadatacom.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
primaryKey
- the primary key of the document library file entry metadatanull
if a document library file entry metadata with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByPrimaryKey(long fileEntryMetadataId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
fileEntryMetadataId
- the primary key of the document library file entry metadatanull
if a document library file entry metadata with the primary key could not be foundpublic Map<Serializable,com.liferay.document.library.kernel.model.DLFileEntryMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findAll()
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl
.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic void removeAll()
removeAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
public int countAll()
countAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
getCTColumnNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public List<String> getMappingTableNames()
getMappingTableNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public String getTableName()
getTableName
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public List<String[]> getUniqueIndexColumnNames()
getUniqueIndexColumnNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>