1
22
23 package com.liferay.portlet.expando.service;
24
25
26
53 public class ExpandoRowLocalServiceUtil {
54 public static com.liferay.portlet.expando.model.ExpandoRow addExpandoRow(
55 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
56 throws com.liferay.portal.SystemException {
57 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
58
59 return expandoRowLocalService.addExpandoRow(expandoRow);
60 }
61
62 public static void deleteExpandoRow(long rowId)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException {
65 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
66
67 expandoRowLocalService.deleteExpandoRow(rowId);
68 }
69
70 public static void deleteExpandoRow(
71 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
72 throws com.liferay.portal.PortalException,
73 com.liferay.portal.SystemException {
74 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
75
76 expandoRowLocalService.deleteExpandoRow(expandoRow);
77 }
78
79 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> dynamicQuery(
80 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
81 throws com.liferay.portal.SystemException {
82 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
83
84 return expandoRowLocalService.dynamicQuery(queryInitializer);
85 }
86
87 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> dynamicQuery(
88 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
89 int begin, int end) throws com.liferay.portal.SystemException {
90 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
91
92 return expandoRowLocalService.dynamicQuery(queryInitializer, begin, end);
93 }
94
95 public static com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
96 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
97 throws com.liferay.portal.SystemException {
98 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
99
100 return expandoRowLocalService.updateExpandoRow(expandoRow);
101 }
102
103 public static com.liferay.portlet.expando.model.ExpandoRow addRow(
104 long tableId)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException {
107 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
108
109 return expandoRowLocalService.addRow(tableId);
110 }
111
112 public static void deleteRow(long rowId)
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException {
115 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
116
117 expandoRowLocalService.deleteRow(rowId);
118 }
119
120 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
121 java.lang.String className, int begin, int end)
122 throws com.liferay.portal.SystemException {
123 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
124
125 return expandoRowLocalService.getDefaultTableRows(className, begin, end);
126 }
127
128 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
129 long classNameId, int begin, int end)
130 throws com.liferay.portal.SystemException {
131 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
132
133 return expandoRowLocalService.getDefaultTableRows(classNameId, begin,
134 end);
135 }
136
137 public static int getDefaultTableRowsCount(java.lang.String className)
138 throws com.liferay.portal.SystemException {
139 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
140
141 return expandoRowLocalService.getDefaultTableRowsCount(className);
142 }
143
144 public static int getDefaultTableRowsCount(long classNameId)
145 throws com.liferay.portal.SystemException {
146 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
147
148 return expandoRowLocalService.getDefaultTableRowsCount(classNameId);
149 }
150
151 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
152 long tableId, int begin, int end)
153 throws com.liferay.portal.SystemException {
154 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
155
156 return expandoRowLocalService.getRows(tableId, begin, end);
157 }
158
159 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
160 java.lang.String className, java.lang.String tableName, int begin,
161 int end) throws com.liferay.portal.SystemException {
162 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
163
164 return expandoRowLocalService.getRows(className, tableName, begin, end);
165 }
166
167 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
168 long classNameId, java.lang.String tableName, int begin, int end)
169 throws com.liferay.portal.SystemException {
170 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
171
172 return expandoRowLocalService.getRows(classNameId, tableName, begin, end);
173 }
174
175 public static int getRowsCount(long tableId)
176 throws com.liferay.portal.SystemException {
177 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
178
179 return expandoRowLocalService.getRowsCount(tableId);
180 }
181
182 public static int getRowsCount(java.lang.String className,
183 java.lang.String tableName) throws com.liferay.portal.SystemException {
184 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
185
186 return expandoRowLocalService.getRowsCount(className, tableName);
187 }
188
189 public static int getRowsCount(long classNameId, java.lang.String tableName)
190 throws com.liferay.portal.SystemException {
191 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
192
193 return expandoRowLocalService.getRowsCount(classNameId, tableName);
194 }
195 }