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
025 @ProviderType
026 public class AssetTagFinderUtil {
027 public static int countByG_C_N(long groupId, long classNameId,
028 java.lang.String name)
029 throws com.liferay.portal.kernel.exception.SystemException {
030 return getFinder().countByG_C_N(groupId, classNameId, name);
031 }
032
033 public static int countByG_N_P(long groupId, java.lang.String name,
034 java.lang.String[] tagProperties)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return getFinder().countByG_N_P(groupId, name, tagProperties);
037 }
038
039 public static int filterCountByG_N(long groupId, java.lang.String name)
040 throws com.liferay.portal.kernel.exception.SystemException {
041 return getFinder().filterCountByG_N(groupId, name);
042 }
043
044 public static int filterCountByG_C_N(long groupId, long classNameId,
045 java.lang.String name)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return getFinder().filterCountByG_C_N(groupId, classNameId, name);
048 }
049
050 public static int filterCountByG_N_P(long groupId, java.lang.String name,
051 java.lang.String[] tagProperties)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 return getFinder().filterCountByG_N_P(groupId, name, tagProperties);
054 }
055
056 public static com.liferay.portlet.asset.model.AssetTag filterFindByG_N(
057 long groupId, java.lang.String name)
058 throws com.liferay.portal.kernel.exception.SystemException,
059 com.liferay.portlet.asset.NoSuchTagException {
060 return getFinder().filterFindByG_N(groupId, name);
061 }
062
063 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByG_C_N(
064 long groupId, long classNameId, java.lang.String name, int start,
065 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
066 throws com.liferay.portal.kernel.exception.SystemException {
067 return getFinder()
068 .filterFindByG_C_N(groupId, classNameId, name, start, end,
069 obc);
070 }
071
072 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByG_N_P(
073 long[] groupIds, java.lang.String name,
074 java.lang.String[] tagProperties, int start, int end,
075 com.liferay.portal.kernel.util.OrderByComparator obc)
076 throws com.liferay.portal.kernel.exception.SystemException {
077 return getFinder()
078 .filterFindByG_N_P(groupIds, name, tagProperties, start,
079 end, obc);
080 }
081
082 public static com.liferay.portlet.asset.model.AssetTag findByG_N(
083 long groupId, java.lang.String name)
084 throws com.liferay.portal.kernel.exception.SystemException,
085 com.liferay.portlet.asset.NoSuchTagException {
086 return getFinder().findByG_N(groupId, name);
087 }
088
089 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
090 long groupId, long classNameId, java.lang.String name, int start,
091 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return getFinder()
094 .findByG_C_N(groupId, classNameId, name, start, end, obc);
095 }
096
097 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
098 long[] groupIds, java.lang.String name,
099 java.lang.String[] tagProperties, int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return getFinder()
103 .findByG_N_P(groupIds, name, tagProperties, start, end, obc);
104 }
105
106 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_S_E(
107 long groupId, java.lang.String name, int startPeriod, int endPeriod,
108 int periodLength)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return getFinder()
111 .findByG_N_S_E(groupId, name, startPeriod, endPeriod,
112 periodLength);
113 }
114
115 public static AssetTagFinder getFinder() {
116 if (_finder == null) {
117 _finder = (AssetTagFinder)PortalBeanLocatorUtil.locate(AssetTagFinder.class.getName());
118
119 ReferenceRegistry.registerReference(AssetTagFinderUtil.class,
120 "_finder");
121 }
122
123 return _finder;
124 }
125
126 public void setFinder(AssetTagFinder finder) {
127 _finder = finder;
128
129 ReferenceRegistry.registerReference(AssetTagFinderUtil.class, "_finder");
130 }
131
132 private static AssetTagFinder _finder;
133 }