com.liferay.portlet.journal.service.persistence
Class JournalArticleFinderImpl

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

public class JournalArticleFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.journal.service.persistence.JournalArticleFinder

View Source

Author:
Brian Wing Shun Chan, Raymond Augé

Field Summary
static java.lang.String COUNT_BY_C_G_A_V_T_D_C_T_S_T_D_A_E_R
           
static java.lang.String FIND_BY_C_G_A_V_T_D_C_T_S_T_D_A_E_R
           
static java.lang.String FIND_BY_EXPIRATION_DATE
           
static java.lang.String FIND_BY_R_D
           
static java.lang.String FIND_BY_REVIEW_DATE
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
JournalArticleFinderImpl()
           
 
Method Summary
 int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId, java.lang.String[] articleIds, java.lang.Double version, java.lang.String[] titles, java.lang.String[] descriptions, java.lang.String[] contents, java.lang.String type, java.lang.String[] structureIds, java.lang.String[] templateIds, java.util.Date displayDateGT, java.util.Date displayDateLT, java.lang.Boolean approved, java.lang.Boolean expired, java.util.Date reviewDate, boolean andOperator)
           
 int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId, java.lang.String articleId, java.lang.Double version, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String[] structureIds, java.lang.String[] templateIds, java.util.Date displayDateGT, java.util.Date displayDateLT, java.lang.Boolean approved, java.lang.Boolean expired, java.util.Date reviewDate, boolean andOperator)
           
 int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId, java.lang.String articleId, java.lang.Double version, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.String templateId, java.util.Date displayDateGT, java.util.Date displayDateLT, java.lang.Boolean approved, java.lang.Boolean expired, java.util.Date reviewDate, boolean andOperator)
           
 int countByKeywords(long companyId, long groupId, java.lang.String keywords, java.lang.Double version, java.lang.String type, java.lang.String structureId, java.lang.String templateId, java.util.Date displayDateGT, java.util.Date displayDateLT, java.lang.Boolean approved, java.lang.Boolean expired, java.util.Date reviewDate)
           
 java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId, java.lang.String[] articleIds, java.lang.Double version, java.lang.String[] titles, java.lang.String[] descriptions, java.lang.String[] contents, java.lang.String type, java.lang.String[] structureIds, java.lang.String[] templateIds, java.util.Date displayDateGT, java.util.Date displayDateLT, java.lang.Boolean approved, java.lang.Boolean expired, java.util.Date reviewDate, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId, java.lang.String articleId, java.lang.Double version, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String[] structureIds, java.lang.String[] templateIds, java.util.Date displayDateGT, java.util.Date displayDateLT, java.lang.Boolean approved, java.lang.Boolean expired, java.util.Date reviewDate, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId, java.lang.String articleId, java.lang.Double version, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.String templateId, java.util.Date displayDateGT, java.util.Date displayDateLT, java.lang.Boolean approved, java.lang.Boolean expired, java.util.Date reviewDate, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByExpirationDate(java.lang.Boolean expired, java.util.Date expirationDateLT, java.util.Date expirationDateGT)
           
 java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByKeywords(long companyId, long groupId, java.lang.String keywords, java.lang.Double version, java.lang.String type, java.lang.String structureId, java.lang.String templateId, java.util.Date displayDateGT, java.util.Date displayDateLT, java.lang.Boolean approved, java.lang.Boolean expired, java.util.Date reviewDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.journal.model.JournalArticle findByR_D(long resourcePrimKey, java.util.Date displayDate)
           
 java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByReviewDate(java.util.Date reviewDateLT, java.util.Date reviewDateGT)
           
 
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_C_G_A_V_T_D_C_T_S_T_D_A_E_R

public static java.lang.String COUNT_BY_C_G_A_V_T_D_C_T_S_T_D_A_E_R

FIND_BY_EXPIRATION_DATE

public static java.lang.String FIND_BY_EXPIRATION_DATE

FIND_BY_REVIEW_DATE

public static java.lang.String FIND_BY_REVIEW_DATE

FIND_BY_R_D

public static java.lang.String FIND_BY_R_D

FIND_BY_C_G_A_V_T_D_C_T_S_T_D_A_E_R

public static java.lang.String FIND_BY_C_G_A_V_T_D_C_T_S_T_D_A_E_R
Constructor Detail

JournalArticleFinderImpl

public JournalArticleFinderImpl()
Method Detail

countByKeywords

public int countByKeywords(long companyId,
                           long groupId,
                           java.lang.String keywords,
                           java.lang.Double version,
                           java.lang.String type,
                           java.lang.String structureId,
                           java.lang.String templateId,
                           java.util.Date displayDateGT,
                           java.util.Date displayDateLT,
                           java.lang.Boolean approved,
                           java.lang.Boolean expired,
                           java.util.Date reviewDate)
                    throws com.liferay.portal.SystemException
Specified by:
countByKeywords in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

countByC_G_A_V_T_D_C_T_S_T_D_A_E_R

public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
                                              long groupId,
                                              java.lang.String articleId,
                                              java.lang.Double version,
                                              java.lang.String title,
                                              java.lang.String description,
                                              java.lang.String content,
                                              java.lang.String type,
                                              java.lang.String structureId,
                                              java.lang.String templateId,
                                              java.util.Date displayDateGT,
                                              java.util.Date displayDateLT,
                                              java.lang.Boolean approved,
                                              java.lang.Boolean expired,
                                              java.util.Date reviewDate,
                                              boolean andOperator)
                                       throws com.liferay.portal.SystemException
