1
14
15 package com.liferay.portlet.asset.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class AssetTagPropertyLocalServiceUtil {
40 public static com.liferay.portlet.asset.model.AssetTagProperty addAssetTagProperty(
41 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return getService().addAssetTagProperty(assetTagProperty);
44 }
45
46 public static com.liferay.portlet.asset.model.AssetTagProperty createAssetTagProperty(
47 long tagPropertyId) {
48 return getService().createAssetTagProperty(tagPropertyId);
49 }
50
51 public static void deleteAssetTagProperty(long tagPropertyId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 getService().deleteAssetTagProperty(tagPropertyId);
55 }
56
57 public static void deleteAssetTagProperty(
58 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 getService().deleteAssetTagProperty(assetTagProperty);
61 }
62
63 public static java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return getService().dynamicQuery(dynamicQuery);
67 }
68
69 public static java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return getService().dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public static java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException {
80 return getService()
81 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
82 }
83
84 public static int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return getService().dynamicQueryCount(dynamicQuery);
88 }
89
90 public static com.liferay.portlet.asset.model.AssetTagProperty getAssetTagProperty(
91 long tagPropertyId)
92 throws com.liferay.portal.kernel.exception.PortalException,
93 com.liferay.portal.kernel.exception.SystemException {
94 return getService().getAssetTagProperty(tagPropertyId);
95 }
96
97 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getAssetTagProperties(
98 int start, int end)
99 throws com.liferay.portal.kernel.exception.SystemException {
100 return getService().getAssetTagProperties(start, end);
101 }
102
103 public static int getAssetTagPropertiesCount()
104 throws com.liferay.portal.kernel.exception.SystemException {
105 return getService().getAssetTagPropertiesCount();
106 }
107
108 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
109 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return getService().updateAssetTagProperty(assetTagProperty);
112 }
113
114 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
115 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
116 boolean merge)
117 throws com.liferay.portal.kernel.exception.SystemException {
118 return getService().updateAssetTagProperty(assetTagProperty, merge);
119 }
120
121 public static com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
122 long userId, long tagId, java.lang.String key, java.lang.String value)
123 throws com.liferay.portal.kernel.exception.PortalException,
124 com.liferay.portal.kernel.exception.SystemException {
125 return getService().addTagProperty(userId, tagId, key, value);
126 }
127
128 public static void deleteTagProperties(long tagId)
129 throws com.liferay.portal.kernel.exception.SystemException {
130 getService().deleteTagProperties(tagId);
131 }
132
133 public static void deleteTagProperty(
134 com.liferay.portlet.asset.model.AssetTagProperty tagProperty)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 getService().deleteTagProperty(tagProperty);
137 }
138
139 public static void deleteTagProperty(long tagPropertyId)
140 throws com.liferay.portal.kernel.exception.PortalException,
141 com.liferay.portal.kernel.exception.SystemException {
142 getService().deleteTagProperty(tagPropertyId);
143 }
144
145 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties()
146 throws com.liferay.portal.kernel.exception.SystemException {
147 return getService().getTagProperties();
148 }
149
150 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
151 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
152 return getService().getTagProperties(tagId);
153 }
154
155 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
156 long tagPropertyId)
157 throws com.liferay.portal.kernel.exception.PortalException,
158 com.liferay.portal.kernel.exception.SystemException {
159 return getService().getTagProperty(tagPropertyId);
160 }
161
162 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
163 long tagId, java.lang.String key)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return getService().getTagProperty(tagId, key);
167 }
168
169 public static java.lang.String[] getTagPropertyKeys(long groupId)
170 throws com.liferay.portal.kernel.exception.SystemException {
171 return getService().getTagPropertyKeys(groupId);
172 }
173
174 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
175 long groupId, java.lang.String key)
176 throws com.liferay.portal.kernel.exception.SystemException {
177 return getService().getTagPropertyValues(groupId, key);
178 }
179
180 public static com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(
181 long tagPropertyId, java.lang.String key, java.lang.String value)
182 throws com.liferay.portal.kernel.exception.PortalException,
183 com.liferay.portal.kernel.exception.SystemException {
184 return getService().updateTagProperty(tagPropertyId, key, value);
185 }
186
187 public static AssetTagPropertyLocalService getService() {
188 if (_service == null) {
189 _service = (AssetTagPropertyLocalService)PortalBeanLocatorUtil.locate(AssetTagPropertyLocalService.class.getName());
190 }
191
192 return _service;
193 }
194
195 public void setService(AssetTagPropertyLocalService service) {
196 _service = service;
197 }
198
199 private static AssetTagPropertyLocalService _service;
200 }