Liferay 6.2-ce-ga5

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_F_C_A_V_T_D_C_T_S_T_D_R
           
static String COUNT_BY_G_C_S
           
static String COUNT_BY_G_F
           
static String COUNT_BY_G_U_F_C
           
static String FIND_BY_C_G_F_C_A_V_T_D_C_T_S_T_D_R
           
static String FIND_BY_EXPIRATION_DATE
           
static String FIND_BY_G_C_S
           
static String FIND_BY_G_F
           
static String FIND_BY_G_U_F_C
           
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_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String[] articleIds, Double version, String[] titles, String[] descriptions, String[] contents, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 int countByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String articleId, Double version, String title, String description, String content, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 int countByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String articleId, Double version, String title, String description, String content, String type, String ddmStructureKey, String ddmTemplateKey, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 int countByG_C_S(long groupId, long classNameId, String[] ddmStructureKeys, QueryDefinition queryDefinition)
           
 int countByG_C_S(long groupId, long classNameId, String ddmStructureKey, QueryDefinition queryDefinition)
           
 int countByG_F_C(long groupId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition)
           
 int countByG_F(long groupId, List<Long> folderIds, QueryDefinition queryDefinition)
           
 int countByG_U_F_C(long groupId, long userId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition)
          Deprecated. As of 7.0.0, replaced by countByG_F_C(long, List, long, QueryDefinition)
 int countByKeywords(long companyId, long groupId, List<Long> folderIds, long classNameId, String keywords, Double version, String type, String ddmStructureKey, String ddmTemplateKey, Date displayDateGT, Date displayDateLT, int status, Date reviewDate)
           
