001
014
015 package com.liferay.portlet.asset.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
023 public class AssetCategoryFinderUtil {
024 public static int countByG_C_N(long groupId, long classNameId,
025 java.lang.String name)
026 throws com.liferay.portal.kernel.exception.SystemException {
027 return getFinder().countByG_C_N(groupId, classNameId, name);
028 }
029
030 public static int countByG_N_V(long groupId, java.lang.String name,
031 long vocabularyId)
032 throws com.liferay.portal.kernel.exception.SystemException {
033 return getFinder().countByG_N_V(groupId, name, vocabularyId);
034 }
035
036 public static int countByG_N_P(long groupId, java.lang.String name,
037 java.lang.String[] categoryProperties)
038 throws com.liferay.portal.kernel.exception.SystemException {
039 return getFinder().countByG_N_P(groupId, name, categoryProperties);
040 }
041
042 public static int filterCountByG_N_V(long groupId, java.lang.String name,
043 long vocabularyId)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return getFinder().filterCountByG_N_V(groupId, name, vocabularyId);
046 }
047
048 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_N_V(
049 long groupId, java.lang.String name, long vocabularyId, int start,
050 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 return getFinder()
053 .filterFindByG_N_V(groupId, name, vocabularyId, start, end,
054 obc);
055 }
056
057 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByEntryId(
058 long entryId)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return getFinder().findByEntryId(entryId);
061 }
062
063 public static java.util.List<java.lang.Long> findByG_L(
064 java.lang.Long parentCategoryId)
065 throws com.liferay.portal.kernel.exception.SystemException {
066 return getFinder().findByG_L(parentCategoryId);
067 }
068
069 public static com.liferay.portlet.asset.model.AssetCategory findByG_N(
070 long groupId, java.lang.String name)
071 throws com.liferay.portal.kernel.exception.SystemException,
072 com.liferay.portlet.asset.NoSuchCategoryException {
073 return getFinder().findByG_N(groupId, name);
074 }
075
076 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByC_C(
077 long classNameId, long classPK)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 return getFinder().findByC_C(classNameId, classPK);
080 }
081
082 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_V(
083 long groupId, java.lang.String name, long vocabularyId, int start,
084 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
085 throws com.liferay.portal.kernel.exception.SystemException {
086 return getFinder()
087 .findByG_N_V(groupId, name, vocabularyId, start, end, obc);
088 }
089
090 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(
091 long groupId, java.lang.String name,
092 java.lang.String[] categoryProperties)
093 throws com.liferay.portal.kernel.exception.SystemException {
094 return getFinder().findByG_N_P(groupId, name, categoryProperties);
095 }
096
097 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(
098 long groupId, java.lang.String name,
099 java.lang.String[] categoryProperties, int start, int end)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return getFinder()
102 .findByG_N_P(groupId, name, categoryProperties, start, end);
103 }
104
105 public static AssetCategoryFinder getFinder() {
106 if (_finder == null) {
107 _finder = (AssetCategoryFinder)PortalBeanLocatorUtil.locate(AssetCategoryFinder.class.getName());
108
109 ReferenceRegistry.registerReference(AssetCategoryFinderUtil.class,
110 "_finder");
111 }
112
113 return _finder;
114 }
115
116 public void setFinder(AssetCategoryFinder finder) {
117 _finder = finder;
118
119 ReferenceRegistry.registerReference(AssetCategoryFinderUtil.class,
120 "_finder");
121 }
122
123 private static AssetCategoryFinder _finder;
124 }