001
014
015 package com.liferay.portlet.journal.service.persistence;
016
017
020 public interface JournalArticleFinder {
021 public int countByKeywords(long companyId, long groupId,
022 java.lang.String keywords, java.lang.Double version,
023 java.lang.String type, java.lang.String structureId,
024 java.lang.String templateId, java.util.Date displayDateGT,
025 java.util.Date displayDateLT, int status, java.util.Date reviewDate)
026 throws com.liferay.portal.kernel.exception.SystemException;
027
028 public int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId,
029 java.lang.String articleId, java.lang.Double version,
030 java.lang.String title, java.lang.String description,
031 java.lang.String content, java.lang.String type,
032 java.lang.String structureId, java.lang.String templateId,
033 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
034 java.util.Date reviewDate, boolean andOperator)
035 throws com.liferay.portal.kernel.exception.SystemException;
036
037 public int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId,
038 java.lang.String articleId, java.lang.Double version,
039 java.lang.String title, java.lang.String description,
040 java.lang.String content, java.lang.String type,
041 java.lang.String[] structureIds, java.lang.String[] templateIds,
042 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
043 java.util.Date reviewDate, boolean andOperator)
044 throws com.liferay.portal.kernel.exception.SystemException;
045
046 public int countByC_G_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId,
047 java.lang.String[] articleIds, java.lang.Double version,
048 java.lang.String[] titles, java.lang.String[] descriptions,
049 java.lang.String[] contents, java.lang.String type,
050 java.lang.String[] structureIds, java.lang.String[] templateIds,
051 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
052 java.util.Date reviewDate, boolean andOperator)
053 throws com.liferay.portal.kernel.exception.SystemException;
054
055 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByExpirationDate(
056 int status, java.util.Date expirationDateLT,
057 java.util.Date expirationDateGT)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByKeywords(
061 long companyId, long groupId, java.lang.String keywords,
062 java.lang.Double version, java.lang.String type,
063 java.lang.String structureId, java.lang.String templateId,
064 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
065 java.util.Date reviewDate, int start, int end,
066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067 throws com.liferay.portal.kernel.exception.SystemException;
068
069 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByReviewDate(
070 java.util.Date reviewDateLT, java.util.Date reviewDateGT)
071 throws com.liferay.portal.kernel.exception.SystemException;
072
073 public com.liferay.portlet.journal.model.JournalArticle findByR_D(
074 long resourcePrimKey, java.util.Date displayDate)
075 throws com.liferay.portal.kernel.exception.SystemException,
076 com.liferay.portlet.journal.NoSuchArticleException;
077
078 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(
079 long companyId, long groupId, java.lang.String articleId,
080 java.lang.Double version, java.lang.String title,
081 java.lang.String description, java.lang.String content,
082 java.lang.String type, java.lang.String structureId,
083 java.lang.String templateId, java.util.Date displayDateGT,
084 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
085 boolean andOperator, int start, int end,
086 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
087 throws com.liferay.portal.kernel.exception.SystemException;
088
089 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(
090 long companyId, long groupId, java.lang.String articleId,
091 java.lang.Double version, java.lang.String title,
092 java.lang.String description, java.lang.String content,
093 java.lang.String type, java.lang.String[] structureIds,
094 java.lang.String[] templateIds, java.util.Date displayDateGT,
095 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
096 boolean andOperator, int start, int end,
097 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
098 throws com.liferay.portal.kernel.exception.SystemException;
099
100 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_S_R(
101 long companyId, long groupId, java.lang.String[] articleIds,
102 java.lang.Double version, java.lang.String[] titles,
103 java.lang.String[] descriptions, java.lang.String[] contents,
104 java.lang.String type, java.lang.String[] structureIds,
105 java.lang.String[] templateIds, java.util.Date displayDateGT,
106 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
107 boolean andOperator, int start, int end,
108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
109 throws com.liferay.portal.kernel.exception.SystemException;
110 }