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 getLayoutSetBranch(
270 long groupId, boolean privateLayout, java.lang.String name)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException;
273
274 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
275 public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranches(
276 long groupId, boolean privateLayout)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
280 public com.liferay.portal.model.LayoutSetBranch getMasterLayoutSetBranch(
281 long groupId, boolean privateLayout)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException;
284
285
289 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
290 public com.liferay.portal.model.LayoutSetBranch getUserLayoutSetBranch(
291 long userId, long groupId, boolean privateLayout, long layoutSetBranchId)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException;
294
295 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
296 public com.liferay.portal.model.LayoutSetBranch getUserLayoutSetBranch(
297 long userId, long groupId, boolean privateLayout, long layoutSetId,
298 long layoutSetBranchId)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException;
301
302 public com.liferay.portal.model.LayoutSetBranch mergeLayoutSetBranch(
303 long layoutSetBranchId, long mergeLayoutSetBranchId,
304 com.liferay.portal.service.ServiceContext serviceContext)
305 throws com.liferay.portal.kernel.exception.PortalException,
306 com.liferay.portal.kernel.exception.SystemException;
307
308 public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
309 long layoutSetBranchId, java.lang.String name,
310 java.lang.String description,
311 com.liferay.portal.service.ServiceContext serviceContext)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException;
314 }