@ProviderType public interface DLOpenerFileEntryReferencePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DLOpenerFileEntryReference>
Caching information and settings can be found in portal.properties
DLOpenerFileEntryReferenceUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DLOpenerFileEntryReference dlOpenerFileEntryReference)
Caches the dl opener file entry reference in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DLOpenerFileEntryReference> dlOpenerFileEntryReferences)
Caches the dl opener file entry references in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of dl opener file entry references.
|
int |
countByFileEntryId(long fileEntryId)
Returns the number of dl opener file entry references where fileEntryId = ?.
|
int |
countByR_F(java.lang.String referenceType,
long fileEntryId)
Returns the number of dl opener file entry references where referenceType = ? and fileEntryId = ?.
|
DLOpenerFileEntryReference |
create(long dlOpenerFileEntryReferenceId)
Creates a new dl opener file entry reference with the primary key.
|
DLOpenerFileEntryReference |
fetchByFileEntryId(long fileEntryId)
Returns the dl opener file entry reference where fileEntryId = ? or returns
null if it could not be found. |
DLOpenerFileEntryReference |
fetchByFileEntryId(long fileEntryId,
boolean useFinderCache)
Returns the dl opener file entry reference where fileEntryId = ? or returns
null if it could not be found, optionally using the finder cache. |
DLOpenerFileEntryReference |
fetchByPrimaryKey(long dlOpenerFileEntryReferenceId)
Returns the dl opener file entry reference with the primary key or returns
null if it could not be found. |
DLOpenerFileEntryReference |
fetchByR_F(java.lang.String referenceType,
long fileEntryId)
Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or returns
null if it could not be found. |
DLOpenerFileEntryReference |
fetchByR_F(java.lang.String referenceType,
long fileEntryId,
boolean useFinderCache)
Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or returns
null if it could not be found, optionally using the finder cache. |
java.util.List<DLOpenerFileEntryReference> |
findAll()
Returns all the dl opener file entry references.
|
java.util.List<DLOpenerFileEntryReference> |
findAll(int start,
int end)
Returns a range of all the dl opener file entry references.
|
java.util.List<DLOpenerFileEntryReference> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DLOpenerFileEntryReference> orderByComparator)
Returns an ordered range of all the dl opener file entry references.
|
java.util.List<DLOpenerFileEntryReference> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DLOpenerFileEntryReference> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the dl opener file entry references.
|
DLOpenerFileEntryReference |
findByFileEntryId(long fileEntryId)
Returns the dl opener file entry reference where fileEntryId = ? or throws a
NoSuchFileEntryReferenceException if it could not be found. |
DLOpenerFileEntryReference |
findByPrimaryKey(long dlOpenerFileEntryReferenceId)
Returns the dl opener file entry reference with the primary key or throws a
NoSuchFileEntryReferenceException if it could not be found. |
DLOpenerFileEntryReference |
findByR_F(java.lang.String referenceType,
long fileEntryId)
Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or throws a
NoSuchFileEntryReferenceException if it could not be found. |
DLOpenerFileEntryReference |
remove(long dlOpenerFileEntryReferenceId)
Removes the dl opener file entry reference with the primary key from the database.
|
void |
removeAll()
Removes all the dl opener file entry references from the database.
|
DLOpenerFileEntryReference |
removeByFileEntryId(long fileEntryId)
Removes the dl opener file entry reference where fileEntryId = ? from the database.
|
DLOpenerFileEntryReference |
removeByR_F(java.lang.String referenceType,
long fileEntryId)
Removes the dl opener file entry reference where referenceType = ? and fileEntryId = ? from the database.
|
DLOpenerFileEntryReference |
updateImpl(DLOpenerFileEntryReference dlOpenerFileEntryReference) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
DLOpenerFileEntryReference findByFileEntryId(long fileEntryId) throws NoSuchFileEntryReferenceException
NoSuchFileEntryReferenceException
if it could not be found.fileEntryId
- the file entry IDNoSuchFileEntryReferenceException
- if a matching dl opener file entry reference could not be foundDLOpenerFileEntryReference fetchByFileEntryId(long fileEntryId)
null
if it could not be found. Uses the finder cache.fileEntryId
- the file entry IDnull
if a matching dl opener file entry reference could not be foundDLOpenerFileEntryReference fetchByFileEntryId(long fileEntryId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fileEntryId
- the file entry IDuseFinderCache
- whether to use the finder cachenull
if a matching dl opener file entry reference could not be foundDLOpenerFileEntryReference removeByFileEntryId(long fileEntryId) throws NoSuchFileEntryReferenceException
fileEntryId
- the file entry IDNoSuchFileEntryReferenceException
int countByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDDLOpenerFileEntryReference findByR_F(java.lang.String referenceType, long fileEntryId) throws NoSuchFileEntryReferenceException
NoSuchFileEntryReferenceException
if it could not be found.referenceType
- the reference typefileEntryId
- the file entry IDNoSuchFileEntryReferenceException
- if a matching dl opener file entry reference could not be foundDLOpenerFileEntryReference fetchByR_F(java.lang.String referenceType, long fileEntryId)
null
if it could not be found. Uses the finder cache.referenceType
- the reference typefileEntryId
- the file entry IDnull
if a matching dl opener file entry reference could not be foundDLOpenerFileEntryReference fetchByR_F(java.lang.String referenceType, long fileEntryId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.referenceType
- the reference typefileEntryId
- the file entry IDuseFinderCache
- whether to use the finder cachenull
if a matching dl opener file entry reference could not be foundDLOpenerFileEntryReference removeByR_F(java.lang.String referenceType, long fileEntryId) throws NoSuchFileEntryReferenceException
referenceType
- the reference typefileEntryId
- the file entry IDNoSuchFileEntryReferenceException
int countByR_F(java.lang.String referenceType, long fileEntryId)
referenceType
- the reference typefileEntryId
- the file entry IDvoid cacheResult(DLOpenerFileEntryReference dlOpenerFileEntryReference)
dlOpenerFileEntryReference
- the dl opener file entry referencevoid cacheResult(java.util.List<DLOpenerFileEntryReference> dlOpenerFileEntryReferences)
dlOpenerFileEntryReferences
- the dl opener file entry referencesDLOpenerFileEntryReference create(long dlOpenerFileEntryReferenceId)
dlOpenerFileEntryReferenceId
- the primary key for the new dl opener file entry referenceDLOpenerFileEntryReference remove(long dlOpenerFileEntryReferenceId) throws NoSuchFileEntryReferenceException
dlOpenerFileEntryReferenceId
- the primary key of the dl opener file entry referenceNoSuchFileEntryReferenceException
- if a dl opener file entry reference with the primary key could not be foundDLOpenerFileEntryReference updateImpl(DLOpenerFileEntryReference dlOpenerFileEntryReference)
DLOpenerFileEntryReference findByPrimaryKey(long dlOpenerFileEntryReferenceId) throws NoSuchFileEntryReferenceException
NoSuchFileEntryReferenceException
if it could not be found.dlOpenerFileEntryReferenceId
- the primary key of the dl opener file entry referenceNoSuchFileEntryReferenceException
- if a dl opener file entry reference with the primary key could not be foundDLOpenerFileEntryReference fetchByPrimaryKey(long dlOpenerFileEntryReferenceId)
null
if it could not be found.dlOpenerFileEntryReferenceId
- the primary key of the dl opener file entry referencenull
if a dl opener file entry reference with the primary key could not be foundjava.util.List<DLOpenerFileEntryReference> findAll()
java.util.List<DLOpenerFileEntryReference> 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 DLOpenerFileEntryReferenceModelImpl
.
start
- the lower bound of the range of dl opener file entry referencesend
- the upper bound of the range of dl opener file entry references (not inclusive)java.util.List<DLOpenerFileEntryReference> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLOpenerFileEntryReference> 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 DLOpenerFileEntryReferenceModelImpl
.
start
- the lower bound of the range of dl opener file entry referencesend
- the upper bound of the range of dl opener file entry references (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DLOpenerFileEntryReference> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLOpenerFileEntryReference> 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 DLOpenerFileEntryReferenceModelImpl
.
start
- the lower bound of the range of dl opener file entry referencesend
- the upper bound of the range of dl opener file entry references (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()