1
14
15 package com.liferay.portlet.asset.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
24 public class AssetCategoryFinderUtil {
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[] categoryProperties)
33 throws com.liferay.portal.kernel.exception.SystemException {
34 return getFinder().countByG_N_P(groupId, name, categoryProperties);
35 }
36
37 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> 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.AssetCategory findByG_N(
44 long groupId, java.lang.String name)
45 throws com.liferay.portal.kernel.exception.SystemException,
46 com.liferay.portlet.asset.NoSuchCategoryException {
47 return getFinder().findByG_N(groupId, name);
48 }
49
50 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> 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.AssetCategory> findByG_N_P(
57 long groupId, java.lang.String name,
58 java.lang.String[] categoryProperties)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 return getFinder().findByG_N_P(groupId, name, categoryProperties);
61 }
62
63 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(
64 long groupId, java.lang.String name,
65 java.lang.String[] categoryProperties, int start, int end)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return getFinder()
68 .findByG_N_P(groupId, name, categoryProperties, start, end);
69 }
70
71 public static AssetCategoryFinder getFinder() {
72 if (_finder == null) {
73 _finder = (AssetCategoryFinder)PortalBeanLocatorUtil.locate(AssetCategoryFinder.class.getName());
74 }
75
76 return _finder;
77 }
78
79 public void setFinder(AssetCategoryFinder finder) {
80 _finder = finder;
81 }
82
83 private static AssetCategoryFinder _finder;
84 }