@ProviderType public interface SyncDLFileVersionDiffPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SyncDLFileVersionDiff>
Caching information and settings can be found in portal.properties
SyncDLFileVersionDiffUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SyncDLFileVersionDiff> syncDLFileVersionDiffs)
Caches the sync dl file version diffs in the entity cache if it is enabled.
|
void |
cacheResult(SyncDLFileVersionDiff syncDLFileVersionDiff)
Caches the sync dl file version diff in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of sync dl file version diffs.
|
int |
countByExpirationDate(java.util.Date expirationDate)
Returns the number of sync dl file version diffs where expirationDate < ?.
|
int |
countByF_S_T(long fileEntryId,
long sourceFileVersionId,
long targetFileVersionId)
Returns the number of sync dl file version diffs where fileEntryId = ? and sourceFileVersionId = ? and targetFileVersionId = ?.
|
int |
countByFileEntryId(long fileEntryId)
Returns the number of sync dl file version diffs where fileEntryId = ?.
|
SyncDLFileVersionDiff |
create(long syncDLFileVersionDiffId)
Creates a new sync dl file version diff with the primary key.
|
SyncDLFileVersionDiff |
fetchByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the first sync dl file version diff in the ordered set where expirationDate < ?.
|
SyncDLFileVersionDiff |
fetchByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the last sync dl file version diff in the ordered set where expirationDate < ?.
|
SyncDLFileVersionDiff |
fetchByF_S_T(long fileEntryId,
long sourceFileVersionId,
long targetFileVersionId)
Returns the sync dl file version diff where fileEntryId = ? and sourceFileVersionId = ? and targetFileVersionId = ? or returns
null if it could not be found. |
SyncDLFileVersionDiff |
fetchByF_S_T(long fileEntryId,
long sourceFileVersionId,
long targetFileVersionId,
boolean useFinderCache)
Returns the sync dl file version diff where fileEntryId = ? and sourceFileVersionId = ? and targetFileVersionId = ? or returns
null if it could not be found, optionally using the finder cache. |
SyncDLFileVersionDiff |
fetchByFileEntryId_First(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the first sync dl file version diff in the ordered set where fileEntryId = ?.
|
SyncDLFileVersionDiff |
fetchByFileEntryId_Last(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the last sync dl file version diff in the ordered set where fileEntryId = ?.
|
SyncDLFileVersionDiff |
fetchByPrimaryKey(long syncDLFileVersionDiffId)
Returns the sync dl file version diff with the primary key or returns
null if it could not be found. |
java.util.List<SyncDLFileVersionDiff> |
findAll()
Returns all the sync dl file version diffs.
|
java.util.List<SyncDLFileVersionDiff> |
findAll(int start,
int end)
Returns a range of all the sync dl file version diffs.
|
java.util.List<SyncDLFileVersionDiff> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns an ordered range of all the sync dl file version diffs.
|
java.util.List<SyncDLFileVersionDiff> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the sync dl file version diffs.
|
SyncDLFileVersionDiff |
findByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the first sync dl file version diff in the ordered set where expirationDate < ?.
|
SyncDLFileVersionDiff |
findByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the last sync dl file version diff in the ordered set where expirationDate < ?.
|
SyncDLFileVersionDiff[] |
findByExpirationDate_PrevAndNext(long syncDLFileVersionDiffId,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the sync dl file version diffs before and after the current sync dl file version diff in the ordered set where expirationDate < ?.
|
java.util.List<SyncDLFileVersionDiff> |
findByExpirationDate(java.util.Date expirationDate)
Returns all the sync dl file version diffs where expirationDate < ?.
|
java.util.List<SyncDLFileVersionDiff> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
Returns a range of all the sync dl file version diffs where expirationDate < ?.
|
java.util.List<SyncDLFileVersionDiff> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns an ordered range of all the sync dl file version diffs where expirationDate < ?.
|
java.util.List<SyncDLFileVersionDiff> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the sync dl file version diffs where expirationDate < ?.
|
SyncDLFileVersionDiff |
findByF_S_T(long fileEntryId,
long sourceFileVersionId,
long targetFileVersionId)
Returns the sync dl file version diff where fileEntryId = ? and sourceFileVersionId = ? and targetFileVersionId = ? or throws a
NoSuchDLFileVersionDiffException if it could not be found. |
SyncDLFileVersionDiff |
findByFileEntryId_First(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the first sync dl file version diff in the ordered set where fileEntryId = ?.
|
SyncDLFileVersionDiff |
findByFileEntryId_Last(long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the last sync dl file version diff in the ordered set where fileEntryId = ?.
|
SyncDLFileVersionDiff[] |
findByFileEntryId_PrevAndNext(long syncDLFileVersionDiffId,
long fileEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns the sync dl file version diffs before and after the current sync dl file version diff in the ordered set where fileEntryId = ?.
|
java.util.List<SyncDLFileVersionDiff> |
findByFileEntryId(long fileEntryId)
Returns all the sync dl file version diffs where fileEntryId = ?.
|
java.util.List<SyncDLFileVersionDiff> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the sync dl file version diffs where fileEntryId = ?.
|
java.util.List<SyncDLFileVersionDiff> |
findByFileEntryId(long fileEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
Returns an ordered range of all the sync dl file version diffs where fileEntryId = ?.
|
java.util.List<SyncDLFileVersionDiff> |
findByFileEntryId(long fileEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the sync dl file version diffs where fileEntryId = ?.
|
SyncDLFileVersionDiff |
findByPrimaryKey(long syncDLFileVersionDiffId)
Returns the sync dl file version diff with the primary key or throws a
NoSuchDLFileVersionDiffException if it could not be found. |
SyncDLFileVersionDiff |
remove(long syncDLFileVersionDiffId)
Removes the sync dl file version diff with the primary key from the database.
|
void |
removeAll()
Removes all the sync dl file version diffs from the database.
|
void |
removeByExpirationDate(java.util.Date expirationDate)
Removes all the sync dl file version diffs where expirationDate < ? from the database.
|
SyncDLFileVersionDiff |
removeByF_S_T(long fileEntryId,
long sourceFileVersionId,
long targetFileVersionId)
Removes the sync dl file version diff where fileEntryId = ? and sourceFileVersionId = ? and targetFileVersionId = ? from the database.
|
void |
removeByFileEntryId(long fileEntryId)
Removes all the sync dl file version diffs where fileEntryId = ? from the database.
|
SyncDLFileVersionDiff |
updateImpl(SyncDLFileVersionDiff syncDLFileVersionDiff) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<SyncDLFileVersionDiff> findByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDjava.util.List<SyncDLFileVersionDiff> 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 SyncDLFileVersionDiffModelImpl
.
fileEntryId
- the file entry IDstart
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)java.util.List<SyncDLFileVersionDiff> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> 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 SyncDLFileVersionDiffModelImpl
.
fileEntryId
- the file entry IDstart
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SyncDLFileVersionDiff> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> 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 SyncDLFileVersionDiffModelImpl
.
fileEntryId
- the file entry IDstart
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSyncDLFileVersionDiff findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator) throws NoSuchDLFileVersionDiffException
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDLFileVersionDiffException
- if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator) throws NoSuchDLFileVersionDiffException
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDLFileVersionDiffException
- if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff[] findByFileEntryId_PrevAndNext(long syncDLFileVersionDiffId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator) throws NoSuchDLFileVersionDiffException
syncDLFileVersionDiffId
- the primary key of the current sync dl file version difffileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDLFileVersionDiffException
- if a sync dl file version diff with the primary key could not be foundvoid removeByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDint countByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDjava.util.List<SyncDLFileVersionDiff> findByExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration datejava.util.List<SyncDLFileVersionDiff> findByExpirationDate(java.util.Date expirationDate, 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 SyncDLFileVersionDiffModelImpl
.
expirationDate
- the expiration datestart
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)java.util.List<SyncDLFileVersionDiff> findByExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> 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 SyncDLFileVersionDiffModelImpl
.
expirationDate
- the expiration datestart
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SyncDLFileVersionDiff> findByExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> 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 SyncDLFileVersionDiffModelImpl
.
expirationDate
- the expiration datestart
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSyncDLFileVersionDiff findByExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator) throws NoSuchDLFileVersionDiffException
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDLFileVersionDiffException
- if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff fetchByExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff findByExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator) throws NoSuchDLFileVersionDiffException
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDLFileVersionDiffException
- if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff fetchByExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator)
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff[] findByExpirationDate_PrevAndNext(long syncDLFileVersionDiffId, java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> orderByComparator) throws NoSuchDLFileVersionDiffException
syncDLFileVersionDiffId
- the primary key of the current sync dl file version diffexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDLFileVersionDiffException
- if a sync dl file version diff with the primary key could not be foundvoid removeByExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration dateint countByExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration dateSyncDLFileVersionDiff findByF_S_T(long fileEntryId, long sourceFileVersionId, long targetFileVersionId) throws NoSuchDLFileVersionDiffException
NoSuchDLFileVersionDiffException
if it could not be found.fileEntryId
- the file entry IDsourceFileVersionId
- the source file version IDtargetFileVersionId
- the target file version IDNoSuchDLFileVersionDiffException
- if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff fetchByF_S_T(long fileEntryId, long sourceFileVersionId, long targetFileVersionId)
null
if it could not be found. Uses the finder cache.fileEntryId
- the file entry IDsourceFileVersionId
- the source file version IDtargetFileVersionId
- the target file version IDnull
if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff fetchByF_S_T(long fileEntryId, long sourceFileVersionId, long targetFileVersionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fileEntryId
- the file entry IDsourceFileVersionId
- the source file version IDtargetFileVersionId
- the target file version IDuseFinderCache
- whether to use the finder cachenull
if a matching sync dl file version diff could not be foundSyncDLFileVersionDiff removeByF_S_T(long fileEntryId, long sourceFileVersionId, long targetFileVersionId) throws NoSuchDLFileVersionDiffException
fileEntryId
- the file entry IDsourceFileVersionId
- the source file version IDtargetFileVersionId
- the target file version IDNoSuchDLFileVersionDiffException
int countByF_S_T(long fileEntryId, long sourceFileVersionId, long targetFileVersionId)
fileEntryId
- the file entry IDsourceFileVersionId
- the source file version IDtargetFileVersionId
- the target file version IDvoid cacheResult(SyncDLFileVersionDiff syncDLFileVersionDiff)
syncDLFileVersionDiff
- the sync dl file version diffvoid cacheResult(java.util.List<SyncDLFileVersionDiff> syncDLFileVersionDiffs)
syncDLFileVersionDiffs
- the sync dl file version diffsSyncDLFileVersionDiff create(long syncDLFileVersionDiffId)
syncDLFileVersionDiffId
- the primary key for the new sync dl file version diffSyncDLFileVersionDiff remove(long syncDLFileVersionDiffId) throws NoSuchDLFileVersionDiffException
syncDLFileVersionDiffId
- the primary key of the sync dl file version diffNoSuchDLFileVersionDiffException
- if a sync dl file version diff with the primary key could not be foundSyncDLFileVersionDiff updateImpl(SyncDLFileVersionDiff syncDLFileVersionDiff)
SyncDLFileVersionDiff findByPrimaryKey(long syncDLFileVersionDiffId) throws NoSuchDLFileVersionDiffException
NoSuchDLFileVersionDiffException
if it could not be found.syncDLFileVersionDiffId
- the primary key of the sync dl file version diffNoSuchDLFileVersionDiffException
- if a sync dl file version diff with the primary key could not be foundSyncDLFileVersionDiff fetchByPrimaryKey(long syncDLFileVersionDiffId)
null
if it could not be found.syncDLFileVersionDiffId
- the primary key of the sync dl file version diffnull
if a sync dl file version diff with the primary key could not be foundjava.util.List<SyncDLFileVersionDiff> findAll()
java.util.List<SyncDLFileVersionDiff> 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 SyncDLFileVersionDiffModelImpl
.
start
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)java.util.List<SyncDLFileVersionDiff> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> 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 SyncDLFileVersionDiffModelImpl
.
start
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SyncDLFileVersionDiff> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SyncDLFileVersionDiff> 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 SyncDLFileVersionDiffModelImpl
.
start
- the lower bound of the range of sync dl file version diffsend
- the upper bound of the range of sync dl file version diffs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()