Specified by:
countByC_G_A_V_T_D_C_T_S_T_D_A_E_R in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

countByC_G_A_V_T_D_C_T_S_T_D_A_E_R

public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
                                              long groupId,
                                              java.lang.String articleId,
                                              java.lang.Double version,
                                              java.lang.String title,
                                              java.lang.String description,
                                              java.lang.String content,
                                              java.lang.String type,
                                              java.lang.String[] structureIds,
                                              java.lang.String[] templateIds,
                                              java.util.Date displayDateGT,
                                              java.util.Date displayDateLT,
                                              java.lang.Boolean approved,
                                              java.lang.Boolean expired,
                                              java.util.Date reviewDate,
                                              boolean andOperator)
                                       throws com.liferay.portal.SystemException
Specified by:
countByC_G_A_V_T_D_C_T_S_T_D_A_E_R in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

countByC_G_A_V_T_D_C_T_S_T_D_A_E_R

public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
                                              long groupId,
                                              java.lang.String[] articleIds,
                                              java.lang.Double version,
                                              java.lang.String[] titles,
                                              java.lang.String[] descriptions,
                                              java.lang.String[] contents,
                                              java.lang.String type,
                                              java.lang.String[] structureIds,
                                              java.lang.String[] templateIds,
                                              java.util.Date displayDateGT,
                                              java.util.Date displayDateLT,
                                              java.lang.Boolean approved,
                                              java.lang.Boolean expired,
                                              java.util.Date reviewDate,
                                              boolean andOperator)
                                       throws com.liferay.portal.SystemException
Specified by:
countByC_G_A_V_T_D_C_T_S_T_D_A_E_R in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

findByExpirationDate

public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByExpirationDate(java.lang.Boolean expired,
                                                                                             java.util.Date expirationDateLT,
                                                                                             java.util.Date expirationDateGT)
                                                                                      throws com.liferay.portal.SystemException
Specified by:
findByExpirationDate in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

findByKeywords

