com.liferay.portlet.documentlibrary.service.persistence
Class DLFileShortcutPersistenceImpl
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.DLFileShortcutPersistenceImpl
- All Implemented Interfaces:
- DLFileShortcutPersistence, org.springframework.beans.factory.InitializingBean
- public class DLFileShortcutPersistenceImpl
- extends BasePersistence
- implements DLFileShortcutPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
int |
countAll()
|
int |
countByFolderId(long folderId)
|
int |
countByTF_TN(long toFolderId,
java.lang.String toName)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
create(long fileShortcutId)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
fetchByPrimaryKey(long fileShortcutId)
|
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.DLFileShortcut |
findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut[] |
findByFolderId_PrevAndNext(long fileShortcutId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByFolderId(long folderId)
|
java.util.List |
findByFolderId(long folderId,
int begin,
int end)
|
java.util.List |
findByFolderId(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
findByPrimaryKey(long fileShortcutId)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
findByTF_TN_First(long toFolderId,
java.lang.String toName,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
findByTF_TN_Last(long toFolderId,
java.lang.String toName,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut[] |
findByTF_TN_PrevAndNext(long fileShortcutId,
long toFolderId,
java.lang.String toName,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByTF_TN(long toFolderId,
java.lang.String toName)
|
java.util.List |
findByTF_TN(long toFolderId,
java.lang.String toName,
int begin,
int end)
|
java.util.List |
findByTF_TN(long toFolderId,
java.lang.String toName,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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.DLFileShortcut |
remove(com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
remove(long fileShortcutId)
|
void |
removeAll()
|
void |
removeByFolderId(long folderId)
|
void |
removeByTF_TN(long toFolderId,
java.lang.String toName)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
update(com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
update(com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
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 |
DLFileShortcutPersistenceImpl
public DLFileShortcutPersistenceImpl()
create
public com.liferay.portlet.documentlibrary.model.DLFileShortcut create(long fileShortcutId)
- Specified by:
create
in interface DLFileShortcutPersistence
remove
public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(long fileShortcutId)
throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileShortcutException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.documentlibrary.model.DLFileShortcut update(com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.documentlibrary.model.DLFileShortcut update(com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(long fileShortcutId)
throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileShortcutException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findByFolderId
public java.util.List findByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Specified by:
findByFolderId
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findByFolderId
public java.util.List findByFolderId(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByFolderId
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findByFolderId
public java.util.List findByFolderId(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByFolderId
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findByFolderId_First
public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException,
com.liferay.portal.SystemException
- Specified by:
findByFolderId_First
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileShortcutException
com.liferay.portal.SystemException
findByFolderId_Last
public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException,
com.liferay.portal.SystemException
- Specified by:
findByFolderId_Last
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileShortcutException
com.liferay.portal.SystemException
findByFolderId_PrevAndNext
public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByFolderId_PrevAndNext(long fileShortcutId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException,
com.liferay.portal.SystemException
- Specified by:
findByFolderId_PrevAndNext
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileShortcutException
com.liferay.portal.SystemException
findByTF_TN
public java.util.List findByTF_TN(long toFolderId,
java.lang.String toName)
throws com.liferay.portal.SystemException
- Specified by:
findByTF_TN
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findByTF_TN
public java.util.List findByTF_TN(long toFolderId,
java.lang.String toName,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByTF_TN
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findByTF_TN
public java.util.List findByTF_TN(long toFolderId,
java.lang.String toName,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByTF_TN
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findByTF_TN_First
public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByTF_TN_First(long toFolderId,
java.lang.String toName,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException,
com.liferay.portal.SystemException
- Specified by:
findByTF_TN_First
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileShortcutException
com.liferay.portal.SystemException
findByTF_TN_Last
public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByTF_TN_Last(long toFolderId,
java.lang.String toName,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException,
com.liferay.portal.SystemException
- Specified by:
findByTF_TN_Last
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileShortcutException
com.liferay.portal.SystemException
findByTF_TN_PrevAndNext
public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByTF_TN_PrevAndNext(long fileShortcutId,
long toFolderId,
java.lang.String toName,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException,
com.liferay.portal.SystemException
- Specified by:
findByTF_TN_PrevAndNext
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileShortcutException
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 DLFileShortcutPersistence
- 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 DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface DLFileShortcutPersistence
- 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 DLFileShortcutPersistence
- 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 DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
removeByFolderId
public void removeByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Specified by:
removeByFolderId
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
removeByTF_TN
public void removeByTF_TN(long toFolderId,
java.lang.String toName)
throws com.liferay.portal.SystemException
- Specified by:
removeByTF_TN
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
countByFolderId
public int countByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Specified by:
countByFolderId
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
countByTF_TN
public int countByTF_TN(long toFolderId,
java.lang.String toName)
throws com.liferay.portal.SystemException
- Specified by:
countByTF_TN
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface DLFileShortcutPersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()