001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.transaction.Isolation;
020 import com.liferay.portal.kernel.transaction.Propagation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022
023
036 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
037 PortalException.class, SystemException.class})
038 public interface LayoutSetLocalService extends BaseLocalService,
039 PersistedModelLocalService {
040
045
046
053 public com.liferay.portal.model.LayoutSet addLayoutSet(
054 com.liferay.portal.model.LayoutSet layoutSet)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057
063 public com.liferay.portal.model.LayoutSet createLayoutSet(long layoutSetId);
064
065
073 public com.liferay.portal.model.LayoutSet deleteLayoutSet(long layoutSetId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException;
076
077
084 public com.liferay.portal.model.LayoutSet deleteLayoutSet(
085 com.liferay.portal.model.LayoutSet layoutSet)
086 throws com.liferay.portal.kernel.exception.SystemException;
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
089
090
097 @SuppressWarnings("rawtypes")
098 public java.util.List dynamicQuery(
099 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102
115 @SuppressWarnings("rawtypes")
116 public java.util.List dynamicQuery(
117 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
118 int end) throws com.liferay.portal.kernel.exception.SystemException;
119
120
134 @SuppressWarnings("rawtypes")
135 public java.util.List dynamicQuery(
136 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
137 int end,
138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141
148 public long dynamicQueryCount(
149 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
153 public com.liferay.portal.model.LayoutSet fetchLayoutSet(long layoutSetId)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156
164 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165 public com.liferay.portal.model.LayoutSet getLayoutSet(long layoutSetId)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException;
168
169 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
170 public com.liferay.portal.model.PersistedModel getPersistedModel(
171 java.io.Serializable primaryKeyObj)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException;
174
175
187 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
188 public java.util.List<com.liferay.portal.model.LayoutSet> getLayoutSets(
189 int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192
198 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
199 public int getLayoutSetsCount()
200 throws com.liferay.portal.kernel.exception.SystemException;
201
202
209 public com.liferay.portal.model.LayoutSet updateLayoutSet(
210 com.liferay.portal.model.LayoutSet layoutSet)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213
218 public java.lang.String getBeanIdentifier();
219
220
225 public void setBeanIdentifier(java.lang.String beanIdentifier);
226
227 public com.liferay.portal.model.LayoutSet addLayoutSet(long groupId,
228 boolean privateLayout)
229 throws com.liferay.portal.kernel.exception.PortalException,
230 com.liferay.portal.kernel.exception.SystemException;
231
232 public void deleteLayoutSet(long groupId, boolean privateLayout,
233 com.liferay.portal.service.ServiceContext serviceContext)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException;
236
237 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
238 public com.liferay.portal.model.LayoutSet fetchLayoutSet(
239 java.lang.String virtualHostname)
240 throws com.liferay.portal.kernel.exception.SystemException;
241
242 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
243 public com.liferay.portal.model.LayoutSet getLayoutSet(long groupId,
244 boolean privateLayout)
245 throws com.liferay.portal.kernel.exception.PortalException,
246 com.liferay.portal.kernel.exception.SystemException;
247
248 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
249 public com.liferay.portal.model.LayoutSet getLayoutSet(
250 java.lang.String virtualHostname)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException;
253
254 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
255 public java.util.List<com.liferay.portal.model.LayoutSet> getLayoutSetsByLayoutSetPrototypeUuid(
256 java.lang.String layoutSetPrototypeUuid)
257 throws com.liferay.portal.kernel.exception.SystemException;
258
259
282 public void updateLayoutSetPrototypeLinkEnabled(long groupId,
283 boolean privateLayout, boolean layoutSetPrototypeLinkEnabled)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException;
286
287
299 public void updateLayoutSetPrototypeLinkEnabled(long groupId,
300 boolean privateLayout, boolean layoutSetPrototypeLinkEnabled,
301 java.lang.String layoutSetPrototypeUuid)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException;
304
305 public com.liferay.portal.model.LayoutSet updateLogo(long groupId,
306 boolean privateLayout, boolean logo, byte[] bytes)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException;
309
310 public com.liferay.portal.model.LayoutSet updateLogo(long groupId,
311 boolean privateLayout, boolean logo, java.io.File file)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException;
314
315 public com.liferay.portal.model.LayoutSet updateLogo(long groupId,
316 boolean privateLayout, boolean logo, java.io.InputStream is)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException;
319
320 public com.liferay.portal.model.LayoutSet updateLogo(long groupId,
321 boolean privateLayout, boolean logo, java.io.InputStream is,
322 boolean cleanUpStream)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException;
325
326 public com.liferay.portal.model.LayoutSet updateLookAndFeel(long groupId,
327 boolean privateLayout, java.lang.String themeId,
328 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException;
331
332 public void updateLookAndFeel(long groupId, java.lang.String themeId,
333 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException;
336
337 public com.liferay.portal.model.LayoutSet updatePageCount(long groupId,
338 boolean privateLayout)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException;
341
342 public com.liferay.portal.model.LayoutSet updateSettings(long groupId,
343 boolean privateLayout, java.lang.String settings)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException;
346
347 public com.liferay.portal.model.LayoutSet updateVirtualHost(long groupId,
348 boolean privateLayout, java.lang.String virtualHostname)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException;
351 }