Liferay 6.0.5

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

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

public class JournalArticleFinderImpl
extends BasePersistenceImpl<JournalArticle>
implements JournalArticleFinder


Field Summary
static String COUNT_BY_C_G_A_V_T_D_C_T_S_T_D_S_R
           
static String FIND_BY_C_G_A_V_T_D_C_T_S_T_D_S_R
           
static String FIND_BY_EXPIRATION_DATE
           
static String FIND_BY_R_D
           
static String FIND_BY_REVIEW_DATE
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
JournalArticleFinderImpl()
           
 
Method Summary
 int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, String[] articleIds, Double version, String[] titles, String[] descriptions, String[] contents, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator)
           
 int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator)
           
 int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator)
           
 int countByKeywords(long companyId, long groupId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate)
           
 List<JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, String[] articleIds, Double version, String[] titles, String[] descriptions, String[] contents, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
 List<JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
 List<JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
 List<JournalArticle> findByExpirationDate(int status, Date expirationDateLT, Date expirationDateGT)
           
 List<JournalArticle> findByKeywords(long companyId, long groupId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, int start, int end, OrderByComparator orderByComparator)
           
 JournalArticle findByR_D(long resourcePrimKey, Date displayDate)
           
 List<JournalArticle> findByReviewDate(Date reviewDateLT, Date reviewDateGT)
           
protected  JournalArticle getLatestArticle(long groupId, String articleId, int status)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, updateImpl
 
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_S_R

public static String COUNT_BY_C_G_A_V_T_D_C_T_S_T_D_S_R

FIND_BY_EXPIRATION_DATE

public static String FIND_BY_EXPIRATION_DATE

FIND_BY_REVIEW_DATE

public static String FIND_BY_REVIEW_DATE

FIND_BY_R_D

public static String FIND_BY_R_D

FIND_BY_C_G_A_V_T_D_C_T_S_T_D_S_R

public static String FIND_BY_C_G_A_V_T_D_C_T_S_T_D_S_R
Constructor Detail

JournalArticleFinderImpl

public JournalArticleFinderImpl()
Method Detail

countByKeywords

public int countByKeywords(long companyId,
                           long groupId,
                           String keywords,
                           Double version,
                           String type,
                           String structureId,
                           String templateId,
                           Date displayDateGT,
                           Date displayDateLT,
                           int status,
                           Date reviewDate)
                    throws SystemException
Specified by:
countByKeywords in interface JournalArticleFinder
Throws:
SystemException

countByC_G_A_V_T_D_C_T_S_T_D_S_R

public int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                            long groupId,
                                            String articleId,
                                            Double version,
                                            String title,
                                            String description,
                                            String content,
                                            String type,
                                            String structureId,
                                            String templateId,
                                            Date displayDateGT,
                                            Date displayDateLT,
                                            int status,
                                            Date reviewDate,
                                            boolean andOperator)
                                     throws SystemException
Specified by:
countByC_G_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

countByC_G_A_V_T_D_C_T_S_T_D_S_R

public int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                            long groupId,
                                            String articleId,
                                            Double version,
                                            String title,
                                            String description,
                                            String content,
                                            String type,
                                            String[] structureIds,
                                            String[] templateIds,
                                            Date displayDateGT,
                                            Date displayDateLT,
                                            int status,
                                            Date reviewDate,
                                            boolean andOperator)
                                     throws SystemException
Specified by:
countByC_G_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

countByC_G_A_V_T_D_C_T_S_T_D_S_R

public int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                            long groupId,
                                            String[] articleIds,
                                            Double version,
                                            String[] titles,
                                            String[] descriptions,
                                            String[] contents,
                                            String type,
                                            String[] structureIds,
                                            String[] templateIds,
                                            Date displayDateGT,
                                            Date displayDateLT,
                                            int status,
                                            Date reviewDate,
                                            boolean andOperator)
                                     throws SystemException
Specified by:
countByC_G_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

findByExpirationDate

public List<JournalArticle> findByExpirationDate(int status,
                                                 Date expirationDateLT,
                                                 Date expirationDateGT)
                                          throws SystemException
Specified by:
findByExpirationDate in interface JournalArticleFinder
Throws:
SystemException

findByKeywords

public List<JournalArticle> findByKeywords(long companyId,
                                           long groupId,
                                           String keywords,
                                           Double version,
                                           String type,
                                           String structureId,
                                           String templateId,
                                           Date displayDateGT,
                                           Date displayDateLT,
                                           int status,
                                           Date reviewDate,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Specified by:
findByKeywords in interface JournalArticleFinder
Throws:
SystemException

findByReviewDate

public List<JournalArticle> findByReviewDate(Date reviewDateLT,
                                             Date reviewDateGT)
                                      throws SystemException
Specified by:
findByReviewDate in interface JournalArticleFinder
Throws:
SystemException

findByR_D

public JournalArticle findByR_D(long resourcePrimKey,
                                Date displayDate)
                         throws NoSuchArticleException,
                                SystemException
Specified by:
findByR_D in interface JournalArticleFinder
Throws:
NoSuchArticleException
SystemException

findByC_G_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                            long groupId,
                                                            String articleId,
                                                            Double version,
                                                            String title,
                                                            String description,
                                                            String content,
                                                            String type,
                                                            String structureId,
                                                            String templateId,
                                                            Date displayDateGT,
                                                            Date displayDateLT,
                                                            int status,
                                                            Date reviewDate,
                                                            boolean andOperator,
                                                            int start,
                                                            int end,
                                                            OrderByComparator orderByComparator)
                                                     throws SystemException
Specified by:
findByC_G_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

findByC_G_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                            long groupId,
                                                            String articleId,
                                                            Double version,
                                                            String title,
                                                            String description,
                                                            String content,
                                                            String type,
                                                            String[] structureIds,
                                                            String[] templateIds,
                                                            Date displayDateGT,
                                                            Date displayDateLT,
                                                            int status,
                                                            Date reviewDate,
                                                            boolean andOperator,
                                                            int start,
                                                            int end,
                                                            OrderByComparator orderByComparator)
                                                     throws SystemException
Specified by:
findByC_G_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

findByC_G_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                            long groupId,
                                                            String[] articleIds,
                                                            Double version,
                                                            String[] titles,
                                                            String[] descriptions,
                                                            String[] contents,
                                                            String type,
                                                            String[] structureIds,
                                                            String[] templateIds,
                                                            Date displayDateGT,
                                                            Date displayDateLT,
                                                            int status,
                                                            Date reviewDate,
                                                            boolean andOperator,
                                                            int start,
                                                            int end,
                                                            OrderByComparator orderByComparator)
                                                     throws SystemException
Specified by:
findByC_G_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

getLatestArticle

protected JournalArticle getLatestArticle(long groupId,
                                          String articleId,
                                          int status)
                                   throws SystemException
Throws:
SystemException

Liferay 6.0.5