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.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Propagation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023
024
037 @JSONWebService
038 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
039 PortalException.class, SystemException.class})
040 public interface LayoutPrototypeService extends BaseService {
041
046
047
052 public java.lang.String getBeanIdentifier();
053
054
059 public void setBeanIdentifier(java.lang.String beanIdentifier);
060
061 public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
062 java.util.Map<java.util.Locale, java.lang.String> nameMap,
063 java.lang.String description, boolean active)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException;
066
067 public void deleteLayoutPrototype(long layoutPrototypeId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException;
070
071 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
072 public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
073 long layoutPrototypeId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException;
076
077 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
078 public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
079 long companyId, java.lang.Boolean active,
080 com.liferay.portal.kernel.util.OrderByComparator obc)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException;
083
084 public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
085 long layoutPrototypeId,
086 java.util.Map<java.util.Locale, java.lang.String> nameMap,
087 java.lang.String description, boolean active)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException;
090 }