1
22
23 package com.liferay.portlet.expando.service;
24
25
26
53 public class ExpandoValueServiceUtil {
54 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
55 long columnId, long rowId, long classPK, java.lang.String data)
56 throws com.liferay.portal.PortalException,
57 com.liferay.portal.SystemException, java.rmi.RemoteException {
58 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
59
60 return expandoValueService.addValue(columnId, rowId, classPK, data);
61 }
62
63 public static void deleteColumnValues(long columnId)
64 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
65 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
66
67 expandoValueService.deleteColumnValues(columnId);
68 }
69
70 public static void deleteRowValues(long rowId)
71 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
72 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
73
74 expandoValueService.deleteRowValues(rowId);
75 }
76
77 public static void deleteTableValues(long tableId)
78 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
79 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
80
81 expandoValueService.deleteTableValues(tableId);
82 }
83
84 public static void deleteValue(long valueId)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException, java.rmi.RemoteException {
87 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
88
89 expandoValueService.deleteValue(valueId);
90 }
91
92 public static void deleteValues(java.lang.String className, long classPK)
93 throws com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException, java.rmi.RemoteException {
95 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
96
97 expandoValueService.deleteValues(className, classPK);
98 }
99
100 public static void deleteValues(long classNameId, long classPK)
101 throws com.liferay.portal.PortalException,
102 com.liferay.portal.SystemException, java.rmi.RemoteException {
103 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
104
105 expandoValueService.deleteValues(classNameId, classPK);
106 }
107
108 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
109 long columnId, int begin, int end)
110 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
111 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
112
113 return expandoValueService.getColumnValues(columnId, begin, end);
114 }
115
116 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
117 java.lang.String className, java.lang.String tableName,
118 java.lang.String columnName, int begin, int end)
119 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
120 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
121
122 return expandoValueService.getColumnValues(className, tableName,
123 columnName, begin, end);
124 }
125
126 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
127 long classNameId, java.lang.String tableName,
128 java.lang.String columnName, int begin, int end)
129 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
130 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
131
132 return expandoValueService.getColumnValues(classNameId, tableName,
133 columnName, begin, end);
134 }
135
136 public static int getColumnValuesCount(long columnId)
137 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
138 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
139
140 return expandoValueService.getColumnValuesCount(columnId);
141 }
142
143 public static int getColumnValuesCount(java.lang.String className,
144 java.lang.String tableName, java.lang.String columnName)
145 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
146 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
147
148 return expandoValueService.getColumnValuesCount(className, tableName,
149 columnName);
150 }
151
152 public static int getColumnValuesCount(long classNameId,
153 java.lang.String tableName, java.lang.String columnName)
154 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
155 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
156
157 return expandoValueService.getColumnValuesCount(classNameId, tableName,
158 columnName);
159 }
160
161 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
162 java.lang.String className, java.lang.String columnName, int begin,
163 int end)
164 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
165 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
166
167 return expandoValueService.getDefaultTableColumnValues(className,
168 columnName, begin, end);
169 }
170
171 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
172 long classNameId, java.lang.String columnName, int begin, int end)
173 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
174 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
175
176 return expandoValueService.getDefaultTableColumnValues(classNameId,
177 columnName, begin, end);
178 }
179
180 public static int getDefaultTableColumnValuesCount(
181 java.lang.String className, java.lang.String columnName)
182 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
183 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
184
185 return expandoValueService.getDefaultTableColumnValuesCount(className,
186 columnName);
187 }
188
189 public static int getDefaultTableColumnValuesCount(long classNameId,
190 java.lang.String columnName)
191 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
192 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
193
194 return expandoValueService.getDefaultTableColumnValuesCount(classNameId,
195 columnName);
196 }
197
198 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
199 long rowId)
200 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
201 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
202
203 return expandoValueService.getRowValues(rowId);
204 }
205
206 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
207 long rowId, int begin, int end)
208 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
209 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
210
211 return expandoValueService.getRowValues(rowId, begin, end);
212 }
213
214 public static int getRowValuesCount(long rowId)
215 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
216 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
217
218 return expandoValueService.getRowValuesCount(rowId);
219 }
220
221 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
222 long valueId)
223 throws com.liferay.portal.PortalException,
224 com.liferay.portal.SystemException, java.rmi.RemoteException {
225 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
226
227 return expandoValueService.getValue(valueId);
228 }
229
230 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
231 long columnId, long rowId)
232 throws com.liferay.portal.PortalException,
233 com.liferay.portal.SystemException, java.rmi.RemoteException {
234 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
235
236 return expandoValueService.getValue(columnId, rowId);
237 }
238
239 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
240 java.lang.String className, java.lang.String tableName,
241 java.lang.String name, long rowId)
242 throws com.liferay.portal.PortalException,
243 com.liferay.portal.SystemException, java.rmi.RemoteException {
244 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
245
246 return expandoValueService.getValue(className, tableName, name, rowId);
247 }
248
249 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
250 long classNameId, java.lang.String tableName, java.lang.String name,
251 long rowId)
252 throws com.liferay.portal.PortalException,
253 com.liferay.portal.SystemException, java.rmi.RemoteException {
254 ExpandoValueService expandoValueService = ExpandoValueServiceFactory.getService();
255
256 return expandoValueService.getValue(classNameId, tableName, name, rowId);
257 }
258 }