1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.SystemException;
61  }