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.security.access.control.AccessControlled;
023 import com.liferay.portal.kernel.transaction.Isolation;
024 import com.liferay.portal.kernel.transaction.Propagation;
025 import com.liferay.portal.kernel.transaction.Transactional;
026
027
038 @AccessControlled
039 @JSONWebService
040 @ProviderType
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface LayoutPrototypeService extends BaseService {
044
049
050
054 @java.lang.Deprecated
055 public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
056 java.util.Map<java.util.Locale, java.lang.String> nameMap,
057 java.lang.String description, boolean active,
058 com.liferay.portal.service.ServiceContext serviceContext)
059 throws PortalException;
060
061 public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
062 java.util.Map<java.util.Locale, java.lang.String> nameMap,
063 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
064 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
065 throws PortalException;
066
067 public void deleteLayoutPrototype(long layoutPrototypeId)
068 throws PortalException;
069
070 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
071 public com.liferay.portal.model.LayoutPrototype fetchLayoutPrototype(
072 long layoutPrototypeId) throws PortalException;
073
074 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
075 public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
076 long layoutPrototypeId) throws PortalException;
077
078
083 public java.lang.String getOSGiServiceIdentifier();
084
085 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
086 public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
087 long companyId, java.lang.Boolean active,
088 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutPrototype> obc)
089 throws PortalException;
090
091
095 @java.lang.Deprecated
096 public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
097 long layoutPrototypeId,
098 java.util.Map<java.util.Locale, java.lang.String> nameMap,
099 java.lang.String description, boolean active,
100 com.liferay.portal.service.ServiceContext serviceContext)
101 throws PortalException;
102
103 public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
104 long layoutPrototypeId,
105 java.util.Map<java.util.Locale, java.lang.String> nameMap,
106 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
107 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
108 throws PortalException;
109 }