1
22
23 package com.liferay.portlet.expando.service;
24
25
26
53 public class ExpandoTableServiceUtil {
54 public static com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
55 java.lang.String className)
56 throws com.liferay.portal.PortalException,
57 com.liferay.portal.SystemException, java.rmi.RemoteException {
58 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
59
60 return expandoTableService.addDefaultTable(className);
61 }
62
63 public static com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
64 long classNameId)
65 throws com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException, java.rmi.RemoteException {
67 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
68
69 return expandoTableService.addDefaultTable(classNameId);
70 }
71
72 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
73 java.lang.String className, java.lang.String name)
74 throws com.liferay.portal.PortalException,
75 com.liferay.portal.SystemException, java.rmi.RemoteException {
76 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
77
78 return expandoTableService.addTable(className, name);
79 }
80
81 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
82 long classNameId, java.lang.String name)
83 throws com.liferay.portal.PortalException,
84 com.liferay.portal.SystemException, java.rmi.RemoteException {
85 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
86
87 return expandoTableService.addTable(classNameId, name);
88 }
89
90 public static void deleteTable(long tableId)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException, java.rmi.RemoteException {
93 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
94
95 expandoTableService.deleteTable(tableId);
96 }
97
98 public static void deleteTable(java.lang.String className,
99 java.lang.String name)
100 throws com.liferay.portal.PortalException,
101 com.liferay.portal.SystemException, java.rmi.RemoteException {
102 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
103
104 expandoTableService.deleteTable(className, name);
105 }
106
107 public static void deleteTable(long classNameId, java.lang.String name)
108 throws com.liferay.portal.PortalException,
109 com.liferay.portal.SystemException, java.rmi.RemoteException {
110 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
111
112 expandoTableService.deleteTable(classNameId, name);
113 }
114
115 public static void deleteTables(java.lang.String className)
116 throws com.liferay.portal.PortalException,
117 com.liferay.portal.SystemException, java.rmi.RemoteException {
118 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
119
120 expandoTableService.deleteTables(className);
121 }
122
123 public static void deleteTables(long classNameId)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException, java.rmi.RemoteException {
126 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
127
128 expandoTableService.deleteTables(classNameId);
129 }
130
131 public static com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
132 java.lang.String className)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException, java.rmi.RemoteException {
135 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
136
137 return expandoTableService.getDefaultTable(className);
138 }
139
140 public static com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
141 long classNameId)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException, java.rmi.RemoteException {
144 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
145
146 return expandoTableService.getDefaultTable(classNameId);
147 }
148
149 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
150 long tableId)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException, java.rmi.RemoteException {
153 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
154
155 return expandoTableService.getTable(tableId);
156 }
157
158 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
159 java.lang.String className, java.lang.String name)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException, java.rmi.RemoteException {
162 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
163
164 return expandoTableService.getTable(className, name);
165 }
166
167 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
168 long classNameId, java.lang.String name)
169 throws com.liferay.portal.PortalException,
170 com.liferay.portal.SystemException, java.rmi.RemoteException {
171 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
172
173 return expandoTableService.getTable(classNameId, name);
174 }
175
176 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
177 java.lang.String className)
178 throws com.liferay.portal.PortalException,
179 com.liferay.portal.SystemException, java.rmi.RemoteException {
180 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
181
182 return expandoTableService.getTables(className);
183 }
184
185 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
186 long classNameId)
187 throws com.liferay.portal.PortalException,
188 com.liferay.portal.SystemException, java.rmi.RemoteException {
189 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
190
191 return expandoTableService.getTables(classNameId);
192 }
193
194 public static com.liferay.portlet.expando.model.ExpandoTable updateTable(
195 long tableId, java.lang.String name)
196 throws com.liferay.portal.PortalException,
197 com.liferay.portal.SystemException, java.rmi.RemoteException {
198 ExpandoTableService expandoTableService = ExpandoTableServiceFactory.getService();
199
200 return expandoTableService.updateTable(tableId, name);
201 }
202 }