protected  int doCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String[] articleIds, Double version, String[] titles, String[] descriptions, String[] contents, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  int doCountByG_C_S(long groupId, long classNameId, String[] ddmStructureKeys, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  int doCountByG_C_S(long groupId, long classNameId, String ddmStructureKey, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  int doCountByG_F_C(long groupId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  int doCountByG_F(long groupId, List<Long> folderIds, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  List<JournalArticle> doFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String[] articleIds, Double version, String[] titles, String[] descriptions, String[] contents, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  List<JournalArticle> doFindByG_C_S(long groupId, long classNameId, String[] ddmStructureKeys, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  List<JournalArticle> doFindByG_C_S(long groupId, long classNameId, String ddmStructureKey, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  List<JournalArticle> doFindByG_F_C(long groupId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
protected  List<JournalArticle> doFindByG_F(long groupId, List<Long> folderIds, QueryDefinition queryDefinition, boolean inlineSQLHelper)
           
 int filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String[] articleIds, Double version, String[] titles, String[] descriptions, String[] contents, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 int filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String articleId, Double version, String title, String description, String content, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 int filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String articleId, Double version, String title, String description, String content, String type, String ddmStructureKey, String ddmTemplateKey, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 int filterCountByG_C_S(long groupId, long classNameId, String ddmStructureKey, QueryDefinition queryDefinition)
           
 int filterCountByG_F_C(long groupId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition)
           
 int filterCountByG_F(long groupId, List<Long> folderIds, QueryDefinition queryDefinition)
           
 int filterCountByG_U_F_C(long groupId, long userId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition)
          Deprecated. As of 7.0.0, replaced by filterCountByG_F_C(long, List, long, QueryDefinition)
 int filterCountByKeywords(long companyId, long groupId, List<Long> folderIds, long classNameId, String keywords, Double version, String type, String ddmStructureKey, String ddmTemplateKey, Date displayDateGT, Date displayDateLT, int status, Date reviewDate)
           
 List<JournalArticle> filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String[] articleIds, Double version, String[] titles, String[] descriptions, String[] contents, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 List<JournalArticle> filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String articleId, Double version, String title, String description, String content, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 List<JournalArticle> filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String articleId, Double version, String title, String description, String content, String type, String ddmStructureKey, String ddmTemplateKey, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 List<JournalArticle> filterFindByG_C_S(long groupId, long classNameId, String ddmStructureKey, QueryDefinition queryDefinition)
           
 List<JournalArticle> filterFindByG_F_C(long groupId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition)
           
 List<JournalArticle> filterFindByG_F(long groupId, List<Long> folderIds, QueryDefinition queryDefinition)
           
 List<JournalArticle> filterFindByG_U_F_C(long groupId, long userId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition)
          Deprecated. As of 7.0.0, replaced by filterFindByG_F_C(long, List, long, QueryDefinition)
 List<JournalArticle> filterFindByKeywords(long companyId, long groupId, List<Long> folderIds, long classNameId, String keywords, Double version, String type, String ddmStructureKey, String ddmTemplateKey, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, int start, int end, OrderByComparator orderByComparator)
           
 List<JournalArticle> findByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String[] articleIds, Double version, String[] titles, String[] descriptions, String[] contents, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 List<JournalArticle> findByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String articleId, Double version, String title, String description, String content, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 List<JournalArticle> findByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId, long groupId, List<Long> folderIds, long classNameId, String articleId, Double version, String title, String description, String content, String type, String ddmStructureKey, String ddmTemplateKey, Date displayDateGT, Date displayDateLT, Date reviewDate, boolean andOperator, QueryDefinition queryDefinition)
           
 List<JournalArticle> findByExpirationDate(long classNameId, Date expirationDateLT, QueryDefinition queryDefinition)
           
 List<JournalArticle> findByG_C_S(long groupId, long classNameId, String[] ddmStructureKeys, QueryDefinition queryDefinition)
           
 List<JournalArticle> findByG_C_S(long groupId, long classNameId, String ddmStructureKey, QueryDefinition queryDefinition)
           
 List<JournalArticle> findByG_F_C(long groupId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition)
           
 List<JournalArticle> findByG_F(long groupId, List<Long> folderIds, QueryDefinition queryDefinition)
           
 List<JournalArticle> findByG_U_F_C(long groupId, long userId, List<Long> folderIds, long classNameId, QueryDefinition queryDefinition)
          Deprecated. As of 7.0.0, replaced by findByG_F_C(long, List, long, QueryDefinition)
 List<JournalArticle> findByKeywords(long companyId, long groupId, List<Long> folderIds, long classNameId, String keywords, Double version, String type, String ddmStructureKey, String ddmTemplateKey, 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  String getDDMStructureKeys(String[] ddmStructureKeys, String tableName)
           
protected  String getFolderIds(List<Long> folderIds, String tableName)
           
protected  JournalArticle getLatestArticle(long groupId, String articleId, int status)
           
protected  boolean isNullArray(Object[] array)
           
protected  String replaceStatusJoin(String sql, QueryDefinition queryDefinition)
           
protected  String replaceTypeStructureTemplate(String sql, String type, String[] ddmStructureKeys, String[] ddmTemplateKeys)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_G_F

public static final String COUNT_BY_G_F

COUNT_BY_G_C_S

public static final String COUNT_BY_G_C_S

COUNT_BY_G_U_F_C

public static final String COUNT_BY_G_U_F_C

COUNT_BY_C_G_F_C_A_V_T_D_C_T_S_T_D_R

public static final String COUNT_BY_C_G_F_C_A_V_T_D_C_T_S_T_D_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_G_F

public static final String FIND_BY_G_F

FIND_BY_G_C_S

public static final String FIND_BY_G_C_S

FIND_BY_G_U_F_C

public static final String FIND_BY_G_U_F_C

FIND_BY_C_G_F_C_A_V_T_D_C_T_S_T_D_R

public static final String FIND_BY_C_G_F_C_A_V_T_D_C_T_S_T_D_R
Constructor Detail

JournalArticleFinderImpl

public JournalArticleFinderImpl()
Method Detail

countByKeywords

public int countByKeywords(long companyId,
                           long groupId,
                           List<Long> folderIds,
                           long classNameId,
                           String keywords,
                           Double version,
                           String type,
                           String ddmStructureKey,
                           String ddmTemplateKey,
                           Date displayDateGT,
                           Date displayDateLT,
                           int status,
                           Date reviewDate)
                    throws SystemException
Specified by:
countByKeywords in interface JournalArticleFinder
Throws:
SystemException

countByG_F

public int countByG_F(long groupId,
                      List<Long> folderIds,
                      QueryDefinition queryDefinition)
               throws SystemException
Specified by:
countByG_F in interface JournalArticleFinder
Throws:
SystemException

countByG_F_C

public int countByG_F_C(long groupId,
                        List<Long> folderIds,
                        long classNameId,
                        QueryDefinition queryDefinition)
                 throws SystemException
Specified by:
countByG_F_C in interface JournalArticleFinder
Throws:
SystemException

countByG_C_S

public int countByG_C_S(long groupId,
                        long classNameId,
                        String ddmStructureKey,
                        QueryDefinition queryDefinition)
                 throws SystemException
Specified by:
countByG_C_S in interface JournalArticleFinder
Throws:
SystemException

countByG_C_S

public int countByG_C_S(long groupId,
                        long classNameId,
                        String[] ddmStructureKeys,
                        QueryDefinition queryDefinition)
                 throws SystemException
Specified by:
countByG_C_S in interface JournalArticleFinder
Throws:
SystemException

countByG_U_F_C

@Deprecated
public int countByG_U_F_C(long groupId,
                                     long userId,
                                     List<Long> folderIds,
                                     long classNameId,
                                     QueryDefinition queryDefinition)
                   throws SystemException
Deprecated. As of 7.0.0, replaced by countByG_F_C(long, List, long, QueryDefinition)

Specified by:
countByG_U_F_C in interface JournalArticleFinder
Throws:
SystemException

countByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public int countByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                              long groupId,
                                              List<Long> folderIds,
                                              long classNameId,
                                              String articleId,
                                              Double version,
                                              String title,
                                              String description,
                                              String content,
                                              String type,
                                              String ddmStructureKey,
                                              String ddmTemplateKey,
                                              Date displayDateGT,
                                              Date displayDateLT,
                                              Date reviewDate,
                                              boolean andOperator,
                                              QueryDefinition queryDefinition)
                                       throws SystemException
Specified by:
countByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

countByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public int countByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                              long groupId,
                                              List<Long> folderIds,
                                              long classNameId,
                                              String articleId,
                                              Double version,
                                              String title,
                                              String description,
                                              String content,
                                              String type,
                                              String[] ddmStructureKeys,
                                              String[] ddmTemplateKeys,
                                              Date displayDateGT,
                                              Date displayDateLT,
                                              Date reviewDate,
                                              boolean andOperator,
                                              QueryDefinition queryDefinition)
                                       throws SystemException
Specified by:
countByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

countByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public int countByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                              long groupId,
                                              List<Long> folderIds,
                                              long classNameId,
                                              String[] articleIds,
                                              Double version,
                                              String[] titles,
                                              String[] descriptions,
                                              String[] contents,
                                              String type,
                                              String[] ddmStructureKeys,
                                              String[] ddmTemplateKeys,
                                              Date displayDateGT,
                                              Date displayDateLT,
                                              Date reviewDate,
                                              boolean andOperator,
                                              QueryDefinition queryDefinition)
                                       throws SystemException
Specified by:
countByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

filterCountByKeywords

public int filterCountByKeywords(long companyId,
                                 long groupId,
                                 List<Long> folderIds,
                                 long classNameId,
                                 String keywords,
                                 Double version,
                                 String type,
                                 String ddmStructureKey,
                                 String ddmTemplateKey,
                                 Date displayDateGT,
                                 Date displayDateLT,
                                 int status,
                                 Date reviewDate)
                          throws SystemException
Specified by:
filterCountByKeywords in interface JournalArticleFinder
Throws:
SystemException

filterCountByG_F

public int filterCountByG_F(long groupId,
                            List<Long> folderIds,
                            QueryDefinition queryDefinition)
                     throws SystemException
Specified by:
filterCountByG_F in interface JournalArticleFinder
Throws:
SystemException

filterCountByG_F_C

public int filterCountByG_F_C(long groupId,
                              List<Long> folderIds,
                              long classNameId,
                              QueryDefinition queryDefinition)
                       throws SystemException
Specified by:
filterCountByG_F_C in interface JournalArticleFinder
Throws:
SystemException

filterCountByG_C_S

public int filterCountByG_C_S(long groupId,
                              long classNameId,
                              String ddmStructureKey,
                              QueryDefinition queryDefinition)
                       throws SystemException
Specified by:
filterCountByG_C_S in interface JournalArticleFinder
Throws:
SystemException

filterCountByG_U_F_C

@Deprecated
public int filterCountByG_U_F_C(long groupId,
                                           long userId,
                                           List<Long> folderIds,
                                           long classNameId,
                                           QueryDefinition queryDefinition)
                         throws SystemException
Deprecated. As of 7.0.0, replaced by filterCountByG_F_C(long, List, long, QueryDefinition)

Specified by:
filterCountByG_U_F_C in interface JournalArticleFinder
Throws:
SystemException

filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public int filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                    long groupId,
                                                    List<Long> folderIds,
                                                    long classNameId,
                                                    String articleId,
                                                    Double version,
                                                    String title,
                                                    String description,
                                                    String content,
                                                    String type,
                                                    String ddmStructureKey,
                                                    String ddmTemplateKey,
                                                    Date displayDateGT,
                                                    Date displayDateLT,
                                                    Date reviewDate,
                                                    boolean andOperator,
                                                    QueryDefinition queryDefinition)
                                             throws SystemException
Specified by:
filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public int filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                    long groupId,
                                                    List<Long> folderIds,
                                                    long classNameId,
                                                    String articleId,
                                                    Double version,
                                                    String title,
                                                    String description,
                                                    String content,
                                                    String type,
                                                    String[] ddmStructureKeys,
                                                    String[] ddmTemplateKeys,
                                                    Date displayDateGT,
                                                    Date displayDateLT,
                                                    Date reviewDate,
                                                    boolean andOperator,
                                                    QueryDefinition queryDefinition)
                                             throws SystemException
Specified by:
filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public int filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                    long groupId,
                                                    List<Long> folderIds,
                                                    long classNameId,
                                                    String[] articleIds,
                                                    Double version,
                                                    String[] titles,
                                                    String[] descriptions,
                                                    String[] contents,
                                                    String type,
                                                    String[] ddmStructureKeys,
                                                    String[] ddmTemplateKeys,
                                                    Date displayDateGT,
                                                    Date displayDateLT,
                                                    Date reviewDate,
                                                    boolean andOperator,
                                                    QueryDefinition queryDefinition)
                                             throws SystemException
Specified by:
filterCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

filterFindByKeywords

public List<JournalArticle> filterFindByKeywords(long companyId,
                                                 long groupId,
                                                 List<Long> folderIds,
                                                 long classNameId,
                                                 String keywords,
                                                 Double version,
                                                 String type,
                                                 String ddmStructureKey,
                                                 String ddmTemplateKey,
                                                 Date displayDateGT,
                                                 Date displayDateLT,
                                                 int status,
                                                 Date reviewDate,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Specified by:
filterFindByKeywords in interface JournalArticleFinder
Throws:
SystemException

filterFindByG_F

public List<JournalArticle> filterFindByG_F(long groupId,
                                            List<Long> folderIds,
                                            QueryDefinition queryDefinition)
                                     throws SystemException
Specified by:
filterFindByG_F in interface JournalArticleFinder
Throws:
SystemException

filterFindByG_F_C

public List<JournalArticle> filterFindByG_F_C(long groupId,
                                              List<Long> folderIds,
                                              long classNameId,
                                              QueryDefinition queryDefinition)
                                       throws SystemException
Specified by:
filterFindByG_F_C in interface JournalArticleFinder
Throws:
SystemException

filterFindByG_C_S

public List<JournalArticle> filterFindByG_C_S(long groupId,
                                              long classNameId,
                                              String ddmStructureKey,
                                              QueryDefinition queryDefinition)
                                       throws SystemException
Specified by:
filterFindByG_C_S in interface JournalArticleFinder
Throws:
SystemException

filterFindByG_U_F_C

@Deprecated
public List<JournalArticle> filterFindByG_U_F_C(long groupId,
                                                           long userId,
                                                           List<Long> folderIds,
                                                           long classNameId,
                                                           QueryDefinition queryDefinition)
                                         throws SystemException
Deprecated. As of 7.0.0, replaced by filterFindByG_F_C(long, List, long, QueryDefinition)

Specified by:
filterFindByG_U_F_C in interface JournalArticleFinder
Throws:
SystemException

filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public List<JournalArticle> filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                                    long groupId,
                                                                    List<Long> folderIds,
                                                                    long classNameId,
                                                                    String articleId,
                                                                    Double version,
                                                                    String title,
                                                                    String description,
                                                                    String content,
                                                                    String type,
                                                                    String ddmStructureKey,
                                                                    String ddmTemplateKey,
                                                                    Date displayDateGT,
                                                                    Date displayDateLT,
                                                                    Date reviewDate,
                                                                    boolean andOperator,
                                                                    QueryDefinition queryDefinition)
                                                             throws SystemException
Specified by:
filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public List<JournalArticle> filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                                    long groupId,
                                                                    List<Long> folderIds,
                                                                    long classNameId,
                                                                    String articleId,
                                                                    Double version,
                                                                    String title,
                                                                    String description,
                                                                    String content,
                                                                    String type,
                                                                    String[] ddmStructureKeys,
                                                                    String[] ddmTemplateKeys,
                                                                    Date displayDateGT,
                                                                    Date displayDateLT,
                                                                    Date reviewDate,
                                                                    boolean andOperator,
                                                                    QueryDefinition queryDefinition)
                                                             throws SystemException
