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.Transactional;
022 import com.liferay.portal.security.ac.AccessControlled;
023
024
035 @AccessControlled
036 @JSONWebService
037 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
038 PortalException.class, SystemException.class})
039 public interface LayoutSetService extends BaseService {
040
045
046
051 public java.lang.String getBeanIdentifier();
052
053
058 public void setBeanIdentifier(java.lang.String beanIdentifier);
059
060
080 public void updateLayoutSetPrototypeLinkEnabled(long groupId,
081 boolean privateLayout, boolean layoutSetPrototypeLinkEnabled,
082 java.lang.String layoutSetPrototypeUuid)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException;
085
086 public void updateLogo(long groupId, boolean privateLayout, boolean logo,
087 byte[] bytes)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException;
090
091 public void updateLogo(long groupId, boolean privateLayout, boolean logo,
092 java.io.File file)
093 throws com.liferay.portal.kernel.exception.PortalException,
094 com.liferay.portal.kernel.exception.SystemException;
095
096 public void updateLogo(long groupId, boolean privateLayout, boolean logo,
097 java.io.InputStream inputStream)
098 throws com.liferay.portal.kernel.exception.PortalException,
099 com.liferay.portal.kernel.exception.SystemException;
100
101 public void updateLogo(long groupId, boolean privateLayout, boolean logo,
102 java.io.InputStream inputStream, boolean cleanUpStream)
103 throws com.liferay.portal.kernel.exception.PortalException,
104 com.liferay.portal.kernel.exception.SystemException;
105
106 public com.liferay.portal.model.LayoutSet updateLookAndFeel(long groupId,
107 boolean privateLayout, java.lang.String themeId,
108 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
109 throws com.liferay.portal.kernel.exception.PortalException,
110 com.liferay.portal.kernel.exception.SystemException;
111
112 public com.liferay.portal.model.LayoutSet updateSettings(long groupId,
113 boolean privateLayout, java.lang.String settings)
114 throws com.liferay.portal.kernel.exception.PortalException,
115 com.liferay.portal.kernel.exception.SystemException;
116
117 public com.liferay.portal.model.LayoutSet updateVirtualHost(long groupId,
118 boolean privateLayout, java.lang.String virtualHost)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException;
121 }