001
014
015 package com.liferay.portlet.asset.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
022 public class AssetTagFinderUtil {
023 public static int countByG_C_N(long groupId, long classNameId,
024 java.lang.String name)
025 throws com.liferay.portal.kernel.exception.SystemException {
026 return getFinder().countByG_C_N(groupId, classNameId, name);
027 }
028
029 public static int countByG_N_P(long groupId, java.lang.String name,
030 java.lang.String[] tagProperties)
031 throws com.liferay.portal.kernel.exception.SystemException {
032 return getFinder().countByG_N_P(groupId, name, tagProperties);
033 }
034
035 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByEntryId(
036 long entryId)
037 throws com.liferay.portal.kernel.exception.SystemException {
038 return getFinder().findByEntryId(entryId);
039 }
040
041 public static com.liferay.portlet.asset.model.AssetTag findByG_N(
042 long groupId, java.lang.String name)
043 throws com.liferay.portal.kernel.exception.SystemException,
044 com.liferay.portlet.asset.NoSuchTagException {
045 return getFinder().findByG_N(groupId, name);
046 }
047
048 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByC_C(
049 long classNameId, long classPK)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getFinder().findByC_C(classNameId, classPK);
052 }
053
054 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
055 long groupId, long classNameId, java.lang.String name)
056 throws com.liferay.portal.kernel.exception.SystemException {
057 return getFinder().findByG_C_N(groupId, classNameId, name);
058 }
059
060 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
061 long groupId, long classNameId, java.lang.String name, int start,
062 int end) throws com.liferay.portal.kernel.exception.SystemException {
063 return getFinder().findByG_C_N(groupId, classNameId, name, start, end);
064 }
065
066 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
067 long groupId, java.lang.String name, java.lang.String[] tagProperties)
068 throws com.liferay.portal.kernel.exception.SystemException {
069 return getFinder().findByG_N_P(groupId, name, tagProperties);
070 }
071
072 public static java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
073 long groupId, java.lang.String name, java.lang.String[] tagProperties,
074 int start, int end)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return getFinder().findByG_N_P(groupId, name, tagProperties, start, end);
077 }
078
079 public static AssetTagFinder getFinder() {
080 if (_finder == null) {
081 _finder = (AssetTagFinder)PortalBeanLocatorUtil.locate(AssetTagFinder.class.getName());
082 }
083
084 return _finder;
085 }
086
087 public void setFinder(AssetTagFinder finder) {
088 _finder = finder;
089 }
090
091 private static AssetTagFinder _finder;
092 }