Specified by:
filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public List<JournalArticle> filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                                    long groupId,
                                                                    List<Long> folderIds,
                                                                    long classNameId,
                                                                    String[] articleIds,
                                                                    Double version,
                                                                    String[] titles,
                                                                    String[] descriptions,
                                                                    String[] contents,
                                                                    String type,
                                                                    String[] ddmStructureKeys,
                                                                    String[] ddmTemplateKeys,
                                                                    Date displayDateGT,
                                                                    Date displayDateLT,
                                                                    Date reviewDate,
                                                                    boolean andOperator,
                                                                    QueryDefinition queryDefinition)
                                                             throws SystemException
Specified by:
filterFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

findByExpirationDate

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

findByKeywords

public List<JournalArticle> findByKeywords(long companyId,
                                           long groupId,
                                           List<Long> folderIds,
                                           long classNameId,
                                           String keywords,
                                           Double version,
                                           String type,
                                           String ddmStructureKey,
                                           String ddmTemplateKey,
                                           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

findByG_F

public List<JournalArticle> findByG_F(long groupId,
                                      List<Long> folderIds,
                                      QueryDefinition queryDefinition)
                               throws SystemException
Specified by:
findByG_F in interface JournalArticleFinder
Throws:
SystemException

findByG_F_C

public List<JournalArticle> findByG_F_C(long groupId,
                                        List<Long> folderIds,
                                        long classNameId,
                                        QueryDefinition queryDefinition)
                                 throws SystemException
Specified by:
findByG_F_C in interface JournalArticleFinder
Throws:
SystemException

findByG_C_S

public List<JournalArticle> findByG_C_S(long groupId,
                                        long classNameId,
                                        String ddmStructureKey,
                                        QueryDefinition queryDefinition)
                                 throws SystemException
Specified by:
findByG_C_S in interface JournalArticleFinder
Throws:
SystemException

findByG_C_S

public List<JournalArticle> findByG_C_S(long groupId,
                                        long classNameId,
                                        String[] ddmStructureKeys,
                                        QueryDefinition queryDefinition)
                                 throws SystemException
Specified by:
findByG_C_S in interface JournalArticleFinder
Throws:
SystemException

findByG_U_F_C

@Deprecated
public List<JournalArticle> findByG_U_F_C(long groupId,
                                                     long userId,
                                                     List<Long> folderIds,
                                                     long classNameId,
                                                     QueryDefinition queryDefinition)
                                   throws SystemException
Deprecated. As of 7.0.0, replaced by findByG_F_C(long, List, long, QueryDefinition)

Specified by:
findByG_U_F_C in interface JournalArticleFinder
Throws:
SystemException

findByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public List<JournalArticle> findByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                              long groupId,
                                                              List<Long> folderIds,
                                                              long classNameId,
                                                              String articleId,
                                                              Double version,
                                                              String title,
                                                              String description,
                                                              String content,
                                                              String type,
                                                              String ddmStructureKey,
                                                              String ddmTemplateKey,
                                                              Date displayDateGT,
                                                              Date displayDateLT,
                                                              Date reviewDate,
                                                              boolean andOperator,
                                                              QueryDefinition queryDefinition)
                                                       throws SystemException
