com.liferay.portlet.documentlibrary.service.persistence
Interface DLFileVersionPersistence
- All Superinterfaces:
- BasePersistence<DLFileVersion>
- All Known Implementing Classes:
- DLFileVersionPersistenceImpl
public interface DLFileVersionPersistence
- extends BasePersistence<DLFileVersion>
- See Also:
DLFileVersionPersistenceImpl,
DLFileVersionUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
void |
cacheResult(DLFileVersion dlFileVersion)
|
void |
cacheResult(List<DLFileVersion> dlFileVersions)
|
int |
countAll()
|
int |
countByG_F_N_S(long groupId,
long folderId,
String name,
int status)
|
int |
countByG_F_N_V(long groupId,
long folderId,
String name,
String version)
|
int |
countByG_F_N(long groupId,
long folderId,
String name)
|
DLFileVersion |
create(long fileVersionId)
|
DLFileVersion |
fetchByG_F_N_V(long groupId,
long folderId,
String name,
String version)
|
DLFileVersion |
fetchByG_F_N_V(long groupId,
long folderId,
String name,
String version,
boolean retrieveFromCache)
|
DLFileVersion |
fetchByPrimaryKey(long fileVersionId)
|
List<DLFileVersion> |
findAll()
|
List<DLFileVersion> |
findAll(int start,
int end)
|
List<DLFileVersion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
DLFileVersion |
findByG_F_N_First(long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
|
DLFileVersion |
findByG_F_N_Last(long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
|
DLFileVersion[] |
findByG_F_N_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
|
DLFileVersion |
findByG_F_N_S_First(long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
|
DLFileVersion |
findByG_F_N_S_Last(long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
|
DLFileVersion[] |
findByG_F_N_S_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
|
List<DLFileVersion> |
findByG_F_N_S(long groupId,
long folderId,
String name,
int status)
|
List<DLFileVersion> |
findByG_F_N_S(long groupId,
long folderId,
String name,
int status,
int start,
int end)
|
List<DLFileVersion> |
findByG_F_N_S(long groupId,
long folderId,
String name,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
DLFileVersion |
findByG_F_N_V(long groupId,
long folderId,
String name,
String version)
|
List<DLFileVersion> |
findByG_F_N(long groupId,
long folderId,
String name)
|
List<DLFileVersion> |
findByG_F_N(long groupId,
long folderId,
String name,
int start,
int end)
|
List<DLFileVersion> |
findByG_F_N(long groupId,
long folderId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
|
DLFileVersion |
findByPrimaryKey(long fileVersionId)
|
DLFileVersion |
remove(long fileVersionId)
|
void |
removeAll()
|
void |
removeByG_F_N_S(long groupId,
long folderId,
String name,
int status)
|
void |
removeByG_F_N_V(long groupId,
long folderId,
String name,
String version)
|
void |
removeByG_F_N(long groupId,
long folderId,
String name)
|
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 |
cacheResult
void cacheResult(DLFileVersion dlFileVersion)
cacheResult
void cacheResult(List<DLFileVersion> dlFileVersions)
create
DLFileVersion create(long fileVersionId)
remove
DLFileVersion remove(long fileVersionId)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
updateImpl
DLFileVersion updateImpl(DLFileVersion dlFileVersion,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
DLFileVersion findByPrimaryKey(long fileVersionId)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
fetchByPrimaryKey
DLFileVersion fetchByPrimaryKey(long fileVersionId)
throws SystemException
- Throws:
SystemException
findByG_F_N
List<DLFileVersion> findByG_F_N(long groupId,
long folderId,
String name)
throws SystemException
- Throws:
SystemException
findByG_F_N
List<DLFileVersion> findByG_F_N(long groupId,
long folderId,
String name,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByG_F_N
List<DLFileVersion> findByG_F_N(long groupId,
long folderId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByG_F_N_First
DLFileVersion findByG_F_N_First(long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
findByG_F_N_Last
DLFileVersion findByG_F_N_Last(long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
findByG_F_N_PrevAndNext
DLFileVersion[] findByG_F_N_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String name,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
findByG_F_N_V
DLFileVersion findByG_F_N_V(long groupId,
long folderId,
String name,
String version)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
fetchByG_F_N_V
DLFileVersion fetchByG_F_N_V(long groupId,
long folderId,
String name,
String version)
throws SystemException
- Throws:
SystemException
fetchByG_F_N_V
DLFileVersion fetchByG_F_N_V(long groupId,
long folderId,
String name,
String version,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByG_F_N_S
List<DLFileVersion> findByG_F_N_S(long groupId,
long folderId,
String name,
int status)
throws SystemException
- Throws:
SystemException
findByG_F_N_S
List<DLFileVersion> findByG_F_N_S(long groupId,
long folderId,
String name,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByG_F_N_S
List<DLFileVersion> findByG_F_N_S(long groupId,
long folderId,
String name,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByG_F_N_S_First
DLFileVersion findByG_F_N_S_First(long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
findByG_F_N_S_Last
DLFileVersion findByG_F_N_S_Last(long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
findByG_F_N_S_PrevAndNext
DLFileVersion[] findByG_F_N_S_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String name,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
findAll
List<DLFileVersion> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<DLFileVersion> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
List<DLFileVersion> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByG_F_N
void removeByG_F_N(long groupId,
long folderId,
String name)
throws SystemException
- Throws:
SystemException
removeByG_F_N_V
void removeByG_F_N_V(long groupId,
long folderId,
String name,
String version)
throws SystemException,
NoSuchFileVersionException
- Throws:
SystemException
NoSuchFileVersionException
removeByG_F_N_S
void removeByG_F_N_S(long groupId,
long folderId,
String name,
int status)
throws SystemException
- Throws:
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByG_F_N
int countByG_F_N(long groupId,
long folderId,
String name)
throws SystemException
- Throws:
SystemException
countByG_F_N_V
int countByG_F_N_V(long groupId,
long folderId,
String name,
String version)
throws SystemException
- Throws:
SystemException
countByG_F_N_S
int countByG_F_N_S(long groupId,
long folderId,
String name,
int status)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException