|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileEntryMetadata>
com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryMetadataPersistenceImpl
@ProviderType public class DLFileEntryMetadataPersistenceImpl
The persistence implementation for the document library file entry metadata service.
Caching information and settings can be found in portal.properties
DLFileEntryMetadataPersistence,
DLFileEntryMetadataUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
DLFileEntryMetadataPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the document library file entry metadata persistence. |
void |
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. |
protected void |
cacheUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl,
boolean isNew)
|
void |
clearCache()
Clears the cache for all document library file entry metadatas. |
void |
clearCache(DLFileEntryMetadata dlFileEntryMetadata)
Clears the cache for the document library file entry metadata. |
void |
clearCache(List<DLFileEntryMetadata> dlFileEntryMetadatas)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl)
|
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 = ?. |
DLFileEntryMetadata |
create(long fileEntryMetadataId)
Creates a new document library file entry metadata with the primary key. |
void |
destroy()
|
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. |
DLFileEntryMetadata |
fetchByD_F(long DDMStructureId,
long fileVersionId,
boolean retrieveFromCache)
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. |
DLFileEntryMetadata |
fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
fetchByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata |
fetchByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata |
fetchByPrimaryKey(long fileEntryMetadataId)
Returns the document library file entry metadata with the primary key or returns null if it could not be found. |
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,DLFileEntryMetadata> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
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 = ?. |
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 = ?. |
DLFileEntryMetadata |
fetchByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata |
fetchByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ?. |
List<DLFileEntryMetadata> |
findAll()
Returns all the document library file entry metadatas. |
List<DLFileEntryMetadata> |
findAll(int start,
int end)
Returns a range of all the document library file entry metadatas. |
List<DLFileEntryMetadata> |
findAll(int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas. |
List<DLFileEntryMetadata> |
findAll(int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas. |
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. |
DLFileEntryMetadata |
findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata[] |
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 = ?. |
List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId)
Returns all the document library file entry metadatas where fileEntryId = ?. |
List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file entry metadatas where fileEntryId = ?. |
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 = ?. |
List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?. |
DLFileEntryMetadata |
findByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata |
findByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata[] |
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 = ?. |
List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId)
Returns all the document library file entry metadatas where fileVersionId = ?. |
List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId,
int start,
int end)
Returns a range of all the document library file entry metadatas where fileVersionId = ?. |
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 = ?. |
List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?. |
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. |
DLFileEntryMetadata |
findByPrimaryKey(Serializable primaryKey)
Returns the document library file entry metadata with the primary key or throws a NoSuchModelException if it could not be found. |
DLFileEntryMetadata |
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 = ?. |
DLFileEntryMetadata |
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 = ?. |
DLFileEntryMetadata[] |
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 = ?. |
List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file entry metadatas where uuid = ? and companyId = ?. |
List<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<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 = ?. |
List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?. |
DLFileEntryMetadata |
findByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata |
findByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata[] |
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 = ?. |
List<DLFileEntryMetadata> |
findByUuid(String uuid)
Returns all the document library file entry metadatas where uuid = ?. |
List<DLFileEntryMetadata> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file entry metadatas where uuid = ?. |
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 = ?. |
List<DLFileEntryMetadata> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where uuid = ?. |
Set<String> |
getBadColumnNames()
|
protected DLFileEntryMetadata |
getByFileEntryId_PrevAndNext(Session session,
DLFileEntryMetadata dlFileEntryMetadata,
long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean previous)
|
protected DLFileEntryMetadata |
getByFileVersionId_PrevAndNext(Session session,
DLFileEntryMetadata dlFileEntryMetadata,
long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean previous)
|
protected DLFileEntryMetadata |
getByUuid_C_PrevAndNext(Session session,
DLFileEntryMetadata dlFileEntryMetadata,
String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean previous)
|
protected DLFileEntryMetadata |
getByUuid_PrevAndNext(Session session,
DLFileEntryMetadata dlFileEntryMetadata,
String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
DLFileEntryMetadata |
remove(long fileEntryMetadataId)
Removes the document library file entry metadata with the primary key from the database. |
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. |
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 DLFileEntryMetadata |
removeImpl(DLFileEntryMetadata dlFileEntryMetadata)
Removes the model instance from the database. |
protected DLFileEntryMetadata |
toUnwrappedModel(DLFileEntryMetadata dlFileEntryMetadata)
|
DLFileEntryMetadata |
updateImpl(DLFileEntryMetadata dlFileEntryMetadata)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
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 static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYID
public static final FinderPath FINDER_PATH_COUNT_BY_FILEENTRYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEVERSIONID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEVERSIONID
public static final FinderPath FINDER_PATH_COUNT_BY_FILEVERSIONID
public static final FinderPath FINDER_PATH_FETCH_BY_D_F
public static final FinderPath FINDER_PATH_COUNT_BY_D_F
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public DLFileEntryMetadataPersistenceImpl()
| Method Detail |
|---|
public List<DLFileEntryMetadata> findByUuid(String uuid)
findByUuid in interface DLFileEntryMetadataPersistenceuuid - the uuid
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface DLFileEntryMetadataPersistenceuuid - 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<DLFileEntryMetadata> findByUuid(String uuid,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface DLFileEntryMetadataPersistenceuuid - 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<DLFileEntryMetadata> findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface DLFileEntryMetadataPersistenceuuid - 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)retrieveFromCache - whether to retrieve from the finder cache
public DLFileEntryMetadata findByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByUuid_First in interface DLFileEntryMetadataPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
fetchByUuid_First in interface DLFileEntryMetadataPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file entry metadata could not be found
public DLFileEntryMetadata findByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByUuid_Last in interface DLFileEntryMetadataPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
fetchByUuid_Last in interface DLFileEntryMetadataPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file entry metadata could not be found
public DLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId,
String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByUuid_PrevAndNext in interface DLFileEntryMetadataPersistencefileEntryMetadataId - the primary key of the current document library file entry metadatauuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
protected DLFileEntryMetadata getByUuid_PrevAndNext(Session session,
DLFileEntryMetadata dlFileEntryMetadata,
String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface DLFileEntryMetadataPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface DLFileEntryMetadataPersistenceuuid - the uuid
public List<DLFileEntryMetadata> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface DLFileEntryMetadataPersistenceuuid - the uuidcompanyId - the company ID
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface DLFileEntryMetadataPersistenceuuid - 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<DLFileEntryMetadata> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface DLFileEntryMetadataPersistenceuuid - 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<DLFileEntryMetadata> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface DLFileEntryMetadataPersistenceuuid - 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)retrieveFromCache - whether to retrieve from the finder cache
public DLFileEntryMetadata findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByUuid_C_First in interface DLFileEntryMetadataPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
fetchByUuid_C_First in interface DLFileEntryMetadataPersistenceuuid - 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 found
public DLFileEntryMetadata findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByUuid_C_Last in interface DLFileEntryMetadataPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
fetchByUuid_C_Last in interface DLFileEntryMetadataPersistenceuuid - 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 found
public DLFileEntryMetadata[] findByUuid_C_PrevAndNext(long fileEntryMetadataId,
String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByUuid_C_PrevAndNext in interface DLFileEntryMetadataPersistencefileEntryMetadataId - 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)
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
protected DLFileEntryMetadata getByUuid_C_PrevAndNext(Session session,
DLFileEntryMetadata dlFileEntryMetadata,
String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface DLFileEntryMetadataPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface DLFileEntryMetadataPersistenceuuid - the uuidcompanyId - the company ID
public List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId)
findByFileEntryId in interface DLFileEntryMetadataPersistencefileEntryId - the file entry ID
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId in interface DLFileEntryMetadataPersistencefileEntryId - 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<DLFileEntryMetadata> findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId in interface DLFileEntryMetadataPersistencefileEntryId - 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<DLFileEntryMetadata> findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId in interface DLFileEntryMetadataPersistencefileEntryId - 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)retrieveFromCache - whether to retrieve from the finder cache
public DLFileEntryMetadata findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByFileEntryId_First in interface DLFileEntryMetadataPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
fetchByFileEntryId_First in interface DLFileEntryMetadataPersistencefileEntryId - 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 found
public DLFileEntryMetadata findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByFileEntryId_Last in interface DLFileEntryMetadataPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
fetchByFileEntryId_Last in interface DLFileEntryMetadataPersistencefileEntryId - 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 found
public DLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId,
long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByFileEntryId_PrevAndNext in interface DLFileEntryMetadataPersistencefileEntryMetadataId - the primary key of the current document library file entry metadatafileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
protected DLFileEntryMetadata getByFileEntryId_PrevAndNext(Session session,
DLFileEntryMetadata dlFileEntryMetadata,
long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean previous)
public void removeByFileEntryId(long fileEntryId)
removeByFileEntryId in interface DLFileEntryMetadataPersistencefileEntryId - the file entry IDpublic int countByFileEntryId(long fileEntryId)
countByFileEntryId in interface DLFileEntryMetadataPersistencefileEntryId - the file entry ID
public List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId)
findByFileVersionId in interface DLFileEntryMetadataPersistencefileVersionId - the file version ID
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileVersionId in interface DLFileEntryMetadataPersistencefileVersionId - 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<DLFileEntryMetadata> findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileVersionId in interface DLFileEntryMetadataPersistencefileVersionId - 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<DLFileEntryMetadata> findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileVersionId in interface DLFileEntryMetadataPersistencefileVersionId - 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)retrieveFromCache - whether to retrieve from the finder cache
public DLFileEntryMetadata findByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByFileVersionId_First in interface DLFileEntryMetadataPersistencefileVersionId - the file version IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
fetchByFileVersionId_First in interface DLFileEntryMetadataPersistencefileVersionId - 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 found
public DLFileEntryMetadata findByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByFileVersionId_Last in interface DLFileEntryMetadataPersistencefileVersionId - the file version IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
fetchByFileVersionId_Last in interface DLFileEntryMetadataPersistencefileVersionId - 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 found
public DLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId,
long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
findByFileVersionId_PrevAndNext in interface DLFileEntryMetadataPersistencefileEntryMetadataId - the primary key of the current document library file entry metadatafileVersionId - the file version IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
protected DLFileEntryMetadata getByFileVersionId_PrevAndNext(Session session,
DLFileEntryMetadata dlFileEntryMetadata,
long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean previous)
public void removeByFileVersionId(long fileVersionId)
removeByFileVersionId in interface DLFileEntryMetadataPersistencefileVersionId - the file version IDpublic int countByFileVersionId(long fileVersionId)
countByFileVersionId in interface DLFileEntryMetadataPersistencefileVersionId - the file version ID
public DLFileEntryMetadata findByD_F(long DDMStructureId,
long fileVersionId)
throws NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException if it could not be found.
findByD_F in interface DLFileEntryMetadataPersistenceDDMStructureId - the d d m structure IDfileVersionId - the file version ID
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByD_F(long DDMStructureId,
long fileVersionId)
null if it could not be found. Uses the finder cache.
fetchByD_F in interface DLFileEntryMetadataPersistenceDDMStructureId - the d d m structure IDfileVersionId - the file version ID
null if a matching document library file entry metadata could not be found
public DLFileEntryMetadata fetchByD_F(long DDMStructureId,
long fileVersionId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByD_F in interface DLFileEntryMetadataPersistenceDDMStructureId - the d d m structure IDfileVersionId - the file version IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching document library file entry metadata could not be found
public DLFileEntryMetadata removeByD_F(long DDMStructureId,
long fileVersionId)
throws NoSuchFileEntryMetadataException
removeByD_F in interface DLFileEntryMetadataPersistenceDDMStructureId - the d d m structure IDfileVersionId - the file version ID
NoSuchFileEntryMetadataException
public int countByD_F(long DDMStructureId,
long fileVersionId)
countByD_F in interface DLFileEntryMetadataPersistenceDDMStructureId - the d d m structure IDfileVersionId - the file version ID
public void cacheResult(DLFileEntryMetadata dlFileEntryMetadata)
cacheResult in interface DLFileEntryMetadataPersistencedlFileEntryMetadata - the document library file entry metadatapublic void cacheResult(List<DLFileEntryMetadata> dlFileEntryMetadatas)
cacheResult in interface DLFileEntryMetadataPersistencedlFileEntryMetadatas - the document library file entry metadataspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileEntryMetadata>clearCache in class BasePersistenceImpl<DLFileEntryMetadata>public void clearCache(DLFileEntryMetadata dlFileEntryMetadata)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileEntryMetadata>clearCache in class BasePersistenceImpl<DLFileEntryMetadata>dlFileEntryMetadata - the instance of this model to clear the cache forpublic void clearCache(List<DLFileEntryMetadata> dlFileEntryMetadatas)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<DLFileEntryMetadata>clearCache in class BasePersistenceImpl<DLFileEntryMetadata>dlFileEntryMetadatas - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl)
public DLFileEntryMetadata create(long fileEntryMetadataId)
create in interface DLFileEntryMetadataPersistencefileEntryMetadataId - the primary key for the new document library file entry metadata
public DLFileEntryMetadata remove(long fileEntryMetadataId)
throws NoSuchFileEntryMetadataException
remove in interface DLFileEntryMetadataPersistencefileEntryMetadataId - the primary key of the document library file entry metadata
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
public DLFileEntryMetadata remove(Serializable primaryKey)
throws NoSuchFileEntryMetadataException
remove in interface BasePersistence<DLFileEntryMetadata>remove in class BasePersistenceImpl<DLFileEntryMetadata>primaryKey - the primary key of the document library file entry metadata
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be foundprotected DLFileEntryMetadata removeImpl(DLFileEntryMetadata dlFileEntryMetadata)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DLFileEntryMetadata>dlFileEntryMetadata - the model instance to remove
public DLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DLFileEntryMetadataPersistenceupdateImpl in class BasePersistenceImpl<DLFileEntryMetadata>dlFileEntryMetadata - the model instance to update
protected DLFileEntryMetadata toUnwrappedModel(DLFileEntryMetadata dlFileEntryMetadata)
public DLFileEntryMetadata findByPrimaryKey(Serializable primaryKey)
throws NoSuchFileEntryMetadataException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DLFileEntryMetadata>findByPrimaryKey in class BasePersistenceImpl<DLFileEntryMetadata>primaryKey - the primary key of the document library file entry metadata
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
public DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId)
throws NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException if it could not be found.
findByPrimaryKey in interface DLFileEntryMetadataPersistencefileEntryMetadataId - the primary key of the document library file entry metadata
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be foundpublic DLFileEntryMetadata fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DLFileEntryMetadata>fetchByPrimaryKey in class BasePersistenceImpl<DLFileEntryMetadata>primaryKey - the primary key of the document library file entry metadata
null if a document library file entry metadata with the primary key could not be foundpublic DLFileEntryMetadata fetchByPrimaryKey(long fileEntryMetadataId)
null if it could not be found.
fetchByPrimaryKey in interface DLFileEntryMetadataPersistencefileEntryMetadataId - the primary key of the document library file entry metadata
null if a document library file entry metadata with the primary key could not be foundpublic Map<Serializable,DLFileEntryMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<DLFileEntryMetadata>fetchByPrimaryKeys in interface DLFileEntryMetadataPersistencefetchByPrimaryKeys in class BasePersistenceImpl<DLFileEntryMetadata>public List<DLFileEntryMetadata> findAll()
findAll in interface DLFileEntryMetadataPersistence
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface DLFileEntryMetadataPersistencestart - 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<DLFileEntryMetadata> findAll(int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface DLFileEntryMetadataPersistencestart - 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<DLFileEntryMetadata> findAll(int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface DLFileEntryMetadataPersistencestart - 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface DLFileEntryMetadataPersistencepublic int countAll()
countAll in interface DLFileEntryMetadataPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<DLFileEntryMetadata>getBadColumnNames in interface DLFileEntryMetadataPersistencegetBadColumnNames in class BasePersistenceImpl<DLFileEntryMetadata>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<DLFileEntryMetadata>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||