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