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.tags.service.persistence;
16  
17  /**
18   * <a href="TagsEntryFinder.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface TagsEntryFinder {
23      public int countByG_C_N_F(long groupId, long classNameId,
24          java.lang.String name, boolean folksonomy)
25          throws com.liferay.portal.SystemException;
26  
27      public int countByG_N_F_P(long groupId, java.lang.String name,
28          boolean folksonomy, java.lang.String[] properties)
29          throws com.liferay.portal.SystemException;
30  
31      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByFolksonomy(
32          boolean folksonomy) throws com.liferay.portal.SystemException;
33  
34      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByA_F(
35          long assetId, boolean folksonomy)
36          throws com.liferay.portal.SystemException;
37  
38      public com.liferay.portlet.tags.model.TagsEntry findByG_N_F(long groupId,
39          java.lang.String name, boolean folksonomy)
40          throws com.liferay.portal.SystemException,
41              com.liferay.portlet.tags.NoSuchEntryException;
42  
43      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByC_C_F(
44          long classNameId, long classPK, boolean folksonomy)
45          throws com.liferay.portal.SystemException;
46  
47      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByG_C_N_F(
48          long groupId, long classNameId, java.lang.String name,
49          boolean folksonomy) throws com.liferay.portal.SystemException;
50  
51      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByG_C_N_F(
52          long groupId, long classNameId, java.lang.String name,
53          boolean folksonomy, int start, int end)
54          throws com.liferay.portal.SystemException;
55  
56      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByG_N_F_P(
57          long groupId, java.lang.String name, boolean folksonomy,
58          java.lang.String[] properties)
59          throws com.liferay.portal.SystemException;
60  
61      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByG_N_F_P(
62          long groupId, java.lang.String name, boolean folksonomy,
63          java.lang.String[] properties, int start, int end)
64          throws com.liferay.portal.SystemException;
65  }