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