com.liferay.portlet.bookmarks.service.persistence
Class BookmarksFolderPersistence
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
- public class BookmarksFolderPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
|
Method Summary |
int |
countByG_P(java.lang.String groupId,
java.lang.String parentFolderId)
|
int |
countByGroupId(java.lang.String groupId)
|
BookmarksFolder |
create(java.lang.String folderId)
|
BookmarksFolder |
fetchByPrimaryKey(java.lang.String folderId)
|
java.util.List |
findAll()
|
BookmarksFolder |
findByG_P_First(java.lang.String groupId,
java.lang.String parentFolderId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
|
BookmarksFolder |
findByG_P_Last(java.lang.String groupId,
java.lang.String parentFolderId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
|
BookmarksFolder[] |
findByG_P_PrevAndNext(java.lang.String folderId,
java.lang.String groupId,
java.lang.String parentFolderId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
|
java.util.List |
findByG_P(java.lang.String groupId,
java.lang.String parentFolderId)
|
java.util.List |
findByG_P(java.lang.String groupId,
java.lang.String parentFolderId,
int begin,
int end)
|
java.util.List |
findByG_P(java.lang.String groupId,
java.lang.String parentFolderId,
int begin,
int end,
com.liferay.util.dao.hibernate.OrderByComparator obc)
|
BookmarksFolder |
findByGroupId_First(java.lang.String groupId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
|
BookmarksFolder |
findByGroupId_Last(java.lang.String groupId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
|
BookmarksFolder[] |
findByGroupId_PrevAndNext(java.lang.String folderId,
java.lang.String groupId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
|
java.util.List |
findByGroupId(java.lang.String groupId)
|
java.util.List |
findByGroupId(java.lang.String groupId,
int begin,
int end)
|
java.util.List |
findByGroupId(java.lang.String groupId,
int begin,
int end,
com.liferay.util.dao.hibernate.OrderByComparator obc)
|
BookmarksFolder |
findByPrimaryKey(java.lang.String folderId)
|
protected void |
initDao()
|
BookmarksFolder |
remove(BookmarksFolder bookmarksFolder)
|
BookmarksFolder |
remove(java.lang.String folderId)
|
void |
removeByG_P(java.lang.String groupId,
java.lang.String parentFolderId)
|
void |
removeByGroupId(java.lang.String groupId)
|
BookmarksFolder |
update(BookmarksFolder bookmarksFolder)
|
| Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, closeConnectionIfNecessary, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, 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 |
BookmarksFolderPersistence
public BookmarksFolderPersistence()
create
public BookmarksFolder create(java.lang.String folderId)
remove
public BookmarksFolder remove(java.lang.String folderId)
throws NoSuchFolderException,
SystemException
- Throws:
NoSuchFolderException
SystemException
remove
public BookmarksFolder remove(BookmarksFolder bookmarksFolder)
throws SystemException
- Throws:
SystemException
update
public BookmarksFolder update(BookmarksFolder bookmarksFolder)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public BookmarksFolder findByPrimaryKey(java.lang.String folderId)
throws NoSuchFolderException,
SystemException
- Throws:
NoSuchFolderException
SystemException
fetchByPrimaryKey
public BookmarksFolder fetchByPrimaryKey(java.lang.String folderId)
throws SystemException
- Throws:
SystemException
findByGroupId
public java.util.List findByGroupId(java.lang.String groupId)
throws SystemException
- Throws:
SystemException
findByGroupId
public java.util.List findByGroupId(java.lang.String groupId,
int begin,
int end)
throws SystemException
- Throws:
SystemException
findByGroupId
public java.util.List findByGroupId(java.lang.String groupId,
int begin,
int end,
com.liferay.util.dao.hibernate.OrderByComparator obc)
throws SystemException
- Throws:
SystemException
findByGroupId_First
public BookmarksFolder findByGroupId_First(java.lang.String groupId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
throws NoSuchFolderException,
SystemException
- Throws:
NoSuchFolderException
SystemException
findByGroupId_Last
public BookmarksFolder findByGroupId_Last(java.lang.String groupId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
throws NoSuchFolderException,
SystemException
- Throws:
NoSuchFolderException
SystemException
findByGroupId_PrevAndNext
public BookmarksFolder[] findByGroupId_PrevAndNext(java.lang.String folderId,
java.lang.String groupId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
throws NoSuchFolderException,
SystemException
- Throws:
NoSuchFolderException
SystemException
findByG_P
public java.util.List findByG_P(java.lang.String groupId,
java.lang.String parentFolderId)
throws SystemException
- Throws:
SystemException
findByG_P
public java.util.List findByG_P(java.lang.String groupId,
java.lang.String parentFolderId,
int begin,
int end)
throws SystemException
- Throws:
SystemException
findByG_P
public java.util.List findByG_P(java.lang.String groupId,
java.lang.String parentFolderId,
int begin,
int end,
com.liferay.util.dao.hibernate.OrderByComparator obc)
throws SystemException
- Throws:
SystemException
findByG_P_First
public BookmarksFolder findByG_P_First(java.lang.String groupId,
java.lang.String parentFolderId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
throws NoSuchFolderException,
SystemException
- Throws:
NoSuchFolderException
SystemException
findByG_P_Last
public BookmarksFolder findByG_P_Last(java.lang.String groupId,
java.lang.String parentFolderId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
throws NoSuchFolderException,
SystemException
- Throws:
NoSuchFolderException
SystemException
findByG_P_PrevAndNext
public BookmarksFolder[] findByG_P_PrevAndNext(java.lang.String folderId,
java.lang.String groupId,
java.lang.String parentFolderId,
com.liferay.util.dao.hibernate.OrderByComparator obc)
throws NoSuchFolderException,
SystemException
- Throws:
NoSuchFolderException
SystemException
findAll
public java.util.List findAll()
throws SystemException
- Throws:
SystemException
removeByGroupId
public void removeByGroupId(java.lang.String groupId)
throws SystemException
- Throws:
SystemException
removeByG_P
public void removeByG_P(java.lang.String groupId,
java.lang.String parentFolderId)
throws SystemException
- Throws:
SystemException
countByGroupId
public int countByGroupId(java.lang.String groupId)
throws SystemException
- Throws:
SystemException
countByG_P
public int countByG_P(java.lang.String groupId,
java.lang.String parentFolderId)
throws SystemException
- Throws:
SystemException
initDao
protected void initDao()