1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.tags.service.persistence;
24  
25  /**
26   * <a href="TagsEntryFinderUtil.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   */
30  public class TagsEntryFinderUtil {
31      public static int countByG_C_N_F(long groupId, long classNameId,
32          java.lang.String name, boolean folksonomy)
33          throws com.liferay.portal.SystemException {
34          return getFinder().countByG_C_N_F(groupId, classNameId, name, folksonomy);
35      }
36  
37      public static int countByG_N_F_P(long groupId, java.lang.String name,
38          boolean folksonomy, java.lang.String[] properties)
39          throws com.liferay.portal.SystemException {
40          return getFinder().countByG_N_F_P(groupId, name, folksonomy, properties);
41      }
42  
43      public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByFolksonomy(
44          boolean folksonomy) throws com.liferay.portal.SystemException {
45          return getFinder().findByFolksonomy(folksonomy);
46      }
47  
48      public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByA_F(
49          long assetId, boolean folksonomy)
50          throws com.liferay.portal.SystemException {
51          return getFinder().findByA_F(assetId, folksonomy);
52      }
53  
54      public static com.liferay.portlet.tags.model.TagsEntry findByG_N_F(
55          long groupId, java.lang.String name, boolean folksonomy)
56          throws com.liferay.portal.SystemException,
57              com.liferay.portlet.tags.NoSuchEntryException {
58          return getFinder().findByG_N_F(groupId, name, folksonomy);
59      }
60  
61      public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByG_C_N_F(
62          long groupId, long classNameId, java.lang.String name,
63          boolean folksonomy) throws com.liferay.portal.SystemException {
64          return getFinder().findByG_C_N_F(groupId, classNameId, name, folksonomy);
65      }
66  
67      public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByG_C_N_F(
68          long groupId, long classNameId, java.lang.String name,
69          boolean folksonomy, int start, int end)
70          throws com.liferay.portal.SystemException {
71          return getFinder()
72                     .findByG_C_N_F(groupId, classNameId, name, folksonomy,
73              start, end);
74      }
75  
76      public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByG_N_F_P(
77          long groupId, java.lang.String name, boolean folksonomy,
78          java.lang.String[] properties)
79          throws com.liferay.portal.SystemException {
80          return getFinder().findByG_N_F_P(groupId, name, folksonomy, properties);
81      }
82  
83      public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByG_N_F_P(
84          long groupId, java.lang.String name, boolean folksonomy,
85          java.lang.String[] properties, int start, int end)
86          throws com.liferay.portal.SystemException {
87          return getFinder()
88                     .findByG_N_F_P(groupId, name, folksonomy, properties, start,
89              end);
90      }
91  
92      public static TagsEntryFinder getFinder() {
93          return _finder;
94      }
95  
96      public void setFinder(TagsEntryFinder finder) {
97          _finder = finder;
98      }
99  
100     private static TagsEntryFinder _finder;
101 }