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 AssetTagFinderUtil {
028 public static int countByG_N(long groupId, java.lang.String name) {
029 return getFinder().countByG_N(groupId, name);
030 }
031
032 public static int countByG_C_N(long groupId, long classNameId,
033 java.lang.String name) {
034 return getFinder().countByG_C_N(groupId, classNameId, name);
035 }
036
037 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
038 long groupId, long classNameId, java.lang.String name, int start,
039 int end,
040 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc) {
041 return getFinder()
042 .findByG_C_N(groupId, classNameId, name, start, end, obc);
043 }
044
045 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_S_E(
046 long groupId, java.lang.String name, int startPeriod, int endPeriod,
047 int periodLength) {
048 return getFinder()
049 .findByG_N_S_E(groupId, name, startPeriod, endPeriod,
050 periodLength);
051 }
052
053 public static AssetTagFinder getFinder() {
054 if (_finder == null) {
055 _finder = (AssetTagFinder)PortalBeanLocatorUtil.locate(AssetTagFinder.class.getName());
056
057 ReferenceRegistry.registerReference(AssetTagFinderUtil.class,
058 "_finder");
059 }
060
061 return _finder;
062 }
063
064 public void setFinder(AssetTagFinder finder) {
065 _finder = finder;
066
067 ReferenceRegistry.registerReference(AssetTagFinderUtil.class, "_finder");
068 }
069
070 private static AssetTagFinder _finder;
071 }