Liferay 6.1.2-ce-ga3

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_C_A_V_T_D_C_T_S_T_D_S_R
           
static String FIND_BY_C_G_C_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, FINDER_ARGS_EMPTY, 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_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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, long classNameId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate)
           
protected  int doCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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, boolean inlineSQLHelper)
           
protected  List<JournalArticle> doFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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, boolean inlineSQLHelper)
           
 int filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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 filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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 filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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 filterCountByKeywords(long companyId, long groupId, long classNameId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate)
           
 List<JournalArticle> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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> filterFindByKeywords(long companyId, long groupId, long classNameId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, int start, int end, OrderByComparator orderByComparator)
           
 List<JournalArticle> findByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId, long classNameId, 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(long classNameId, int status, Date expirationDateLT)
           
 List<JournalArticle> findByKeywords(long companyId, long groupId, long classNameId, 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(long classNameId, Date reviewDateLT, Date reviewDateGT)
           
protected  JournalArticle getLatestArticle(long groupId, String articleId, int status)
           
protected  boolean isNullArray(Object[] array)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, 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_C_A_V_T_D_C_T_S_T_D_S_R

public static final String COUNT_BY_C_G_C_A_V_T_D_C_T_S_T_D_S_R

FIND_BY_EXPIRATION_DATE

public static final String FIND_BY_EXPIRATION_DATE

FIND_BY_REVIEW_DATE

public static final String FIND_BY_REVIEW_DATE

FIND_BY_R_D

public static final String FIND_BY_R_D

FIND_BY_C_G_C_A_V_T_D_C_T_S_T_D_S_R

public static final String FIND_BY_C_G_C_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,
                           long classNameId,
                           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_C_A_V_T_D_C_T_S_T_D_S_R

public int countByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                              long groupId,
                                              long classNameId,
                                              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_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

countByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public int countByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                              long groupId,
                                              long classNameId,
                                              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_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

countByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public int countByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                              long groupId,
                                              long classNameId,
                                              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_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

filterCountByKeywords

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

filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public int filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                    long groupId,
                                                    long classNameId,
                                                    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:
filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public int filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                    long groupId,
                                                    long classNameId,
                                                    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:
filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public int filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                    long groupId,
                                                    long classNameId,
                                                    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:
filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

filterFindByKeywords

public List<JournalArticle> filterFindByKeywords(long companyId,
                                                 long groupId,
                                                 long classNameId,
                                                 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:
filterFindByKeywords in interface JournalArticleFinder
Throws:
SystemException

filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                                    long groupId,
                                                                    long classNameId,
                                                                    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:
filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                                    long groupId,
                                                                    long classNameId,
                                                                    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:
filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                                    long groupId,
                                                                    long classNameId,
                                                                    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:
filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

findByExpirationDate

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

findByKeywords

public List<JournalArticle> findByKeywords(long companyId,
                                           long groupId,
                                           long classNameId,
                                           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(long classNameId,
                                             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_C_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> findByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                              long groupId,
                                                              long classNameId,
                                                              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_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

findByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> findByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                              long groupId,
                                                              long classNameId,
                                                              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_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

findByC_G_C_A_V_T_D_C_T_S_T_D_S_R

public List<JournalArticle> findByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                              long groupId,
                                                              long classNameId,
                                                              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_C_A_V_T_D_C_T_S_T_D_S_R in interface JournalArticleFinder
Throws:
SystemException

doCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R

protected int doCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                   long groupId,
                                                   long classNameId,
                                                   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,
                                                   boolean inlineSQLHelper)
                                            throws SystemException
Throws:
SystemException

doFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R

protected List<JournalArticle> doFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
                                                                   long groupId,
                                                                   long classNameId,
                                                                   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,
                                                                   boolean inlineSQLHelper)
                                                            throws SystemException
Throws:
SystemException

getLatestArticle

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

isNullArray

protected boolean isNullArray(Object[] array)

Liferay 6.1.2-ce-ga3