1
14
15 package com.liferay.portlet.asset.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
24 public class AssetTagFinderUtil {
25 public static int countByG_C_N(long groupId, long classNameId,
26 java.lang.String name)
27 throws com.liferay.portal.kernel.exception.SystemException {
28 return getFinder().countByG_C_N(groupId, classNameId, name);
29 }
30
31 public static int countByG_N_P(long groupId, java.lang.String name,
32 java.lang.String[] tagProperties)
33 throws com.liferay.portal.kernel.exception.SystemException {
34 return getFinder().countByG_N_P(groupId, name, tagProperties);
35 }
36
37 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByEntryId(
38 long entryId)
39 throws com.liferay.portal.kernel.exception.SystemException {
40 return getFinder().findByEntryId(entryId);
41 }
42
43 public static com.liferay.portlet.asset.model.AssetTag findByG_N(
44 long groupId, java.lang.String name)
45 throws com.liferay.portal.kernel.exception.SystemException,
46 com.liferay.portlet.asset.NoSuchTagException {
47 return getFinder().findByG_N(groupId, name);
48 }
49
50 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByC_C(
51 long classNameId, long classPK)
52 throws com.liferay.portal.kernel.exception.SystemException {
53 return getFinder().findByC_C(classNameId, classPK);
54 }
55
56 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
57 long groupId, long classNameId, java.lang.String name)
58 throws com.liferay.portal.kernel.exception.SystemException {
59 return getFinder().findByG_C_N(groupId, classNameId, name);
60 }
61
62 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
63 long groupId, long classNameId, java.lang.String name, int start,
64 int end) throws com.liferay.portal.kernel.exception.SystemException {
65 return getFinder().findByG_C_N(groupId, classNameId, name, start, end);
66 }
67
68 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
69 long groupId, java.lang.String name, java.lang.String[] tagProperties)
70 throws com.liferay.portal.kernel.exception.SystemException {
71 return getFinder().findByG_N_P(groupId, name, tagProperties);
72 }
73
74 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
75 long groupId, java.lang.String name, java.lang.String[] tagProperties,
76 int start, int end)
77 throws com.liferay.portal.kernel.exception.SystemException {
78 return getFinder().findByG_N_P(groupId, name, tagProperties, start, end);
79 }
80
81 public static AssetTagFinder getFinder() {
82 if (_finder == null) {
83 _finder = (AssetTagFinder)PortalBeanLocatorUtil.locate(AssetTagFinder.class.getName());
84 }
85
86 return _finder;
87 }
88
89 public void setFinder(AssetTagFinder finder) {
90 _finder = finder;
91 }
92
93 private static AssetTagFinder _finder;
94 }