Specified by:
findByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

findByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public List<JournalArticle> findByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                              long groupId,
                                                              List<Long> folderIds,
                                                              long classNameId,
                                                              String articleId,
                                                              Double version,
                                                              String title,
                                                              String description,
                                                              String content,
                                                              String type,
                                                              String[] ddmStructureKeys,
                                                              String[] ddmTemplateKeys,
                                                              Date displayDateGT,
                                                              Date displayDateLT,
                                                              Date reviewDate,
                                                              boolean andOperator,
                                                              QueryDefinition queryDefinition)
                                                       throws SystemException
Specified by:
findByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

findByC_G_F_C_A_V_T_D_C_T_S_T_D_R

public List<JournalArticle> findByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                              long groupId,
                                                              List<Long> folderIds,
                                                              long classNameId,
                                                              String[] articleIds,
                                                              Double version,
                                                              String[] titles,
                                                              String[] descriptions,
                                                              String[] contents,
                                                              String type,
                                                              String[] ddmStructureKeys,
                                                              String[] ddmTemplateKeys,
                                                              Date displayDateGT,
                                                              Date displayDateLT,
                                                              Date reviewDate,
                                                              boolean andOperator,
                                                              QueryDefinition queryDefinition)
                                                       throws SystemException
Specified by:
findByC_G_F_C_A_V_T_D_C_T_S_T_D_R in interface JournalArticleFinder
Throws:
SystemException

