com.liferay.portlet.bookmarks.service.persistence
Class BookmarksEntryPersistence

java.lang.Object
  extended byorg.springframework.dao.support.DaoSupport
      extended byorg.springframework.jdbc.core.support.JdbcDaoSupport
          extended bycom.liferay.portal.service.persistence.BasePersistence
              extended bycom.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class BookmarksEntryPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
BookmarksEntryPersistence()
           
 
Method Summary
 int countByFolderId(java.lang.String folderId)
           
 BookmarksEntry create(java.lang.String entryId)
           
 BookmarksEntry fetchByPrimaryKey(java.lang.String entryId)
           
 java.util.List findAll()
           
 BookmarksEntry findByFolderId_First(java.lang.String folderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
 BookmarksEntry findByFolderId_Last(java.lang.String folderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
 BookmarksEntry[] findByFolderId_PrevAndNext(java.lang.String entryId, java.lang.String folderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
 java.util.List findByFolderId(java.lang.String folderId)
           
 java.util.List findByFolderId(java.lang.String folderId, int begin, int end)
           
 java.util.List findByFolderId(java.lang.String folderId, int begin, int end, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
 BookmarksEntry findByPrimaryKey(java.lang.String entryId)
           
protected  void initDao()
           
 BookmarksEntry remove(BookmarksEntry bookmarksEntry)
           
 BookmarksEntry remove(java.lang.String entryId)
           
 void removeByFolderId(java.lang.String folderId)
           
 BookmarksEntry update(BookmarksEntry bookmarksEntry)
           
 
Methods inherited from class com.liferay.portal.service.persistence.BasePersistence
closeSession, getDialect, getSessionFactory, openSession, openSession, setSessionFactory
 
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
 

Constructor Detail

BookmarksEntryPersistence

public BookmarksEntryPersistence()
Method Detail

create

public BookmarksEntry create(java.lang.String entryId)

remove

public BookmarksEntry remove(java.lang.String entryId)
                      throws NoSuchEntryException,
                             SystemException
Throws:
NoSuchEntryException
SystemException

remove

public BookmarksEntry remove(BookmarksEntry bookmarksEntry)
                      throws SystemException
Throws:
SystemException

update

public BookmarksEntry update(BookmarksEntry bookmarksEntry)
                      throws SystemException
Throws:
SystemException

findByPrimaryKey

public BookmarksEntry findByPrimaryKey(java.lang.String entryId)
                                throws NoSuchEntryException,
                                       SystemException
Throws:
NoSuchEntryException
SystemException

fetchByPrimaryKey

public BookmarksEntry fetchByPrimaryKey(java.lang.String entryId)
                                 throws SystemException
Throws:
SystemException

findByFolderId

public java.util.List findByFolderId(java.lang.String folderId)
                              throws SystemException
Throws:
SystemException

findByFolderId

public java.util.List findByFolderId(java.lang.String folderId,
                                     int begin,
                                     int end)
                              throws SystemException
Throws:
SystemException

findByFolderId

public java.util.List findByFolderId(java.lang.String folderId,
                                     int begin,
                                     int end,
                                     com.liferay.util.dao.hibernate.OrderByComparator obc)
                              throws SystemException
Throws:
SystemException

findByFolderId_First

public BookmarksEntry findByFolderId_First(java.lang.String folderId,
                                           com.liferay.util.dao.hibernate.OrderByComparator obc)
                                    throws NoSuchEntryException,
                                           SystemException
Throws:
NoSuchEntryException
SystemException

findByFolderId_Last

public BookmarksEntry findByFolderId_Last(java.lang.String folderId,
                                          com.liferay.util.dao.hibernate.OrderByComparator obc)
                                   throws NoSuchEntryException,
                                          SystemException
Throws:
NoSuchEntryException
SystemException

findByFolderId_PrevAndNext

public BookmarksEntry[] findByFolderId_PrevAndNext(java.lang.String entryId,
                                                   java.lang.String folderId,
                                                   com.liferay.util.dao.hibernate.OrderByComparator obc)
                                            throws NoSuchEntryException,
                                                   SystemException
Throws:
NoSuchEntryException
SystemException

findAll

public java.util.List findAll()
                       throws SystemException
Throws:
SystemException

removeByFolderId

public void removeByFolderId(java.lang.String folderId)
                      throws SystemException
Throws:
SystemException

countByFolderId

public int countByFolderId(java.lang.String folderId)
                    throws SystemException
Throws:
SystemException

initDao

protected void initDao()