001
014
015 package com.liferay.portal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.security.ac.AccessControlled;
026
027
038 @ProviderType
039 @AccessControlled
040 @JSONWebService
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface LayoutSetPrototypeService extends BaseService {
044
049
050
055 public java.lang.String getBeanIdentifier();
056
057
062 public void setBeanIdentifier(java.lang.String beanIdentifier);
063
064 public com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
065 java.util.Map<java.util.Locale, java.lang.String> nameMap,
066 java.lang.String description, boolean active,
067 boolean layoutsUpdateable,
068 com.liferay.portal.service.ServiceContext serviceContext)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException;
071
072 public void deleteLayoutSetPrototype(long layoutSetPrototypeId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException;
075
076 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
077 public com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
078 long layoutSetPrototypeId)
079 throws com.liferay.portal.kernel.exception.PortalException,
080 com.liferay.portal.kernel.exception.SystemException;
081
082 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
083 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
084 long companyId, java.lang.Boolean active,
085 com.liferay.portal.kernel.util.OrderByComparator obc)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException;
088
089 public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
090 long layoutSetPrototypeId,
091 java.util.Map<java.util.Locale, java.lang.String> nameMap,
092 java.lang.String description, boolean active,
093 boolean layoutsUpdateable,
094 com.liferay.portal.service.ServiceContext serviceContext)
095 throws com.liferay.portal.kernel.exception.PortalException,
096 com.liferay.portal.kernel.exception.SystemException;
097
098 public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
099 long layoutSetPrototypeId, java.lang.String settings)
100 throws com.liferay.portal.kernel.exception.PortalException,
101 com.liferay.portal.kernel.exception.SystemException;
102 }