1
22
23 package com.liferay.portlet.tags.service;
24
25
26
46 public class TagsSourceLocalServiceUtil {
47 public static com.liferay.portlet.tags.model.TagsSource addTagsSource(
48 com.liferay.portlet.tags.model.TagsSource tagsSource)
49 throws com.liferay.portal.SystemException {
50 return getService().addTagsSource(tagsSource);
51 }
52
53 public static com.liferay.portlet.tags.model.TagsSource createTagsSource(
54 long sourceId) {
55 return getService().createTagsSource(sourceId);
56 }
57
58 public static void deleteTagsSource(long sourceId)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 getService().deleteTagsSource(sourceId);
62 }
63
64 public static void deleteTagsSource(
65 com.liferay.portlet.tags.model.TagsSource tagsSource)
66 throws com.liferay.portal.SystemException {
67 getService().deleteTagsSource(tagsSource);
68 }
69
70 public static java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
72 throws com.liferay.portal.SystemException {
73 return getService().dynamicQuery(dynamicQuery);
74 }
75
76 public static java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end) throws com.liferay.portal.SystemException {
79 return getService().dynamicQuery(dynamicQuery, start, end);
80 }
81
82 public static com.liferay.portlet.tags.model.TagsSource getTagsSource(
83 long sourceId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return getService().getTagsSource(sourceId);
87 }
88
89 public static java.util.List<com.liferay.portlet.tags.model.TagsSource> getTagsSources(
90 int start, int end) throws com.liferay.portal.SystemException {
91 return getService().getTagsSources(start, end);
92 }
93
94 public static int getTagsSourcesCount()
95 throws com.liferay.portal.SystemException {
96 return getService().getTagsSourcesCount();
97 }
98
99 public static com.liferay.portlet.tags.model.TagsSource updateTagsSource(
100 com.liferay.portlet.tags.model.TagsSource tagsSource)
101 throws com.liferay.portal.SystemException {
102 return getService().updateTagsSource(tagsSource);
103 }
104
105 public static com.liferay.portlet.tags.model.TagsSource updateTagsSource(
106 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
107 throws com.liferay.portal.SystemException {
108 return getService().updateTagsSource(tagsSource, merge);
109 }
110
111 public static TagsSourceLocalService getService() {
112 if (_service == null) {
113 throw new RuntimeException("TagsSourceLocalService is not set");
114 }
115
116 return _service;
117 }
118
119 public void setService(TagsSourceLocalService service) {
120 _service = service;
121 }
122
123 private static TagsSourceLocalService _service;
124 }