1
22
23 package com.liferay.portlet.tags.service;
24
25
26
46 public class TagsPropertyLocalServiceUtil {
47 public static com.liferay.portlet.tags.model.TagsProperty addTagsProperty(
48 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
49 throws com.liferay.portal.SystemException {
50 return getService().addTagsProperty(tagsProperty);
51 }
52
53 public static com.liferay.portlet.tags.model.TagsProperty createTagsProperty(
54 long propertyId) {
55 return getService().createTagsProperty(propertyId);
56 }
57
58 public static void deleteTagsProperty(long propertyId)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 getService().deleteTagsProperty(propertyId);
62 }
63
64 public static void deleteTagsProperty(
65 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
66 throws com.liferay.portal.SystemException {
67 getService().deleteTagsProperty(tagsProperty);
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.TagsProperty getTagsProperty(
83 long propertyId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return getService().getTagsProperty(propertyId);
87 }
88
89 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getTagsProperties(
90 int start, int end) throws com.liferay.portal.SystemException {
91 return getService().getTagsProperties(start, end);
92 }
93
94 public static int getTagsPropertiesCount()
95 throws com.liferay.portal.SystemException {
96 return getService().getTagsPropertiesCount();
97 }
98
99 public static com.liferay.portlet.tags.model.TagsProperty updateTagsProperty(
100 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
101 throws com.liferay.portal.SystemException {
102 return getService().updateTagsProperty(tagsProperty);
103 }
104
105 public static com.liferay.portlet.tags.model.TagsProperty updateTagsProperty(
106 com.liferay.portlet.tags.model.TagsProperty tagsProperty, boolean merge)
107 throws com.liferay.portal.SystemException {
108 return getService().updateTagsProperty(tagsProperty, merge);
109 }
110
111 public static com.liferay.portlet.tags.model.TagsProperty addProperty(
112 long userId, long entryId, java.lang.String key, java.lang.String value)
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException {
115 return getService().addProperty(userId, entryId, key, value);
116 }
117
118 public static com.liferay.portlet.tags.model.TagsProperty addProperty(
119 long userId, java.lang.String entryName, java.lang.String key,
120 java.lang.String value)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException {
123 return getService().addProperty(userId, entryName, key, value);
124 }
125
126 public static void deleteProperties(long entryId)
127 throws com.liferay.portal.SystemException {
128 getService().deleteProperties(entryId);
129 }
130
131 public static void deleteProperty(long propertyId)
132 throws com.liferay.portal.PortalException,
133 com.liferay.portal.SystemException {
134 getService().deleteProperty(propertyId);
135 }
136
137 public static void deleteProperty(
138 com.liferay.portlet.tags.model.TagsProperty property)
139 throws com.liferay.portal.SystemException {
140 getService().deleteProperty(property);
141 }
142
143 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getProperties()
144 throws com.liferay.portal.SystemException {
145 return getService().getProperties();
146 }
147
148 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getProperties(
149 long entryId) throws com.liferay.portal.SystemException {
150 return getService().getProperties(entryId);
151 }
152
153 public static com.liferay.portlet.tags.model.TagsProperty getProperty(
154 long propertyId)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 return getService().getProperty(propertyId);
158 }
159
160 public static com.liferay.portlet.tags.model.TagsProperty getProperty(
161 long entryId, java.lang.String key)
162 throws com.liferay.portal.PortalException,
163 com.liferay.portal.SystemException {
164 return getService().getProperty(entryId, key);
165 }
166
167 public static java.lang.String[] getPropertyKeys(long companyId)
168 throws com.liferay.portal.SystemException {
169 return getService().getPropertyKeys(companyId);
170 }
171
172 public static java.util.List<com.liferay.portlet.tags.model.TagsProperty> getPropertyValues(
173 long companyId, java.lang.String key)
174 throws com.liferay.portal.SystemException {
175 return getService().getPropertyValues(companyId, key);
176 }
177
178 public static com.liferay.portlet.tags.model.TagsProperty updateProperty(
179 long propertyId, java.lang.String key, java.lang.String value)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException {
182 return getService().updateProperty(propertyId, key, value);
183 }
184
185 public static TagsPropertyLocalService getService() {
186 if (_service == null) {
187 throw new RuntimeException("TagsPropertyLocalService is not set");
188 }
189
190 return _service;
191 }
192
193 public void setService(TagsPropertyLocalService service) {
194 _service = service;
195 }
196
197 private static TagsPropertyLocalService _service;
198 }