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