|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DLFileVersionPersistence
The persistence interface for the d l file version service.
Never modify or reference this interface directly. Always use DLFileVersionUtil
to access the d l file version persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
Caching information and settings can be found in portal.properties
DLFileVersionPersistenceImpl
,
DLFileVersionUtil
Method Summary | |
---|---|
void |
cacheResult(DLFileVersion dlFileVersion)
Caches the d l file version in the entity cache if it is enabled. |
void |
cacheResult(List<DLFileVersion> dlFileVersions)
Caches the d l file versions in the entity cache if it is enabled. |
int |
countAll()
Counts all the d l file versions. |
int |
countByG_F_N_S(long groupId,
long folderId,
String name,
int status)
Counts all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ?. |
int |
countByG_F_N_V(long groupId,
long folderId,
String name,
String version)
Counts all the d l file versions where groupId = ? and folderId = ? and name = ? and version = ?. |
int |
countByG_F_N(long groupId,
long folderId,
String name)
Counts all the d l file versions where groupId = ? and folderId = ? and name = ?. |
DLFileVersion |
create(long fileVersionId)
Creates a new d l file version with the primary key. |
DLFileVersion |
fetchByG_F_N_V(long groupId,
long folderId,
String name,
String version)
Finds the d l file version where groupId = ? and folderId = ? and name = ? and version = ? or returns null if it could not be found. |
DLFileVersion |
fetchByG_F_N_V(long groupId,
long folderId,
String name,
String version,
boolean retrieveFromCache)
Finds the d l file version where groupId = ? and folderId = ? and name = ? and version = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileVersion |
fetchByPrimaryKey(long fileVersionId)
Finds the d l file version with the primary key or returns null if it could not be found. |
List<DLFileVersion> |
findAll()
Finds all the d l file versions. |
List<DLFileVersion> |
findAll(int start,
int end)
Finds a range of all the d l file versions. |
List<DLFileVersion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l file versions. |
DLFileVersion |
findByG_F_N_First(long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
Finds the first d l file version in the ordered set where groupId = ? and folderId = ? and name = ?. |
DLFileVersion |
findByG_F_N_Last(long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
Finds the last d l file version in the ordered set where groupId = ? and folderId = ? and name = ?. |
DLFileVersion[] |
findByG_F_N_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
Finds the d l file versions before and after the current d l file version in the ordered set where groupId = ? and folderId = ? and name = ?. |
DLFileVersion |
findByG_F_N_S_First(long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
Finds the first d l file version in the ordered set where groupId = ? and folderId = ? and name = ? and status = ?. |
DLFileVersion |
findByG_F_N_S_Last(long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
Finds the last d l file version in the ordered set where groupId = ? and folderId = ? and name = ? and status = ?. |
DLFileVersion[] |
findByG_F_N_S_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
Finds the d l file versions before and after the current d l file version in the ordered set where groupId = ? and folderId = ? and name = ? and status = ?. |
List<DLFileVersion> |
findByG_F_N_S(long groupId,
long folderId,
String name,
int status)
Finds all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ?. |
List<DLFileVersion> |
findByG_F_N_S(long groupId,
long folderId,
String name,
int status,
int start,
int end)
Finds a range of all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ?. |
List<DLFileVersion> |
findByG_F_N_S(long groupId,
long folderId,
String name,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ?. |
DLFileVersion |
findByG_F_N_V(long groupId,
long folderId,
String name,
String version)
Finds the d l file version where groupId = ? and folderId = ? and name = ? and version = ? or throws a NoSuchFileVersionException if it could not be found. |
List<DLFileVersion> |
findByG_F_N(long groupId,
long folderId,
String name)
Finds all the d l file versions where groupId = ? and folderId = ? and name = ?. |
List<DLFileVersion> |
findByG_F_N(long groupId,
long folderId,
String name,
int start,
int end)
Finds a range of all the d l file versions where groupId = ? and folderId = ? and name = ?. |
List<DLFileVersion> |
findByG_F_N(long groupId,
long folderId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l file versions where groupId = ? and folderId = ? and name = ?. |
DLFileVersion |
findByPrimaryKey(long fileVersionId)
Finds the d l file version with the primary key or throws a NoSuchFileVersionException if it could not be found. |
DLFileVersion |
remove(long fileVersionId)
Removes the d l file version with the primary key from the database. |
void |
removeAll()
Removes all the d l file versions from the database. |
void |
removeByG_F_N_S(long groupId,
long folderId,
String name,
int status)
Removes all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ? from the database. |
void |
removeByG_F_N_V(long groupId,
long folderId,
String name,
String version)
Removes the d l file version where groupId = ? and folderId = ? and name = ? and version = ? from the database. |
void |
removeByG_F_N(long groupId,
long folderId,
String name)
Removes all the d l file versions where groupId = ? and folderId = ? and name = ? from the database. |
DLFileVersion |
updateImpl(DLFileVersion dlFileVersion,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(DLFileVersion dlFileVersion)
dlFileVersion
- the d l file version to cachevoid cacheResult(List<DLFileVersion> dlFileVersions)
dlFileVersions
- the d l file versions to cacheDLFileVersion create(long fileVersionId)
fileVersionId
- the primary key for the new d l file version
DLFileVersion remove(long fileVersionId) throws SystemException, NoSuchFileVersionException
fileVersionId
- the primary key of the d l file version to remove
NoSuchFileVersionException
- if a d l file version with the primary key could not be found
SystemException
- if a system exception occurredDLFileVersion updateImpl(DLFileVersion dlFileVersion, boolean merge) throws SystemException
SystemException
DLFileVersion findByPrimaryKey(long fileVersionId) throws SystemException, NoSuchFileVersionException
NoSuchFileVersionException
if it could not be found.
fileVersionId
- the primary key of the d l file version to find
NoSuchFileVersionException
- if a d l file version with the primary key could not be found
SystemException
- if a system exception occurredDLFileVersion fetchByPrimaryKey(long fileVersionId) throws SystemException
null
if it could not be found.
fileVersionId
- the primary key of the d l file version to find
null
if a d l file version with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_N(long groupId, long folderId, String name) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search with
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_N(long groupId, long folderId, String name, int start, int end) throws SystemException
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.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstart
- the lower bound of the range of d l file versions to returnend
- the upper bound of the range of d l file versions to return (not inclusive)
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_N(long groupId, long folderId, String name, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstart
- the lower bound of the range of d l file versions to returnend
- the upper bound of the range of d l file versions to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredDLFileVersion findByG_F_N_First(long groupId, long folderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFileVersionException
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.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withorderByComparator
- the comparator to order the set by
NoSuchFileVersionException
- if a matching d l file version could not be found
SystemException
- if a system exception occurredDLFileVersion findByG_F_N_Last(long groupId, long folderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFileVersionException
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.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withorderByComparator
- the comparator to order the set by
NoSuchFileVersionException
- if a matching d l file version could not be found
SystemException
- if a system exception occurredDLFileVersion[] findByG_F_N_PrevAndNext(long fileVersionId, long groupId, long folderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFileVersionException
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.
fileVersionId
- the primary key of the current d l file versiongroupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withorderByComparator
- the comparator to order the set by
NoSuchFileVersionException
- if a d l file version with the primary key could not be found
SystemException
- if a system exception occurredDLFileVersion findByG_F_N_V(long groupId, long folderId, String name, String version) throws SystemException, NoSuchFileVersionException
NoSuchFileVersionException
if it could not be found.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withversion
- the version to search with
NoSuchFileVersionException
- if a matching d l file version could not be found
SystemException
- if a system exception occurredDLFileVersion fetchByG_F_N_V(long groupId, long folderId, String name, String version) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withversion
- the version to search with
null
if a matching d l file version could not be found
SystemException
- if a system exception occurredDLFileVersion fetchByG_F_N_V(long groupId, long folderId, String name, String version, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withversion
- the version to search with
null
if a matching d l file version could not be found
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_N_S(long groupId, long folderId, String name, int status) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstatus
- the status to search with
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_N_S(long groupId, long folderId, String name, int status, int start, int end) throws SystemException
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.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstatus
- the status to search withstart
- the lower bound of the range of d l file versions to returnend
- the upper bound of the range of d l file versions to return (not inclusive)
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_N_S(long groupId, long folderId, String name, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstatus
- the status to search withstart
- the lower bound of the range of d l file versions to returnend
- the upper bound of the range of d l file versions to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredDLFileVersion findByG_F_N_S_First(long groupId, long folderId, String name, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileVersionException
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.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileVersionException
- if a matching d l file version could not be found
SystemException
- if a system exception occurredDLFileVersion findByG_F_N_S_Last(long groupId, long folderId, String name, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileVersionException
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.
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileVersionException
- if a matching d l file version could not be found
SystemException
- if a system exception occurredDLFileVersion[] findByG_F_N_S_PrevAndNext(long fileVersionId, long groupId, long folderId, String name, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileVersionException
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.
fileVersionId
- the primary key of the current d l file versiongroupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileVersionException
- if a d l file version with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileVersion> findAll() throws SystemException
SystemException
- if a system exception occurredList<DLFileVersion> findAll(int start, int end) throws SystemException
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.
start
- the lower bound of the range of d l file versions to returnend
- the upper bound of the range of d l file versions to return (not inclusive)
SystemException
- if a system exception occurredList<DLFileVersion> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
start
- the lower bound of the range of d l file versions to returnend
- the upper bound of the range of d l file versions to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredvoid removeByG_F_N(long groupId, long folderId, String name) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search with
SystemException
- if a system exception occurredvoid removeByG_F_N_V(long groupId, long folderId, String name, String version) throws SystemException, NoSuchFileVersionException
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withversion
- the version to search with
SystemException
- if a system exception occurred
NoSuchFileVersionException
void removeByG_F_N_S(long groupId, long folderId, String name, int status) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstatus
- the status to search with
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByG_F_N(long groupId, long folderId, String name) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search with
SystemException
- if a system exception occurredint countByG_F_N_V(long groupId, long folderId, String name, String version) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withversion
- the version to search with
SystemException
- if a system exception occurredint countByG_F_N_S(long groupId, long folderId, String name, int status) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withname
- the name to search withstatus
- the status to search with
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |