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.asset.service.persistence;
16  
17  /**
18   * <a href="AssetTagFinder.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface AssetTagFinder {
23      public int countByG_C_N(long groupId, long classNameId,
24          java.lang.String name)
25          throws com.liferay.portal.kernel.exception.SystemException;
26  
27      public int countByG_N_P(long groupId, java.lang.String name,
28          java.lang.String[] tagProperties)
29          throws com.liferay.portal.kernel.exception.SystemException;
30  
31      public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByEntryId(
32          long entryId)
33          throws com.liferay.portal.kernel.exception.SystemException;
34  
35      public com.liferay.portlet.asset.model.AssetTag findByG_N(long groupId,
36          java.lang.String name)
37          throws com.liferay.portal.kernel.exception.SystemException,
38              com.liferay.portlet.asset.NoSuchTagException;
39  
40      public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByC_C(
41          long classNameId, long classPK)
42          throws com.liferay.portal.kernel.exception.SystemException;
43  
44      public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
45          long groupId, long classNameId, java.lang.String name)
46          throws com.liferay.portal.kernel.exception.SystemException;
47  
48      public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
49          long groupId, long classNameId, java.lang.String name, int start,
50          int end) throws com.liferay.portal.kernel.exception.SystemException;
51  
52      public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
53          long groupId, java.lang.String name, java.lang.String[] tagProperties)
54          throws com.liferay.portal.kernel.exception.SystemException;
55  
56      public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
57          long groupId, java.lang.String name, java.lang.String[] tagProperties,
58          int start, int end)
59          throws com.liferay.portal.kernel.exception.SystemException;
60  }