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 LayoutSetBranchLocalService extends BaseLocalService,
039 PersistedModelLocalService {
040
045
046
053 public com.liferay.portal.model.LayoutSetBranch addLayoutSetBranch(
054 com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057
063 public com.liferay.portal.model.LayoutSetBranch createLayoutSetBranch(
064 long layoutSetBranchId);
065
066
074 public com.liferay.portal.model.LayoutSetBranch deleteLayoutSetBranch(
075 long layoutSetBranchId)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException;
078
079
087 public com.liferay.portal.model.LayoutSetBranch deleteLayoutSetBranch(
088 com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
089 throws com.liferay.portal.kernel.exception.PortalException,
090 com.liferay.portal.kernel.exception.SystemException;
091
092 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
093
094
101 @SuppressWarnings("rawtypes")
102 public java.util.List dynamicQuery(
103 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException;
123
124
138 @SuppressWarnings("rawtypes")
139 public java.util.List dynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145
152 public long dynamicQueryCount(
153 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
157 public com.liferay.portal.model.LayoutSetBranch fetchLayoutSetBranch(
158 long layoutSetBranchId)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161
169 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
170 public com.liferay.portal.model.LayoutSetBranch getLayoutSetBranch(
171 long layoutSetBranchId)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException;
174
175 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException;
180
181
193 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
194 public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranchs(
195 int start, int end)
196 throws com.liferay.portal.kernel.exception.SystemException;
197
198
204 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
205 public int getLayoutSetBranchsCount()
206 throws com.liferay.portal.kernel.exception.SystemException;
207
208
215 public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
216 com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
217 throws com.liferay.portal.kernel.exception.SystemException;
218
219
227 public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
228 com.liferay.portal.model.LayoutSetBranch layoutSetBranch, boolean merge)
229 throws com.liferay.portal.kernel.exception.SystemException;
230
231
236 public java.lang.String getBeanIdentifier();
237
238
243 public void setBeanIdentifier(java.lang.String beanIdentifier);
244
245 public com.liferay.portal.model.LayoutSetBranch addLayoutSetBranch(
246 long userId, long groupId, boolean privateLayout,
247 java.lang.String name, java.lang.String description, boolean master,
248 long copyLayoutSetBranchId,
249 com.liferay.portal.service.ServiceContext serviceContext)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException;
252
253 public com.liferay.portal.model.LayoutSetBranch deleteLayoutSetBranch(
254 com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
255 boolean includeMaster)
256 throws com.liferay.portal.kernel.exception.PortalException,
257 com.liferay.portal.kernel.exception.SystemException;
258
259 public void deleteLayoutSetBranches(long groupId, boolean privateLayout)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException;
262
263 public void deleteLayoutSetBranches(long groupId, boolean privateLayout,
264 boolean includeMaster)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException;
267
268 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269 public com.liferay.portal.model.LayoutSetBranch fetchLayoutSetBranch(
270 long groupId, boolean privateLayout, java.lang.String name)
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
274 public com.liferay.portal.model.LayoutSetBranch getLayoutSetBranch(
275 long groupId, boolean privateLayout, java.lang.String name)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException;
278
279 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
280 public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranches(
281 long groupId, boolean privateLayout)
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
285 public com.liferay.portal.model.LayoutSetBranch getMasterLayoutSetBranch(
286 long groupId, boolean privateLayout)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException;
289
290
294 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
295 public com.liferay.portal.model.LayoutSetBranch getUserLayoutSetBranch(
296 long userId, long groupId, boolean privateLayout, long layoutSetBranchId)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException;
299
300 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
301 public com.liferay.portal.model.LayoutSetBranch getUserLayoutSetBranch(
302 long userId, long groupId, boolean privateLayout, long layoutSetId,
303 long layoutSetBranchId)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException;
306
307 public com.liferay.portal.model.LayoutSetBranch mergeLayoutSetBranch(
308 long layoutSetBranchId, long mergeLayoutSetBranchId,
309 com.liferay.portal.service.ServiceContext serviceContext)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException;
312
313 public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
314 long layoutSetBranchId, java.lang.String name,
315 java.lang.String description,
316 com.liferay.portal.service.ServiceContext serviceContext)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException;
319 }