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="JournalStructureFinder.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface JournalStructureFinder {
23      public int countByKeywords(long companyId, long groupId,
24          java.lang.String keywords) throws com.liferay.portal.SystemException;
25  
26      public int countByC_G_S_N_D(long companyId, long groupId,
27          java.lang.String structureId, java.lang.String name,
28          java.lang.String description, boolean andOperator)
29          throws com.liferay.portal.SystemException;
30  
31      public int countByC_G_S_N_D(long companyId, long groupId,
32          java.lang.String[] structureIds, java.lang.String[] names,
33          java.lang.String[] descriptions, boolean andOperator)
34          throws com.liferay.portal.SystemException;
35  
36      public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByKeywords(
37          long companyId, long groupId, java.lang.String keywords, int start,
38          int end, com.liferay.portal.kernel.util.OrderByComparator obc)
39          throws com.liferay.portal.SystemException;
40  
41      public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByC_G_S_N_D(
42          long companyId, long groupId, java.lang.String structureId,
43          java.lang.String name, java.lang.String description,
44          boolean andOperator, int start, int end,
45          com.liferay.portal.kernel.util.OrderByComparator obc)
46          throws com.liferay.portal.SystemException;
47  
48      public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByC_G_S_N_D(
49          long companyId, long groupId, java.lang.String[] structureIds,
50          java.lang.String[] names, java.lang.String[] descriptions,
51          boolean andOperator, int start, int end,
52          com.liferay.portal.kernel.util.OrderByComparator obc)
53          throws com.liferay.portal.SystemException;
54  }