com.liferay.portlet.documentlibrary.service.persistence
Class DLFileVersionPersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistenceImpl
- All Implemented Interfaces:
- DLFileVersionPersistence, org.springframework.beans.factory.InitializingBean
- public class DLFileVersionPersistenceImpl
- extends BasePersistence
- implements DLFileVersionPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
int |
countAll()
|
int |
countByF_N_V(long folderId,
java.lang.String name,
double version)
|
int |
countByF_N(long folderId,
java.lang.String name)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
create(long fileVersionId)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
fetchByF_N_V(long folderId,
java.lang.String name,
double version)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
fetchByPrimaryKey(long fileVersionId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
findByF_N_First(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
findByF_N_Last(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion[] |
findByF_N_PrevAndNext(long fileVersionId,
long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
findByF_N_V(long folderId,
java.lang.String name,
double version)
|
java.util.List |
findByF_N(long folderId,
java.lang.String name)
|
java.util.List |
findByF_N(long folderId,
java.lang.String name,
int begin,
int end)
|
java.util.List |
findByF_N(long folderId,
java.lang.String name,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
findByPrimaryKey(long fileVersionId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
protected void |
initDao()
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
remove(com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
remove(long fileVersionId)
|
void |
removeAll()
|
void |
removeByF_N_V(long folderId,
java.lang.String name,
double version)
|
void |
removeByF_N(long folderId,
java.lang.String name)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
update(com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
|
com.liferay.portlet.documentlibrary.model.DLFileVersion |
update(com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion,
boolean merge)
|
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileVersionPersistenceImpl
public DLFileVersionPersistenceImpl()
create
public com.liferay.portlet.documentlibrary.model.DLFileVersion create(long fileVersionId)
- Specified by:
create
in interface DLFileVersionPersistence
remove
public com.liferay.portlet.documentlibrary.model.DLFileVersion remove(long fileVersionId)
throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface DLFileVersionPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileVersionException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.documentlibrary.model.DLFileVersion remove(com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.documentlibrary.model.DLFileVersion update(com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.documentlibrary.model.DLFileVersion update(com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.documentlibrary.model.DLFileVersion findByPrimaryKey(long fileVersionId)
throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface DLFileVersionPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileVersionException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchByPrimaryKey(long fileVersionId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByF_N
public java.util.List findByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Specified by:
findByF_N
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByF_N
public java.util.List findByF_N(long folderId,
java.lang.String name,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByF_N
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByF_N
public java.util.List findByF_N(long folderId,
java.lang.String name,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByF_N
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByF_N_First
public com.liferay.portlet.documentlibrary.model.DLFileVersion findByF_N_First(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException,
com.liferay.portal.SystemException
- Specified by:
findByF_N_First
in interface DLFileVersionPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileVersionException
com.liferay.portal.SystemException
findByF_N_Last
public com.liferay.portlet.documentlibrary.model.DLFileVersion findByF_N_Last(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException,
com.liferay.portal.SystemException
- Specified by:
findByF_N_Last
in interface DLFileVersionPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileVersionException
com.liferay.portal.SystemException
findByF_N_PrevAndNext
public com.liferay.portlet.documentlibrary.model.DLFileVersion[] findByF_N_PrevAndNext(long fileVersionId,
long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException,
com.liferay.portal.SystemException
- Specified by:
findByF_N_PrevAndNext
in interface DLFileVersionPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileVersionException
com.liferay.portal.SystemException
findByF_N_V
public com.liferay.portlet.documentlibrary.model.DLFileVersion findByF_N_V(long folderId,
java.lang.String name,
double version)
throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException,
com.liferay.portal.SystemException
- Specified by:
findByF_N_V
in interface DLFileVersionPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileVersionException
com.liferay.portal.SystemException
fetchByF_N_V
public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchByF_N_V(long folderId,
java.lang.String name,
double version)
throws com.liferay.portal.SystemException
- Specified by:
fetchByF_N_V
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
removeByF_N
public void removeByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Specified by:
removeByF_N
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
removeByF_N_V
public void removeByF_N_V(long folderId,
java.lang.String name,
double version)
throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException,
com.liferay.portal.SystemException
- Specified by:
removeByF_N_V
in interface DLFileVersionPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileVersionException
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
countByF_N
public int countByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Specified by:
countByF_N
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
countByF_N_V
public int countByF_N_V(long folderId,
java.lang.String name,
double version)
throws com.liferay.portal.SystemException
- Specified by:
countByF_N_V
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface DLFileVersionPersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()