doCountByG_F

protected int doCountByG_F(long groupId,
                           List<Long> folderIds,
                           QueryDefinition queryDefinition,
                           boolean inlineSQLHelper)
                    throws SystemException
Throws:
SystemException

doCountByG_C_S

protected int doCountByG_C_S(long groupId,
                             long classNameId,
                             String ddmStructureKey,
                             QueryDefinition queryDefinition,
                             boolean inlineSQLHelper)
                      throws SystemException
Throws:
SystemException

doCountByG_F_C

protected int doCountByG_F_C(long groupId,
                             List<Long> folderIds,
                             long classNameId,
                             QueryDefinition queryDefinition,
                             boolean inlineSQLHelper)
                      throws SystemException
Throws:
SystemException

doCountByG_C_S

protected int doCountByG_C_S(long groupId,
                             long classNameId,
                             String[] ddmStructureKeys,
                             QueryDefinition queryDefinition,
                             boolean inlineSQLHelper)
                      throws SystemException
Throws:
SystemException

doCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R

protected int doCountByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                   long groupId,
                                                   List<Long> folderIds,
                                                   long classNameId,
                                                   String[] articleIds,
                                                   Double version,
                                                   String[] titles,
                                                   String[] descriptions,
                                                   String[] contents,
                                                   String type,
                                                   String[] ddmStructureKeys,
                                                   String[] ddmTemplateKeys,
                                                   Date displayDateGT,
                                                   Date displayDateLT,
                                                   Date reviewDate,
                                                   boolean andOperator,
                                                   QueryDefinition queryDefinition,
                                                   boolean inlineSQLHelper)
                                            throws SystemException
