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 PersistedModelLocalService {
039
044
045
052 public com.liferay.portal.model.LayoutSet addLayoutSet(
053 com.liferay.portal.model.LayoutSet layoutSet)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056
062 public com.liferay.portal.model.LayoutSet createLayoutSet(long layoutSetId);
063
064
071 public void deleteLayoutSet(long layoutSetId)
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException;
074
075
081 public void deleteLayoutSet(com.liferay.portal.model.LayoutSet layoutSet)
082 throws com.liferay.portal.kernel.exception.SystemException;
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException;
113
114
128 @SuppressWarnings("rawtypes")
129 public java.util.List dynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131 int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135
142 public long dynamicQueryCount(
143 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
147 public com.liferay.portal.model.LayoutSet fetchLayoutSet(long layoutSetId)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150
158 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
159 public com.liferay.portal.model.LayoutSet getLayoutSet(long layoutSetId)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException;
162
163 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
164 public com.liferay.portal.model.PersistedModel getPersistedModel(
165 java.io.Serializable primaryKeyObj)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException;
168
169
181 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
182 public java.util.List<com.liferay.portal.model.LayoutSet> getLayoutSets(
183 int start, int end)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186
192 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
193 public int getLayoutSetsCount()
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196
203 public com.liferay.portal.model.LayoutSet updateLayoutSet(
204 com.liferay.portal.model.LayoutSet layoutSet)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207
215 public com.liferay.portal.model.LayoutSet updateLayoutSet(
216 com.liferay.portal.model.LayoutSet layoutSet, boolean merge)
217 throws com.liferay.portal.kernel.exception.SystemException;
218
219
224 public java.lang.String getBeanIdentifier();
225
226
231 public void setBeanIdentifier(java.lang.String beanIdentifier);
232
233 public com.liferay.portal.model.LayoutSet addLayoutSet(long groupId,
234 boolean privateLayout)
235 throws com.liferay.portal.kernel.exception.PortalException,
236 com.liferay.portal.kernel.exception.SystemException;
237
238 public void deleteLayoutSet(long groupId, boolean privateLayout,
239 com.liferay.portal.service.ServiceContext serviceContext)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException;
242
243 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244 public com.liferay.portal.model.LayoutSet fetchLayoutSet(
245 java.lang.String virtualHostname)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
249 public com.liferay.portal.model.LayoutSet getLayoutSet(long groupId,
250 boolean privateLayout)
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 com.liferay.portal.model.LayoutSet getLayoutSet(
256 java.lang.String virtualHostname)
257 throws com.liferay.portal.kernel.exception.PortalException,
258 com.liferay.portal.kernel.exception.SystemException;
259
260 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
261 public java.util.List<com.liferay.portal.model.LayoutSet> getLayoutSetsByLayoutSetPrototypeUuid(
262 java.lang.String layoutSetPrototypeUuid)
263 throws com.liferay.portal.kernel.exception.SystemException;
264
265 public void updateLogo(long groupId, boolean privateLayout, boolean logo,
266 java.io.File file)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException;
269
270 public void updateLogo(long groupId, boolean privateLayout, boolean logo,
271 java.io.InputStream is)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException;
274
275 public void updateLogo(long groupId, boolean privateLayout, boolean logo,
276 java.io.InputStream is, boolean cleanUpStream)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException;
279
280 public void updateLookAndFeel(long groupId, java.lang.String themeId,
281 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException;
284
285 public com.liferay.portal.model.LayoutSet updateLookAndFeel(long groupId,
286 boolean privateLayout, java.lang.String themeId,
287 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException;
290
291 public com.liferay.portal.model.LayoutSet updatePageCount(long groupId,
292 boolean privateLayout)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException;
295
296 public com.liferay.portal.model.LayoutSet updateSettings(long groupId,
297 boolean privateLayout, java.lang.String settings)
298 throws com.liferay.portal.kernel.exception.PortalException,
299 com.liferay.portal.kernel.exception.SystemException;
300
301 public com.liferay.portal.model.LayoutSet updateVirtualHost(long groupId,
302 boolean privateLayout, java.lang.String virtualHostname)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException;
305 }