001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
032 public class AssetTagPropertyLocalServiceUtil {
033 public static com.liferay.portlet.asset.model.AssetTagProperty addAssetTagProperty(
034 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return getService().addAssetTagProperty(assetTagProperty);
037 }
038
039 public static com.liferay.portlet.asset.model.AssetTagProperty createAssetTagProperty(
040 long tagPropertyId) {
041 return getService().createAssetTagProperty(tagPropertyId);
042 }
043
044 public static void deleteAssetTagProperty(long tagPropertyId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 getService().deleteAssetTagProperty(tagPropertyId);
048 }
049
050 public static void deleteAssetTagProperty(
051 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 getService().deleteAssetTagProperty(assetTagProperty);
054 }
055
056 @SuppressWarnings("unchecked")
057 public static java.util.List dynamicQuery(
058 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return getService().dynamicQuery(dynamicQuery);
061 }
062
063 @SuppressWarnings("unchecked")
064 public static java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException {
067 return getService().dynamicQuery(dynamicQuery, start, end);
068 }
069
070 @SuppressWarnings("unchecked")
071 public static java.util.List dynamicQuery(
072 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073 int end,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return getService()
077 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
078 }
079
080 public static long dynamicQueryCount(
081 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return getService().dynamicQueryCount(dynamicQuery);
084 }
085
086 public static com.liferay.portlet.asset.model.AssetTagProperty getAssetTagProperty(
087 long tagPropertyId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return getService().getAssetTagProperty(tagPropertyId);
091 }
092
093 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getAssetTagProperties(
094 int start, int end)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return getService().getAssetTagProperties(start, end);
097 }
098
099 public static int getAssetTagPropertiesCount()
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return getService().getAssetTagPropertiesCount();
102 }
103
104 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
105 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return getService().updateAssetTagProperty(assetTagProperty);
108 }
109
110 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
111 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
112 boolean merge)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return getService().updateAssetTagProperty(assetTagProperty, merge);
115 }
116
117 public static com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
118 long userId, long tagId, java.lang.String key, java.lang.String value)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 return getService().addTagProperty(userId, tagId, key, value);
122 }
123
124 public static void deleteTagProperties(long tagId)
125 throws com.liferay.portal.kernel.exception.SystemException {
126 getService().deleteTagProperties(tagId);
127 }
128
129 public static void deleteTagProperty(
130 com.liferay.portlet.asset.model.AssetTagProperty tagProperty)
131 throws com.liferay.portal.kernel.exception.SystemException {
132 getService().deleteTagProperty(tagProperty);
133 }
134
135 public static void deleteTagProperty(long tagPropertyId)
136 throws com.liferay.portal.kernel.exception.PortalException,
137 com.liferay.portal.kernel.exception.SystemException {
138 getService().deleteTagProperty(tagPropertyId);
139 }
140
141 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties()
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return getService().getTagProperties();
144 }
145
146 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
147 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
148 return getService().getTagProperties(tagId);
149 }
150
151 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
152 long tagPropertyId)
153 throws com.liferay.portal.kernel.exception.PortalException,
154 com.liferay.portal.kernel.exception.SystemException {
155 return getService().getTagProperty(tagPropertyId);
156 }
157
158 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
159 long tagId, java.lang.String key)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException {
162 return getService().getTagProperty(tagId, key);
163 }
164
165 public static java.lang.String[] getTagPropertyKeys(long groupId)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return getService().getTagPropertyKeys(groupId);
168 }
169
170 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
171 long groupId, java.lang.String key)
172 throws com.liferay.portal.kernel.exception.SystemException {
173 return getService().getTagPropertyValues(groupId, key);
174 }
175
176 public static com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(
177 long tagPropertyId, java.lang.String key, java.lang.String value)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return getService().updateTagProperty(tagPropertyId, key, value);
181 }
182
183 public static AssetTagPropertyLocalService getService() {
184 if (_service == null) {
185 _service = (AssetTagPropertyLocalService)PortalBeanLocatorUtil.locate(AssetTagPropertyLocalService.class.getName());
186 }
187
188 return _service;
189 }
190
191 public void setService(AssetTagPropertyLocalService service) {
192 _service = service;
193 }
194
195 private static AssetTagPropertyLocalService _service;
196 }