001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.journal.service.persistence;
022:
023: /**
024: * <a href="JournalArticleFinder.java.html"><b><i>View Source</i></b></a>
025: *
026: * @author Brian Wing Shun Chan
027: *
028: */
029: public interface JournalArticleFinder {
030: public int countByKeywords(long companyId, long groupId,
031: java.lang.String keywords, java.lang.Double version,
032: java.lang.String type, java.lang.String structureId,
033: java.lang.String templateId, java.util.Date displayDateGT,
034: java.util.Date displayDateLT, java.lang.Boolean approved,
035: java.lang.Boolean expired, java.util.Date reviewDate)
036: throws com.liferay.portal.SystemException;
037:
038: public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
039: long groupId, java.lang.String articleId,
040: java.lang.Double version, java.lang.String title,
041: java.lang.String description, java.lang.String content,
042: java.lang.String type, java.lang.String structureId,
043: java.lang.String templateId, java.util.Date displayDateGT,
044: java.util.Date displayDateLT, java.lang.Boolean approved,
045: java.lang.Boolean expired, java.util.Date reviewDate,
046: boolean andOperator)
047: throws com.liferay.portal.SystemException;
048:
049: public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
050: long groupId, java.lang.String articleId,
051: java.lang.Double version, java.lang.String title,
052: java.lang.String description, java.lang.String content,
053: java.lang.String type, java.lang.String[] structureIds,
054: java.lang.String[] templateIds,
055: java.util.Date displayDateGT, java.util.Date displayDateLT,
056: java.lang.Boolean approved, java.lang.Boolean expired,
057: java.util.Date reviewDate, boolean andOperator)
058: throws com.liferay.portal.SystemException;
059:
060: public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
061: long groupId, java.lang.String[] articleIds,
062: java.lang.Double version, java.lang.String[] titles,
063: java.lang.String[] descriptions,
064: java.lang.String[] contents, java.lang.String type,
065: java.lang.String[] structureIds,
066: java.lang.String[] templateIds,
067: java.util.Date displayDateGT, java.util.Date displayDateLT,
068: java.lang.Boolean approved, java.lang.Boolean expired,
069: java.util.Date reviewDate, boolean andOperator)
070: throws com.liferay.portal.SystemException;
071:
072: public java.util.List findByExpirationDate(
073: java.lang.Boolean expired, java.util.Date expirationDateLT,
074: java.util.Date expirationDateGT)
075: throws com.liferay.portal.SystemException;
076:
077: public java.util.List findByKeywords(long companyId, long groupId,
078: java.lang.String keywords, java.lang.Double version,
079: java.lang.String type, java.lang.String structureId,
080: java.lang.String templateId, java.util.Date displayDateGT,
081: java.util.Date displayDateLT, java.lang.Boolean approved,
082: java.lang.Boolean expired, java.util.Date reviewDate,
083: int begin, int end,
084: com.liferay.portal.kernel.util.OrderByComparator obc)
085: throws com.liferay.portal.SystemException;
086:
087: public java.util.List findByReviewDate(java.util.Date reviewDateLT,
088: java.util.Date reviewDateGT)
089: throws com.liferay.portal.SystemException;
090:
091: public java.util.List findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(
092: long companyId, long groupId, java.lang.String articleId,
093: java.lang.Double version, java.lang.String title,
094: java.lang.String description, java.lang.String content,
095: java.lang.String type, java.lang.String structureId,
096: java.lang.String templateId, java.util.Date displayDateGT,
097: java.util.Date displayDateLT, java.lang.Boolean approved,
098: java.lang.Boolean expired, java.util.Date reviewDate,
099: boolean andOperator, int begin, int end,
100: com.liferay.portal.kernel.util.OrderByComparator obc)
101: throws com.liferay.portal.SystemException;
102:
103: public java.util.List findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(
104: long companyId, long groupId, java.lang.String articleId,
105: java.lang.Double version, java.lang.String title,
106: java.lang.String description, java.lang.String content,
107: java.lang.String type, java.lang.String[] structureIds,
108: java.lang.String[] templateIds,
109: java.util.Date displayDateGT, java.util.Date displayDateLT,
110: java.lang.Boolean approved, java.lang.Boolean expired,
111: java.util.Date reviewDate, boolean andOperator, int begin,
112: int end,
113: com.liferay.portal.kernel.util.OrderByComparator obc)
114: throws com.liferay.portal.SystemException;
115:
116: public java.util.List findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(
117: long companyId, long groupId,
118: java.lang.String[] articleIds, java.lang.Double version,
119: java.lang.String[] titles, java.lang.String[] descriptions,
120: java.lang.String[] contents, java.lang.String type,
121: java.lang.String[] structureIds,
122: java.lang.String[] templateIds,
123: java.util.Date displayDateGT, java.util.Date displayDateLT,
124: java.lang.Boolean approved, java.lang.Boolean expired,
125: java.util.Date reviewDate, boolean andOperator, int begin,
126: int end,
127: com.liferay.portal.kernel.util.OrderByComparator obc)
128: throws com.liferay.portal.SystemException;
129: }
|