public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByKeywords(long companyId,
                                                                                       long groupId,
                                                                                       java.lang.String keywords,
                                                                                       java.lang.Double version,
                                                                                       java.lang.String type,
                                                                                       java.lang.String structureId,
                                                                                       java.lang.String templateId,
                                                                                       java.util.Date displayDateGT,
                                                                                       java.util.Date displayDateLT,
                                                                                       java.lang.Boolean approved,
                                                                                       java.lang.Boolean expired,
                                                                                       java.util.Date reviewDate,
                                                                                       int start,
                                                                                       int end,
                                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                throws com.liferay.portal.SystemException
Specified by:
findByKeywords in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

findByReviewDate

public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByReviewDate(java.util.Date reviewDateLT,
                                                                                         java.util.Date reviewDateGT)
                                                                                  throws com.liferay.portal.SystemException
Specified by:
findByReviewDate in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

findByR_D

public com.liferay.portlet.journal.model.JournalArticle findByR_D(long resourcePrimKey,
                                                                  java.util.Date displayDate)
                                                           throws com.liferay.portlet.journal.NoSuchArticleException,
                                                                  com.liferay.portal.SystemException
Specified by:
findByR_D in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException

findByC_G_A_V_T_D_C_T_S_T_D_A_E_R

public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
                                                                                                          long groupId,
                                                                                                          java.lang.String articleId,
                                                                                                          java.lang.Double version,
                                                                                                          java.lang.String title,
                                                                                                          java.lang.String description,
                                                                                                          java.lang.String content,
                                                                                                          java.lang.String type,
                                                                                                          java.lang.String structureId,
                                                                                                          java.lang.String templateId,
                                                                                                          java.util.Date displayDateGT,
                                                                                                          java.util.Date displayDateLT,
                                                                                                          java.lang.Boolean approved,
                                                                                                          java.lang.Boolean expired,
                                                                                                          java.util.Date reviewDate,
                                                                                                          boolean andOperator,
                                                                                                          int start,
                                                                                                          int end,
                                                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                                   throws com.liferay.portal.SystemException
Specified by:
findByC_G_A_V_T_D_C_T_S_T_D_A_E_R in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

findByC_G_A_V_T_D_C_T_S_T_D_A_E_R

public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
                                                                                                          long groupId,
                                                                                                          java.lang.String articleId,
                                                                                                          java.lang.Double version,
                                                                                                          java.lang.String title,
                                                                                                          java.lang.String description,
                                                                                                          java.lang.String content,
                                                                                                          java.lang.String type,
                                                                                                          java.lang.String[] structureIds,
                                                                                                          java.lang.String[] templateIds,
                                                                                                          java.util.Date displayDateGT,
                                                                                                          java.util.Date displayDateLT,
                                                                                                          java.lang.Boolean approved,
                                                                                                          java.lang.Boolean expired,
                                                                                                          java.util.Date reviewDate,
                                                                                                          boolean andOperator,
                                                                                                          int start,
                                                                                                          int end,
                                                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                                   throws com.liferay.portal.SystemException
Specified by:
findByC_G_A_V_T_D_C_T_S_T_D_A_E_R in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException

findByC_G_A_V_T_D_C_T_S_T_D_A_E_R

public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
                                                                                                          long groupId,
                                                                                                          java.lang.String[] articleIds,
                                                                                                          java.lang.Double version,
                                                                                                          java.lang.String[] titles,
                                                                                                          java.lang.String[] descriptions,
                                                                                                          java.lang.String[] contents,
                                                                                                          java.lang.String type,
                                                                                                          java.lang.String[] structureIds,
                                                                                                          java.lang.String[] templateIds,
                                                                                                          java.util.Date displayDateGT,
                                                                                                          java.util.Date displayDateLT,
                                                                                                          java.lang.Boolean approved,
                                                                                                          java.lang.Boolean expired,
                                                                                                          java.util.Date reviewDate,
                                                                                                          boolean andOperator,
                                                                                                          int start,
                                                                                                          int end,
                                                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                                   throws com.liferay.portal.SystemException
Specified by:
findByC_G_A_V_T_D_C_T_S_T_D_A_E_R in interface com.liferay.portlet.journal.service.persistence.JournalArticleFinder
Throws:
com.liferay.portal.SystemException