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 @AccessControlled
039 @JSONWebService
040 @ProviderType
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface LayoutSetPrototypeService extends BaseService {
044
049
050
054 @java.lang.Deprecated
055 public com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
056 java.util.Map<java.util.Locale, java.lang.String> nameMap,
057 java.lang.String description, boolean active,
058 boolean layoutsUpdateable,
059 com.liferay.portal.service.ServiceContext serviceContext)
060 throws com.liferay.portal.kernel.exception.PortalException;
061
062 public com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
063 java.util.Map<java.util.Locale, java.lang.String> nameMap,
064 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
065 boolean active, boolean layoutsUpdateable,
066 com.liferay.portal.service.ServiceContext serviceContext)
067 throws com.liferay.portal.kernel.exception.PortalException;
068
069 public void deleteLayoutSetPrototype(long layoutSetPrototypeId)
070 throws com.liferay.portal.kernel.exception.PortalException;
071
072
077 public java.lang.String getBeanIdentifier();
078
079 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
080 public com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
081 long layoutSetPrototypeId)
082 throws com.liferay.portal.kernel.exception.PortalException;
083
084 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
085 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
086 long companyId, java.lang.Boolean active,
087 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> obc)
088 throws com.liferay.portal.kernel.exception.PortalException;
089
090
095 public void setBeanIdentifier(java.lang.String beanIdentifier);
096
097
102 @java.lang.Deprecated
103 public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
104 long layoutSetPrototypeId,
105 java.util.Map<java.util.Locale, java.lang.String> nameMap,
106 java.lang.String description, boolean active,
107 boolean layoutsUpdateable,
108 com.liferay.portal.service.ServiceContext serviceContext)
109 throws com.liferay.portal.kernel.exception.PortalException;
110
111 public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
112 long layoutSetPrototypeId,
113 java.util.Map<java.util.Locale, java.lang.String> nameMap,
114 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
115 boolean active, boolean layoutsUpdateable,
116 com.liferay.portal.service.ServiceContext serviceContext)
117 throws com.liferay.portal.kernel.exception.PortalException;
118
119 public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
120 long layoutSetPrototypeId, java.lang.String settings)
121 throws com.liferay.portal.kernel.exception.PortalException;
122 }