1
14
15 package com.liferay.portlet.expando.service;
16
17 import com.liferay.portal.kernel.annotation.Isolation;
18 import com.liferay.portal.kernel.annotation.Propagation;
19 import com.liferay.portal.kernel.annotation.Transactional;
20 import com.liferay.portal.kernel.exception.PortalException;
21 import com.liferay.portal.kernel.exception.SystemException;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface ExpandoTableLocalService {
50 public com.liferay.portlet.expando.model.ExpandoTable addExpandoTable(
51 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.expando.model.ExpandoTable createExpandoTable(
55 long tableId);
56
57 public void deleteExpandoTable(long tableId)
58 throws com.liferay.portal.kernel.exception.PortalException,
59 com.liferay.portal.kernel.exception.SystemException;
60
61 public void deleteExpandoTable(
62 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
63 throws com.liferay.portal.kernel.exception.SystemException;
64
65 public java.util.List<Object> dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.kernel.exception.SystemException;
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException;
72
73 public java.util.List<Object> dynamicQuery(
74 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75 int end,
76 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77 throws com.liferay.portal.kernel.exception.SystemException;
78
79 public int dynamicQueryCount(
80 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
81 throws com.liferay.portal.kernel.exception.SystemException;
82
83 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
84 public com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
85 long tableId)
86 throws com.liferay.portal.kernel.exception.PortalException,
87 com.liferay.portal.kernel.exception.SystemException;
88
89 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
90 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
91 int start, int end)
92 throws com.liferay.portal.kernel.exception.SystemException;
93
94 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
95 public int getExpandoTablesCount()
96 throws com.liferay.portal.kernel.exception.SystemException;
97
98 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
99 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
103 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
104 boolean merge)
105 throws com.liferay.portal.kernel.exception.SystemException;
106
107 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
108 long companyId, long classNameId)
109 throws com.liferay.portal.kernel.exception.PortalException,
110 com.liferay.portal.kernel.exception.SystemException;
111
112 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
113 long companyId, java.lang.String className)
114 throws com.liferay.portal.kernel.exception.PortalException,
115 com.liferay.portal.kernel.exception.SystemException;
116
117 public com.liferay.portlet.expando.model.ExpandoTable addTable(
118 long companyId, long classNameId, java.lang.String name)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException;
121
122 public com.liferay.portlet.expando.model.ExpandoTable addTable(
123 long classNameId, java.lang.String name)
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException;
126
127 public com.liferay.portlet.expando.model.ExpandoTable addTable(
128 long companyId, java.lang.String className, java.lang.String name)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException;
131
132 public com.liferay.portlet.expando.model.ExpandoTable addTable(
133 java.lang.String className, java.lang.String name)
134 throws com.liferay.portal.kernel.exception.PortalException,
135 com.liferay.portal.kernel.exception.SystemException;
136
137 public void deleteTable(
138 com.liferay.portlet.expando.model.ExpandoTable table)
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141 public void deleteTable(long tableId)
142 throws com.liferay.portal.kernel.exception.PortalException,
143 com.liferay.portal.kernel.exception.SystemException;
144
145 public void deleteTable(long companyId, long classNameId,
146 java.lang.String name)
147 throws com.liferay.portal.kernel.exception.PortalException,
148 com.liferay.portal.kernel.exception.SystemException;
149
150 public void deleteTable(long companyId, java.lang.String className,
151 java.lang.String name)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException;
154
155 public void deleteTables(long companyId, long classNameId)
156 throws com.liferay.portal.kernel.exception.SystemException;
157
158 public void deleteTables(long companyId, java.lang.String className)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
162 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
163 long companyId, long classNameId)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException;
166
167 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
168 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
169 long companyId, java.lang.String className)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException;
172
173 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
174 public com.liferay.portlet.expando.model.ExpandoTable getTable(long tableId)
175 throws com.liferay.portal.kernel.exception.PortalException,
176 com.liferay.portal.kernel.exception.SystemException;
177
178 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
179 public com.liferay.portlet.expando.model.ExpandoTable getTable(
180 long companyId, long classNameId, java.lang.String name)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException;
183
184 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
185 public com.liferay.portlet.expando.model.ExpandoTable getTable(
186 long classNameId, java.lang.String name)
187 throws com.liferay.portal.kernel.exception.PortalException,
188 com.liferay.portal.kernel.exception.SystemException;
189
190 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
191 public com.liferay.portlet.expando.model.ExpandoTable getTable(
192 long companyId, java.lang.String className, java.lang.String name)
193 throws com.liferay.portal.kernel.exception.PortalException,
194 com.liferay.portal.kernel.exception.SystemException;
195
196 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
197 public com.liferay.portlet.expando.model.ExpandoTable getTable(
198 java.lang.String className, java.lang.String name)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException;
201
202 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
203 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
204 long companyId, long classNameId)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
208 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
209 long companyId, java.lang.String className)
210 throws com.liferay.portal.kernel.exception.SystemException;
211
212 public com.liferay.portlet.expando.model.ExpandoTable updateTable(
213 long tableId, java.lang.String name)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException;
216 }