|
Liferay 6.0.4 | |||||||||
| 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<DLFileVersion>
com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistenceImpl
public class DLFileVersionPersistenceImpl
The persistence for the d l file version service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
Caching information and settings can be found in portal.properties
DLFileVersionPersistence,
DLFileVersionUtil| Field Summary | |
|---|---|
protected AssetEntryPersistence |
assetEntryPersistence
|
protected DLFileEntryPersistence |
dlFileEntryPersistence
|
protected DLFileRankPersistence |
dlFileRankPersistence
|
protected DLFileShortcutPersistence |
dlFileShortcutPersistence
|
protected DLFileVersionPersistence |
dlFileVersionPersistence
|
protected DLFolderPersistence |
dlFolderPersistence
|
static String |
FINDER_CLASS_NAME_ENTITY
|
static String |
FINDER_CLASS_NAME_LIST
|
static FinderPath |
FINDER_PATH_COUNT_ALL
|
static FinderPath |
FINDER_PATH_COUNT_BY_G_F_N
|
static FinderPath |
FINDER_PATH_COUNT_BY_G_F_N_S
|
static FinderPath |
FINDER_PATH_COUNT_BY_G_F_N_V
|
static FinderPath |
FINDER_PATH_FETCH_BY_G_F_N_V
|
static FinderPath |
FINDER_PATH_FIND_ALL
|
static FinderPath |
FINDER_PATH_FIND_BY_G_F_N
|
static FinderPath |
FINDER_PATH_FIND_BY_G_F_N_S
|
protected ResourcePersistence |
resourcePersistence
|
protected UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, 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 | |
|---|---|
DLFileVersionPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the d l file version persistence. |
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. |
void |
clearCache()
Clears the cache for all d l file versions. |
void |
clearCache(DLFileVersion dlFileVersion)
Clears the cache for the d l file version. |
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. |
DLFileVersion |
fetchByPrimaryKey(Serializable primaryKey)
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 |
findByPrimaryKey(Serializable primaryKey)
Finds the d l file version with the primary key or throws a NoSuchModelException if it could not be found. |
protected DLFileVersion |
getByG_F_N_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long groupId,
long folderId,
String name,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByG_F_N_S_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
DLFileVersion |
remove(long fileVersionId)
Removes the d l file version with the primary key from the database. |
DLFileVersion |
remove(Serializable primaryKey)
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. |
protected DLFileVersion |
removeImpl(DLFileVersion dlFileVersion)
Removes the model instance from the database. |
protected DLFileVersion |
toUnwrappedModel(DLFileVersion dlFileVersion)
|
DLFileVersion |
updateImpl(DLFileVersion dlFileVersion,
boolean merge)
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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| 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 |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_G_F_N
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_N
public static final FinderPath FINDER_PATH_FETCH_BY_G_F_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_N_V
public static final FinderPath FINDER_PATH_FIND_BY_G_F_N_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_N_S
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=DLFileEntryPersistence.class) protected DLFileEntryPersistence dlFileEntryPersistence
@BeanReference(type=DLFileRankPersistence.class) protected DLFileRankPersistence dlFileRankPersistence
@BeanReference(type=DLFileShortcutPersistence.class) protected DLFileShortcutPersistence dlFileShortcutPersistence
@BeanReference(type=DLFileVersionPersistence.class) protected DLFileVersionPersistence dlFileVersionPersistence
@BeanReference(type=DLFolderPersistence.class) protected DLFolderPersistence dlFolderPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
| Constructor Detail |
|---|
public DLFileVersionPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(DLFileVersion dlFileVersion)
cacheResult in interface DLFileVersionPersistencedlFileVersion - the d l file version to cachepublic void cacheResult(List<DLFileVersion> dlFileVersions)
cacheResult in interface DLFileVersionPersistencedlFileVersions - the d l file versions to cachepublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileVersion>clearCache in class BasePersistenceImpl<DLFileVersion>public void clearCache(DLFileVersion dlFileVersion)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileVersion>clearCache in class BasePersistenceImpl<DLFileVersion>dlFileVersion - the instance of this model to clear the cache forpublic DLFileVersion create(long fileVersionId)
create in interface DLFileVersionPersistencefileVersionId - the primary key for the new d l file version
public DLFileVersion remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
remove in interface BasePersistence<DLFileVersion>remove in class BasePersistenceImpl<DLFileVersion>primaryKey - the primary key of the d l file version to remove
NoSuchModelException - if a d l file version with the primary key could not be found
SystemException - if a system exception occurred
public DLFileVersion remove(long fileVersionId)
throws NoSuchFileVersionException,
SystemException
remove in interface DLFileVersionPersistencefileVersionId - 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 occurred
protected DLFileVersion removeImpl(DLFileVersion dlFileVersion)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DLFileVersion>dlFileVersion - the model instance to remove
SystemException - if a system exception occurred
public DLFileVersion updateImpl(DLFileVersion dlFileVersion,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DLFileVersionPersistenceupdateImpl in class BasePersistenceImpl<DLFileVersion>dlFileVersion - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected DLFileVersion toUnwrappedModel(DLFileVersion dlFileVersion)
public DLFileVersion findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DLFileVersion>findByPrimaryKey in class BasePersistenceImpl<DLFileVersion>primaryKey - the primary key of the d l file version to find
NoSuchModelException - if a d l file version with the primary key could not be found
SystemException - if a system exception occurred
public DLFileVersion findByPrimaryKey(long fileVersionId)
throws NoSuchFileVersionException,
SystemException
NoSuchFileVersionException if it could not be found.
findByPrimaryKey in interface DLFileVersionPersistencefileVersionId - 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 occurred
public DLFileVersion fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DLFileVersion>fetchByPrimaryKey in class BasePersistenceImpl<DLFileVersion>primaryKey - 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 occurred
public DLFileVersion fetchByPrimaryKey(long fileVersionId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface DLFileVersionPersistencefileVersionId - 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 occurred
public List<DLFileVersion> findByG_F_N(long groupId,
long folderId,
String name)
throws SystemException
findByG_F_N in interface DLFileVersionPersistencegroupId - the group id to search withfolderId - the folder id to search withname - the name to search with
SystemException - if a system exception occurred
public List<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.
findByG_F_N in interface DLFileVersionPersistencegroupId - 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 occurred
public List<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.
findByG_F_N in interface DLFileVersionPersistencegroupId - 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 occurred
public DLFileVersion findByG_F_N_First(long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
throws NoSuchFileVersionException,
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.
findByG_F_N_First in interface DLFileVersionPersistencegroupId - 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 occurred
public DLFileVersion findByG_F_N_Last(long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
throws NoSuchFileVersionException,
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.
findByG_F_N_Last in interface DLFileVersionPersistencegroupId - 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 occurred
public DLFileVersion[] findByG_F_N_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
throws NoSuchFileVersionException,
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.
findByG_F_N_PrevAndNext in interface DLFileVersionPersistencefileVersionId - 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 occurred
protected DLFileVersion getByG_F_N_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long groupId,
long folderId,
String name,
OrderByComparator orderByComparator,
boolean previous)
public DLFileVersion findByG_F_N_V(long groupId,
long folderId,
String name,
String version)
throws NoSuchFileVersionException,
SystemException
NoSuchFileVersionException if it could not be found.
findByG_F_N_V in interface DLFileVersionPersistencegroupId - 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 occurred
public DLFileVersion 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.
fetchByG_F_N_V in interface DLFileVersionPersistencegroupId - 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 occurred
public DLFileVersion 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.
fetchByG_F_N_V in interface DLFileVersionPersistencegroupId - 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 occurred
public List<DLFileVersion> findByG_F_N_S(long groupId,
long folderId,
String name,
int status)
throws SystemException
findByG_F_N_S in interface DLFileVersionPersistencegroupId - 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 occurred
public List<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.
findByG_F_N_S in interface DLFileVersionPersistencegroupId - 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 occurred
public List<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.
findByG_F_N_S in interface DLFileVersionPersistencegroupId - 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 occurred
public DLFileVersion findByG_F_N_S_First(long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
throws NoSuchFileVersionException,
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.
findByG_F_N_S_First in interface DLFileVersionPersistencegroupId - 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 occurred
public DLFileVersion findByG_F_N_S_Last(long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
throws NoSuchFileVersionException,
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.
findByG_F_N_S_Last in interface DLFileVersionPersistencegroupId - 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 occurred
public DLFileVersion[] findByG_F_N_S_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
throws NoSuchFileVersionException,
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.
findByG_F_N_S_PrevAndNext in interface DLFileVersionPersistencefileVersionId - 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 occurred
protected DLFileVersion getByG_F_N_S_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileVersion> findAll()
throws SystemException
findAll in interface DLFileVersionPersistenceSystemException - if a system exception occurred
public List<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.
findAll in interface DLFileVersionPersistencestart - 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 occurred
public List<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.
findAll in interface DLFileVersionPersistencestart - 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 occurred
public void removeByG_F_N(long groupId,
long folderId,
String name)
throws SystemException
removeByG_F_N in interface DLFileVersionPersistencegroupId - the group id to search withfolderId - the folder id to search withname - the name to search with
SystemException - if a system exception occurred
public void removeByG_F_N_V(long groupId,
long folderId,
String name,
String version)
throws NoSuchFileVersionException,
SystemException
removeByG_F_N_V in interface DLFileVersionPersistencegroupId - 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
public void removeByG_F_N_S(long groupId,
long folderId,
String name,
int status)
throws SystemException
removeByG_F_N_S in interface DLFileVersionPersistencegroupId - 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 occurred
public void removeAll()
throws SystemException
removeAll in interface DLFileVersionPersistenceSystemException - if a system exception occurred
public int countByG_F_N(long groupId,
long folderId,
String name)
throws SystemException
countByG_F_N in interface DLFileVersionPersistencegroupId - the group id to search withfolderId - the folder id to search withname - the name to search with
SystemException - if a system exception occurred
public int countByG_F_N_V(long groupId,
long folderId,
String name,
String version)
throws SystemException
countByG_F_N_V in interface DLFileVersionPersistencegroupId - 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
public int countByG_F_N_S(long groupId,
long folderId,
String name,
int status)
throws SystemException
countByG_F_N_S in interface DLFileVersionPersistencegroupId - 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 occurred
public int countAll()
throws SystemException
countAll in interface DLFileVersionPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||