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
224 public java.lang.String getBeanIdentifier();
225
226
231 public void setBeanIdentifier(java.lang.String beanIdentifier);
232
233 public com.liferay.portal.model.LayoutSetBranch addLayoutSetBranch(
234 long userId, long groupId, boolean privateLayout,
235 java.lang.String name, java.lang.String description, boolean master,
236 long copyLayoutSetBranchId,
237 com.liferay.portal.service.ServiceContext serviceContext)
238 throws com.liferay.portal.kernel.exception.PortalException,
239 com.liferay.portal.kernel.exception.SystemException;
240
241 public com.liferay.portal.model.LayoutSetBranch deleteLayoutSetBranch(
242 com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
243 boolean includeMaster)
244 throws com.liferay.portal.kernel.exception.PortalException,
245 com.liferay.portal.kernel.exception.SystemException;
246
247 public void deleteLayoutSetBranches(long groupId, boolean privateLayout)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException;
250
251 public void deleteLayoutSetBranches(long groupId, boolean privateLayout,
252 boolean includeMaster)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException;
255
256 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257 public com.liferay.portal.model.LayoutSetBranch getLayoutSetBranch(
258 long groupId, boolean privateLayout, java.lang.String name)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException;
261
262 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
263 public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranches(
264 long groupId, boolean privateLayout)
265 throws com.liferay.portal.kernel.exception.SystemException;
266
267 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
268 public com.liferay.portal.model.LayoutSetBranch getMasterLayoutSetBranch(
269 long groupId, boolean privateLayout)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException;
272
273
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public com.liferay.portal.model.LayoutSetBranch getUserLayoutSetBranch(
279 long userId, long groupId, boolean privateLayout, long layoutSetBranchId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException;
282
283 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
284 public com.liferay.portal.model.LayoutSetBranch getUserLayoutSetBranch(
285 long userId, long groupId, boolean privateLayout, long layoutSetId,
286 long layoutSetBranchId)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException;
289
290 public com.liferay.portal.model.LayoutSetBranch mergeLayoutSetBranch(
291 long layoutSetBranchId, long mergeLayoutSetBranchId,
292 com.liferay.portal.service.ServiceContext serviceContext)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException;
295
296 public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
297 long layoutSetBranchId, java.lang.String name,
298 java.lang.String description,
299 com.liferay.portal.service.ServiceContext serviceContext)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException;
302 }