1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.journal.service.persistence;
16  
17  /**
18   * <a href="JournalTemplateFinder.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface JournalTemplateFinder {
23      public int countByKeywords(long companyId, long groupId,
24          java.lang.String keywords, java.lang.String structureId,
25          java.lang.String structureIdComparator)
26          throws com.liferay.portal.SystemException;
27  
28      public int countByC_G_T_S_N_D(long companyId, long groupId,
29          java.lang.String templateId, java.lang.String structureId,
30          java.lang.String structureIdComparator, java.lang.String name,
31          java.lang.String description, boolean andOperator)
32          throws com.liferay.portal.SystemException;
33  
34      public int countByC_G_T_S_N_D(long companyId, long groupId,
35          java.lang.String[] templateIds, java.lang.String structureId,
36          java.lang.String structureIdComparator, java.lang.String[] names,
37          java.lang.String[] descriptions, boolean andOperator)
38          throws com.liferay.portal.SystemException;
39  
40      public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByKeywords(
41          long companyId, long groupId, java.lang.String keywords,
42          java.lang.String structureId, java.lang.String structureIdComparator,
43          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
44          throws com.liferay.portal.SystemException;
45  
46      public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByC_G_T_S_N_D(
47          long companyId, long groupId, java.lang.String templateId,
48          java.lang.String structureId, java.lang.String structureIdComparator,
49          java.lang.String name, java.lang.String description,
50          boolean andOperator, int start, int end,
51          com.liferay.portal.kernel.util.OrderByComparator obc)
52          throws com.liferay.portal.SystemException;
53  
54      public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByC_G_T_S_N_D(
55          long companyId, long groupId, java.lang.String[] templateIds,
56          java.lang.String structureId, java.lang.String structureIdComparator,
57          java.lang.String[] names, java.lang.String[] descriptions,
58          boolean andOperator, int start, int end,
59          com.liferay.portal.kernel.util.OrderByComparator obc)
60          throws com.liferay.portal.SystemException;
61  }