001
014
015 package com.liferay.portlet.asset.service.persistence;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
026 @ProviderType
027 public class AssetCategoryPropertyFinderUtil {
028 public static int countByG_K(long groupId, java.lang.String key) {
029 return getFinder().countByG_K(groupId, key);
030 }
031
032 public static java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByG_K(
033 long groupId, java.lang.String key) {
034 return getFinder().findByG_K(groupId, key);
035 }
036
037 public static java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByG_K(
038 long groupId, java.lang.String key, int start, int end) {
039 return getFinder().findByG_K(groupId, key, start, end);
040 }
041
042 public static AssetCategoryPropertyFinder getFinder() {
043 if (_finder == null) {
044 _finder = (AssetCategoryPropertyFinder)PortalBeanLocatorUtil.locate(AssetCategoryPropertyFinder.class.getName());
045
046 ReferenceRegistry.registerReference(AssetCategoryPropertyFinderUtil.class,
047 "_finder");
048 }
049
050 return _finder;
051 }
052
053 public void setFinder(AssetCategoryPropertyFinder finder) {
054 _finder = finder;
055
056 ReferenceRegistry.registerReference(AssetCategoryPropertyFinderUtil.class,
057 "_finder");
058 }
059
060 private static AssetCategoryPropertyFinder _finder;
061 }