Throws:
SystemException

doFindByG_F

protected List<JournalArticle> doFindByG_F(long groupId,
                                           List<Long> folderIds,
                                           QueryDefinition queryDefinition,
                                           boolean inlineSQLHelper)
                                    throws SystemException
Throws:
SystemException

doFindByG_C_S

protected List<JournalArticle> doFindByG_C_S(long groupId,
                                             long classNameId,
                                             String ddmStructureKey,
                                             QueryDefinition queryDefinition,
                                             boolean inlineSQLHelper)
                                      throws SystemException
Throws:
SystemException

doFindByG_F_C

protected List<JournalArticle> doFindByG_F_C(long groupId,
                                             List<Long> folderIds,
                                             long classNameId,
                                             QueryDefinition queryDefinition,
                                             boolean inlineSQLHelper)
                                      throws SystemException
Throws:
SystemException

doFindByG_C_S

protected List<JournalArticle> doFindByG_C_S(long groupId,
                                             long classNameId,
                                             String[] ddmStructureKeys,
                                             QueryDefinition queryDefinition,
                                             boolean inlineSQLHelper)
                                      throws SystemException
Throws:
SystemException

doFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R

protected List<JournalArticle> doFindByC_G_F_C_A_V_T_D_C_T_S_T_D_R(long companyId,
                                                                   long groupId,
                                                                   List<Long> folderIds,
                                                                   long classNameId,
                                                                   String[] articleIds,
                                                                   Double version,
                                                                   String[] titles,
                                                                   String[] descriptions,
                                                                   String[] contents,
                                                                   String type,
                                                                   String[] ddmStructureKeys,
                                                                   String[] ddmTemplateKeys,
                                                                   Date displayDateGT,
                                                                   Date displayDateLT,
                                                                   Date reviewDate,
                                                                   boolean andOperator,
                                                                   QueryDefinition queryDefinition,
                                                                   boolean inlineSQLHelper)
                                                            throws SystemException
Throws:
SystemException

getDDMStructureKeys

protected String getDDMStructureKeys(String[] ddmStructureKeys,
                                     String tableName)

getFolderIds

protected String getFolderIds(List<Long> folderIds,
                              String tableName)

getLatestArticle

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

isNullArray

protected boolean isNullArray(Object[] array)

replaceStatusJoin

protected String replaceStatusJoin(String sql,
                                   QueryDefinition queryDefinition)

replaceTypeStructureTemplate

protected String replaceTypeStructureTemplate(String sql,
                                              String type,
                                              String[] ddmStructureKeys,
                                              String[] ddmTemplateKeys)

Liferay 6.2-ce-ga5