1
14
15 package com.liferay.portlet.tags.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
24 public class TagsPropertyKeyFinderUtil {
25 public static int countByCompanyId(long companyId)
26 throws com.liferay.portal.SystemException {
27 return getFinder().countByCompanyId(companyId);
28 }
29
30 public static java.lang.String[] findByCompanyId(long companyId)
31 throws com.liferay.portal.SystemException {
32 return getFinder().findByCompanyId(companyId);
33 }
34
35 public static java.lang.String[] findByCompanyId(long companyId, int start,
36 int end) throws com.liferay.portal.SystemException {
37 return getFinder().findByCompanyId(companyId, start, end);
38 }
39
40 public static TagsPropertyKeyFinder getFinder() {
41 if (_finder == null) {
42 _finder = (TagsPropertyKeyFinder)PortalBeanLocatorUtil.locate(TagsPropertyKeyFinder.class.getName());
43 }
44
45 return _finder;
46 }
47
48 public void setFinder(TagsPropertyKeyFinder finder) {
49 _finder = finder;
50 }
51
52 private static TagsPropertyKeyFinder _finder;
53 }