com.liferay.portlet.blogs.service.persistence
Class BlogsEntryFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portlet.blogs.service.persistence.BlogsEntryFinderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder

public class BlogsEntryFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_ORGANIZATION_IDS
           
static java.lang.String FIND_BY_NO_ASSETS
           
static java.lang.String FIND_BY_ORGANIZATION_IDS
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
BlogsEntryFinderImpl()
           
 
Method Summary
 int countByOrganizationId(long organizationId, java.util.Date displayDate, boolean draft)
           
 int countByOrganizationIds(java.util.List<java.lang.Long> organizationIds, java.util.Date displayDate, boolean draft)
           
 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByNoAssets()
           
 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationId(long organizationId, java.util.Date displayDate, boolean draft, int start, int end)
           
 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationIds(java.util.List<java.lang.Long> organizationIds, java.util.Date displayDate, boolean draft, int start, int end)
           
protected  java.lang.String getOrganizationIds(java.util.List<java.lang.Long> organizationIds)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
clearCache, closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_ORGANIZATION_IDS

public static java.lang.String COUNT_BY_ORGANIZATION_IDS

FIND_BY_ORGANIZATION_IDS

public static java.lang.String FIND_BY_ORGANIZATION_IDS

FIND_BY_NO_ASSETS

public static java.lang.String FIND_BY_NO_ASSETS
Constructor Detail

BlogsEntryFinderImpl

public BlogsEntryFinderImpl()
Method Detail

countByOrganizationId

public int countByOrganizationId(long organizationId,
                                 java.util.Date displayDate,
                                 boolean draft)
                          throws com.liferay.portal.SystemException
Specified by:
countByOrganizationId in interface com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder
Throws:
com.liferay.portal.SystemException

countByOrganizationIds

public int countByOrganizationIds(java.util.List<java.lang.Long> organizationIds,
                                  java.util.Date displayDate,
                                  boolean draft)
                           throws com.liferay.portal.SystemException
Specified by:
countByOrganizationIds in interface com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder
Throws:
com.liferay.portal.SystemException

findByOrganizationId

public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationId(long organizationId,
                                                                                       java.util.Date displayDate,
                                                                                       boolean draft,
                                                                                       int start,
                                                                                       int end)
                                                                                throws com.liferay.portal.SystemException
Specified by:
findByOrganizationId in interface com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder
Throws:
com.liferay.portal.SystemException

findByOrganizationIds

public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationIds(java.util.List<java.lang.Long> organizationIds,
                                                                                        java.util.Date displayDate,
                                                                                        boolean draft,
                                                                                        int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findByOrganizationIds in interface com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder
Throws:
com.liferay.portal.SystemException

findByNoAssets

public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByNoAssets()
                                                                          throws com.liferay.portal.SystemException
Specified by:
findByNoAssets in interface com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder
Throws:
com.liferay.portal.SystemException

getOrganizationIds

protected java.lang.String getOrganizationIds(java.util.List<java.lang.Long> organizationIds)